joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1f
mov byte [rsp + 0x30], 0x30
mov byte [rsp + 0x31], 0x63
mov byte [rsp + 0x32], 0xcc
mov byte [rsp + 0x33], 0xd7
mov byte [rsp + 0x34], 0x18
mov byte [rsp + 0x35], 0x4a
mov byte [rsp + 0x36], 0x85
mov byte [rsp + 0x37], 0x58
mov byte [rsp + 0x38], 3
mov byte [rsp + 0x39], 0x68
mov byte [rsp + 0x3a], 0xc1
mov byte [rsp + 0x3b], 0x83
mov byte [rsp + 0x3c], 0x19
mov byte [rsp + 0x3d], 0x4e
mov byte [rsp + 0x3e], 0x85
mov byte [rsp + 0x3f], 0x41
mov byte [rsp + 0x40], 0x1c
mov byte [rsp + 0x41], 0x7f
mov byte [rsp + 0x42], 0x85
mov byte [rsp + 0x43], 0xcb
mov byte [rsp + 0x44], 0x1e
mov byte [rsp + 0x45], 0x44
mov byte [rsp + 0x46], 0x82
mov byte [rsp + 0x47], 0x11
mov byte [rsp + 0x48], 0x51
mov byte [rsp + 0x49], 0x7e
mov byte [rsp + 0x4a], 0xc0
mov byte [rsp + 0x4b], 0xcf
mov byte [rsp + 0x4c], 0x17
mov byte [rsp + 0x4d], 2
mov byte [rsp + 0x4e], 0xe9
mov eax, 0x474
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14003a63d
mov eax, 0x474
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x474
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x158
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004860
lea rcx, [0x1400467d0]
call fcn.140011f90
nop
mov eax, 0x158
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140011e50
add rsp, 0x68
ret
Function at 0x14003f4f0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x210
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov edx, 0x104
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.14003f2d0
mov rcx, rax
call fcn.140004d40
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140007070
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x21]
call fcn.14003f3f0
mov rcx, rax
call fcn.140004d60
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140007070
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.14000d6d0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14000d620
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140006e90
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400402a0
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x68]
call fcn.140006f90
nop
lea rcx, [rsp + 0x88]
call fcn.140006f90
nop
lea rcx, [rsp + 0xa8]
call fcn.140006f90
nop
lea rcx, [rsp + 0xc8]
call fcn.140006f90
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140011e50
add rsp, 0x210
pop rdi
ret

Function at 0x1400402a0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140041d10
mov dword [rsp + 0x70], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140041d10
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140040374
cmp dword [rsp + 0x100], 0
je 0x14004034e
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
add rsp, 0xe8
ret

Function at 0x140040390
Capabilities:
Open clipboard

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400403b6
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400403bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x140040a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0x10
mov byte [rsp + 0x30], 0x67
mov byte [rsp + 0x31], 0x97
mov byte [rsp + 0x32], 0x2c
mov byte [rsp + 0x33], 0xbc
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x66
mov byte [rsp + 0x36], 0x3c
mov byte [rsp + 0x37], 0x6d
mov byte [rsp + 0x38], 0x5e
mov byte [rsp + 0x39], 0x9a
mov byte [rsp + 0x3a], 0x6d
mov byte [rsp + 0x3b], 0x92
mov byte [rsp + 0x3c], 0x20
mov byte [rsp + 0x3d], 0x42
mov byte [rsp + 0x3e], 0x2d
mov byte [rsp + 0x3f], 9
mov eax, 0x244
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140040b62
mov eax, 0x244
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x244
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x4f8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004790
lea rcx, [0x1400456f0]
call fcn.140011f90
nop
mov eax, 0x4f8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140011e50
add rsp, 0x58
ret

Function at 0x140040c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1d
mov byte [rsp + 0x30], 0x21
mov byte [rsp + 0x31], 0x49
mov byte [rsp + 0x32], 0xb5
mov byte [rsp + 0x33], 0xf6
mov byte [rsp + 0x34], 0x95
mov byte [rsp + 0x35], 0x16
mov byte [rsp + 0x36], 0x93
mov byte [rsp + 0x37], 0x64
mov byte [rsp + 0x38], 0x53
mov byte [rsp + 0x39], 0x2c
mov byte [rsp + 0x3a], 0xa6
mov byte [rsp + 0x3b], 0xd9
mov byte [rsp + 0x3c], 0x8c
mov byte [rsp + 0x3d], 0x17
mov byte [rsp + 0x3e], 0xd6
mov byte [rsp + 0x3f], 0x46
mov byte [rsp + 0x40], 0x23
mov byte [rsp + 0x41], 0x28
mov byte [rsp + 0x42], 0x8d
mov byte [rsp + 0x43], 0xe6
mov byte [rsp + 0x44], 0x84
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0x93
mov byte [rsp + 0x47], 0x64
mov byte [rsp + 0x48], 0x66
mov byte [rsp + 0x49], 0xd
mov byte [rsp + 0x4a], 0x88
mov byte [rsp + 0x4b], 0xee
mov byte [rsp + 0x4c], 0xe5
mov eax, 0x2dc
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140040dc3
mov eax, 0x2dc
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x2dc
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x320
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400065b0
lea rcx, [0x140045750]
call fcn.140011f90
nop
mov eax, 0x320
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140011e50
add rsp, 0x68
ret
Function at 0x140041120
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.140006e90
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.140006e90
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x38]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x50]
call fcn.140006f90
mov rcx, qword [rsp + 0x58]
call fcn.140006f90
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1400411f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x70]
call fcn.140007180
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x14004130e
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
je 0x140041303
mov eax, dword [rsp + 0x40]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140011eb4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400412ef
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x58], eax
jne 0x1400412ef
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140006f60
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140011e70
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.140006fc0
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x70]
call fcn.140006f90
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140011e50
add rsp, 0xa8
ret
Function at 0x1400078b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rbp, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp]
imul eax, eax, 0x2710
movzx ecx, word [rbp + 2]
imul ecx, ecx, 0x64
add ecx, eax
movzx ebx, word [rbp + 6]
add ebx, ecx
cmp ebx, dword [rsi + 0x24]
jne 0x140007919
mov eax, dword [rsi + 0x20]
cmp eax, 0xffffffff
je 0x140007919
mov ebp, 3
cmp dword [rsi + 0x28], eax
jge 0x1400079e8
mov rax, qword [rsp + 0xb0]
lea rcx, [rsp + 0x3c]
mov dword [rcx], 0
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r15
mov r8, r14
xor r9d, r9d
call fcn.140007a90
test al, al
je 0x140007957
cmp dword [rsi + 0x24], ebx
jne 0x14000796b
mov eax, dword [rsi + 0x28]
inc eax
jmp 0x140007973
mov eax, 0xfffffe70
add eax, dword [rsp + 0x3c]
xor ebp, ebp
cmp eax, 0x64
setb bpl
jmp 0x1400079e8
mov dword [rsi + 0x24], ebx
mov eax, 1
mov dword [rsi + 0x28], eax
cmp qword [rsi + 0x10], 0
je 0x1400079e3
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x14000798a
mov rdx, qword [rsi]
lea r8, [0x140031bdc]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
jne 0x1400079e3
mov r9, qword [rsp + 0x40]
lea rcx, str.GBP1_n
mov edx, 5
mov r8d, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r8d, dword [rsi + 0x24]
mov rcx, qword [rsp + 0x40]
call fcn.1400068d0
mov r8d, dword [rsi + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1400068d0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebp, 2
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021770
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000b120
Capabilities:
Delete file
Query environment variable

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, str.MOZ_CRASHREPORTER_NO_DELETE_DUMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000b14f
cmp byte [rax], 0
jne 0x14000b262
cmp qword [0x140036368], 0
je 0x14000b1ac
lea rdx, [0x140036358]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14001a040
cmp qword [rsi + 0x18], 8
jb 0x14000b179
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14000b1ac
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14000b276
call fcn.14002070c
cmp qword [0x140036388], 0
je 0x14000b209
lea rdx, [0x140036378]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14001a040
cmp qword [rsi + 0x18], 8
jb 0x14000b1d6
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14000b209
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14000b299
call fcn.14002070c
cmp qword [0x1400363a8], 0
je 0x14000b262
lea rdx, [0x140036398]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14001a040
cmp qword [rsi + 0x18], 8
jb 0x14000b233
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14000b262
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14000b2bc
call fcn.14002070c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021770
nop
add rsp, 0x50
pop rsi
ret
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000b2dc
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14000b1a7
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000b2dc
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14000b204
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000b2dc
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14000b25d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400164f0
Capabilities:
Create directory

Disassembly:
push rsi
sub rsp, 0x50
mov rdx, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14001a040
cmp qword [rsi + 0x18], 8
jb 0x140016520
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x140016553
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140016580
call fcn.14002070c
test esi, esi
jne 0x140016564
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001657c
mov sil, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021770
mov eax, esi
add rsp, 0x50
pop rsi
ret
xor esi, esi
jmp 0x140016567
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400165a0
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14001654e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001a8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
movzx edx, cx
cmp byte [0x1400364f0], 1
jne 0x14001a99b
mov r8d, 5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov ecx, 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov rcx, rax
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
or byte [rdi + 0xa], 0x40
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, rdi
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, rdi
jmp 0x14001a9b2
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxParamW]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14001c730
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, qword [rdx + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x14001c77d
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x14001c763
mov rcx, qword [rsi]
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14001c770
mov rdx, qword [rdi]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001c815
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.14001a040
cmp qword [rbx + 0x18], 8
jb 0x14001c799
mov rbx, qword [rsp + 0x48]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14001a040
cmp qword [rdi + 0x18], 8
jb 0x14001c7b5
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, 1
sete bl
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14001c7ed
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14001c82e
call fcn.14002070c
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14001c817
mov rcx, qword [rsp + 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14001c84e
call fcn.14002070c
jmp 0x14001c817
mov bl, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140021770
mov eax, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001c86e
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14001c7e8
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001c86e
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14001c80e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001ce30
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x850
mov r15d, r9d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x848], rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbp, rax
mov rcx, rdi
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001ce8d
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x14001ceb2
mov rdx, qword [rsi]
lea r9, [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
xor r12d, r12d
test eax, eax
je 0x14001cf52
lea rbx, [rsp + 0x40]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea r9, [rsp + 0x30]
mov rcx, rbp
mov rdx, rbx
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x14001cf52
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
sub eax, ecx
js 0x14001cf52
mov ebp, dword [rsp + 0x8b0]
mov edx, dword [r14]
mov r9d, dword [r14 + 8]
add ecx, edx
mov r12d, r9d
sub r12d, ecx
test ebp, ebp
cmovne r12d, ebp
add r12d, eax
test r15b, r15b
je 0x14001cf28
sub edx, r12d
mov dword [r14], edx
jmp 0x14001cf2f
add r9d, r12d
mov dword [r14 + 8], r9d
mov r8d, dword [r14 + 4]
mov eax, dword [r14 + 0xc]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x14001cf75
mov rcx, qword [rsi]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14001cfaf
call fcn.14002070c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 7
mov word [rsi], 0
mov rcx, qword [rsp + 0x848]
xor rcx, rsp
call fcn.140021770
mov eax, r12d
add rsp, 0x850
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001cfcf
add rax, rax
add rax, 0x29
mov rdx, rax
jmp 0x14001cf70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001cfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [r8], 0
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001d039
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001d039
xor edi, edi
jmp 0x14001d08c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001d081
cmp dword [rsp + 0x44], 4
jne 0x14001d081
cmp dword [rsp + 0x34], 1
sete byte [rsi]
mov dil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021770
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret