joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001108c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov r13, qword [0x1400354c8]
xor ebx, ebx
mov r15, r9
mov r12d, r8d
mov edi, edx
cmp dword [rsp + 0xa0], ebx
jne 0x1400110c9
lea eax, [rbx + 1]
jmp 0x1400111b8
mov rsi, rbx
cmp edi, 0xfde9
je 0x1400110e6
cmp edi, 0xd698
lea rsi, [rsp + 0x80]
cmove rsi, rbx
mov r9d, dword [rsp + 0xa0]
mov r8, r15
mov qword [rsp + 0x38], rsi
mov edx, r12d
mov qword [rsp + 0x30], rbx
mov ecx, edi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
jne 0x140011122
xor eax, eax
jmp 0x1400111b8
lea edx, [rax + 1]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001114f
lea ecx, [rax + 8]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14001111b
mov r9d, dword [rsp + 0xa0]
mov r8, r15
mov qword [rsp + 0x38], rsi
mov edx, r12d
and qword [rsp + 0x30], 0
mov ecx, edi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400111a7
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140011f20
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
cmp dword [0x1400363ac], 0
je 0x140011f6a
cmp dword [0x140036164], 0
je 0x140011f44
mov ecx, 0x50200104
add rsp, 0x28
jmp fcn.14001ff78
mov r9d, dword [0x1400360dc]
mov edx, 0xb1
mov r8d, dword [0x1400360d8]
mov rcx, qword [0x1400365c8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add rsp, 0x28
ret
Function at 0x14001ead0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov ebp, edx
mov rbx, rcx
mov rdx, rcx
mov edi, 1
lea rcx, [0x14002b8c0]
call fcn.14001fbc4
xor r14d, r14d
test eax, eax
jne 0x14001eb25
add rbx, 6
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14001eb15
cmp ax, 9
jne 0x14001eb1b
add rbx, 2
jmp 0x14001eb06
mov edi, r14d
mov esi, 2
jmp 0x14001eb57
mov rdx, rbx
lea rcx, [0x14002b8c8]
call fcn.14001fbc4
test eax, eax
jne 0x14001ebc8
add rbx, 4
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14001eb4f
cmp ax, 9
jne 0x14001eb55
add rbx, 2
jmp 0x14001eb40
mov esi, edi
test ax, ax
je 0x14001ebc8
mov rcx, qword [0x140036138]
mov edx, ebp
call qword [sym.imp.USER32.dll_ShowWindow]
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov rcx, rbx
call fcn.140012c24
add rax, 2
test edi, edi
jne 0x14001ec29
movzx ecx, word [rax]
test cx, cx
je 0x14001ebb2
cmp cx, 0x20
je 0x14001eba3
cmp cx, 9
jne 0x14001ebac
add rax, 2
movzx ecx, word [rax]
jmp 0x14001eb97
cmp cx, 0x22
je 0x14001ebde
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001ebc8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, [rax + 2]
mov eax, r14d
lea r9, [0x1400357d0]
jmp 0x14001ec0d
cmp cx, 0x22
je 0x14001ec15
lea r8d, [rax + 1]
cmp r8d, 0x100
jae 0x14001ec15
mov word [r9 + rax*2], cx
add rdx, 2
mov eax, r8d
movzx ecx, word [rdx]
test cx, cx
jne 0x14001ebee
add rax, rax
cmp rax, 0x200
jae 0x14001ed12
mov word [rax + r9], r14w
mov rbx, qword [rsp + 0x70]
mov r8d, 3
mov qword [rsp + 0x30], r14
mov rcx, rbx
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov qword [0x1400354c8], rax
cmp rax, 0xffffffffffffffff
jne 0x14001ece5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14001eca2
cmp eax, 5
je 0x14001ec99
cmp eax, 0x41
je 0x14001ec99
mov r8, qword [0x140034598]
cmp eax, 0x7b
cmovne r8, qword [0x1400345f8]
jmp 0x14001eca9
mov r8, qword [0x140034520]
jmp 0x14001eca9
mov r8, qword [0x1400345f0]
mov rdx, qword [0x1400345b8]
mov r9, rbx
mov rcx, qword [0x140036138]
mov dword [rsp + 0x20], 0x30
call fcn.14000c760
test rbx, rbx
je 0x14001ecdb
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, 1
jmp 0x14001ebca
mov edx, dword [0x1400360e0]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.1400113ac
mov rbx, qword [rsp + 0x70]
test al, al
jne 0x14001ed09
mov rcx, rbx
call fcn.140010fb0
mov ecx, esi
call fcn.140021800
jmp 0x14001ecc7
call fcn.140001b08
int3
Function at 0x14001eea8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
and dword [rsp + 0x50], 0
mov ebx, r8d
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x30], 4
test rcx, rcx
je 0x14001eeff
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x20], rax
lea r9, [r11 + 8]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001eeff
cmp dword [rsp + 0x50], 4
jne 0x14001eeff
mov ebx, dword [rsp + 0x68]
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14001ef10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x18], r8d
push rbp
mov rbp, rsp
sub rsp, 0x40
xor eax, eax
mov dword [rbp + 0x20], 1
and dword [rbp + 0x10], eax
mov rbx, rdx
and qword [rbp - 8], rax
mov dword [rbp - 0x10], eax
mov dword [rbp + 0x28], 4
test rcx, rcx
je 0x14001ef75
lea rax, [rbp + 0x28]
xor r8d, r8d
mov qword [r11 - 0x20], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001ef72
cmp dword [rbp + 0x10], 4
je 0x14001efd7
mov eax, dword [rbp - 0x10]
lea r8, [rbp - 8]
mov dword [rbp + 0x20], eax
lea rdx, str.SoftwareMicrosoftNotepad
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14001efd7
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [rbp + 0x20]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret

Function at 0x14001efec
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
movsxd rdi, dword [rsp + 0x60]
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rbx, r9
mov word [r9], bp
mov rsi, r8
lea eax, [rdi + rdi]
mov dword [rsp + 0x60], eax
test rcx, rcx
je 0x14001f04b
lea rax, [r11 + 0x28]
xor r8d, r8d
mov qword [r11 - 0x10], rax
lea r9, [r11 + 8]
mov qword [r11 - 0x18], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001f04b
cmp dword [rsp + 0x40], 1
je 0x14001f05c
mov r8, rdi
mov rdx, rsi
add r8, r8
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14001f078
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov r9d, 4
lea rax, [r11 + 0x18]
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
add rsp, 0x38
ret

Function at 0x14001f0b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor eax, eax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x14001f0e1
movsxd rdx, r9d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400202cc
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, rcx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor ecx, ecx
xor r9d, r9d
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
add rsp, 0x38
ret
Function at 0x1400224b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
lea rax, [0x140029258]
mov qword [rcx], rax
lea r9, [rsp + 0x48]
mov qword [rcx + 8], rbp
mov rdi, rcx
mov rax, qword [rdx]
xor r8d, r8d
mov qword [rcx + 0x10], rax
mov qword [rdx], rbp
xor edx, edx
mov byte [rcx + 0x18], bpl
lea rcx, [0x14002e430]
mov qword [rsp + 0x48], rbp
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14002256d
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140022583
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x140022511
lea r8, [rbx + 9]
lea rcx, [rsp + 0x40]
call fcn.14000a124
mov r11, qword [rsp + 0x40]
lea r8, [0x14002ba78]
mov edx, 9
lea rcx, [r11 + rbx*2]
call fcn.140008558
test eax, eax
js 0x140022559
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 8]
call fcn.14000a43c
mov r11, qword [rsp + 0x40]
test r11, r11
je 0x14002256d
mov rcx, r11
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022583
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022928
Capabilities:
Create directory
Get disk size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
xor ebp, ebp
test eax, eax
jne 0x140022966
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x140022a57
mov rsi, qword [rdi + 8]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], bp
jne 0x14002296e
lea r8, [rbx + 0x10]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000a124
lea rdx, [rbx + 0x10]
mov r9, rsi
mov rbx, qword [rsp + 0x60]
lea rax, str.probe.autosave
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8, str._s_s
call fcn.1400085cc
test eax, eax
js 0x140022a43
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x82
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
je 0x140022a43
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
je 0x140022a43
mov rcx, qword [0x1400365c8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
lea ecx, [rax + 1]
add rcx, rcx
cmp rcx, qword [rsp + 0x68]
jbe 0x140022a5b
test rbx, rbx
je 0x140022a57
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
xor al, al
jmp 0x140022a71
test rbx, rbx
je 0x140022a6f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140024070
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
movsxd rbx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [0x14002e430]
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov r8, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.140008484
lea r8, str.MicrosoftWindowsAppsMicrosoft.WindowsNotepad_8wekyb3d8bbwe_notepad.exe
mov rdx, rbx
mov rcx, rdi
call fcn.140008484
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400240db
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400240f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400343f0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x1e]
mov r8d, 0x26a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, 0x22
lea rcx, [rbp - 0x1e]
mov edx, 0x135
mov word [rbp - 0x20], ax
call fcn.140024070
lea r8, [0x14002bcc4]
mov edx, 0x136
lea rcx, [rbp - 0x20]
call fcn.140008484
mov r8, rbx
lea rcx, [rbp - 0x20]
mov edx, 0x136
call fcn.140008484
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov dword [rsp + 0x70], 0x68
xor ebx, ebx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
lea rcx, [rsp + 0x50]
setne bl
call fcn.140024028
mov al, bl
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400019d0
mov rbx, qword [rsp + 0x370]
add rsp, 0x360
pop rbp
ret
Function at 0x14002432c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbx, rcx
test rcx, rcx
je 0x140024393
call fcn.140024f54
test eax, eax
je 0x140024393
test dword [rbx + 0x18], 0x200
je 0x1400243ab
mov rdx, qword [rbx + 0x48]
mov r8d, 5
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
nop dword [rax + rax]
test rax, rax
je 0x140024393
mov rcx, qword [rbx + 0x10]
mov rdx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
jne 0x1400243e3
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test dword [rbx + 0x18], 0x2000
je 0x1400243ba
mov rax, qword [rbx + 0x10]
jmp 0x14002438e
mov r9d, 0x409
mov r8d, 0x604
test esi, esi
je 0x1400243d0
mov r8d, 0x605
call fcn.1400248f8
test rax, rax
je 0x140024393
mov rcx, qword [0x1400354c0]
jmp 0x14002437f
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
je 0x140024393
mov edx, 0x10
lea ecx, [rdx + 0x30]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140024393
test dword [rbx + 0x18], 0x100
je 0x14002442e
mov rcx, qword [rbx + 0x40]
mov qword [0x140036128], rcx
mov rcx, qword [0x1400354c0]
lea r9, [0x140024490]
mov qword [rax + 8], rbx
mov rdx, rbp
mov dword [rax], esi
mov r8, qword [rbx + 8]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140024478
and qword [0x140036128], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rax, rbx
jmp 0x140024395
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, dword [rcx + 0x3c]
xor r15d, r15d
mov rbp, rdx
mov rdi, rcx
mov r11d, r15d
mov ebx, dword [r12 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x24]
mov r10d, dword [rbx + 0x20]
add r14, rcx
add r10, rcx
cmp rdx, 0x10000
jae 0x14000107d
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x1400011c5
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x1400011c5
mov ecx, dword [rbx + 0x1c]
sub edx, r8d
add rcx, rdi
mov r11, qword [rcx + rdx*8]
jmp 0x1400010d7
mov esi, dword [rbx + 0x18]
mov r9d, r15d
test esi, esi
je 0x1400010da
nop word [rax + rax]
mov r8d, dword [r10]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400010b3
inc rax
test ecx, ecx
jne 0x1400010a0
test edx, edx
je 0x1400010c5
inc r9d
add r10, 4
cmp r9d, esi
jb 0x140001090
jmp 0x1400010da
mov ecx, dword [rbx + 0x1c]
mov eax, r9d
add rcx, rdi
movzx edx, word [r14 + rax*2]
mov r11d, dword [rcx + rdx*4]
add r11, rdi
cmp r11, rbx
jb 0x1400011a3
mov eax, dword [r12 + rdi + 0x8c]
add rax, rbx
cmp r11, rax
jae 0x1400011a3
mov rcx, r11
call fcn.14000a608
mov rbp, rax
test rax, rax
je 0x1400011c5
mov edx, 0x2e
mov rcx, rax
call fcn.140006b5c
mov r14, rax
mov byte [rax], r15b
mov rsi, qword gs:[0x60]
test rsi, rsi
je 0x14000116b
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
nop word [rax + rax]
mov rcx, qword [rdi + 0x50]
lea rdx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001167
mov rbx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rdi, qword [rbx]
cmp rbx, qword [rax + 0x20]
jne 0x140001140
jmp 0x14000116b
mov r15, qword [rdi + 0x20]
lea rdx, str.LoadLibraryA
mov rcx, r15
call section..text
test rax, rax
je 0x1400011c5
mov rcx, rbp
call rax
mov rcx, rbp
mov rbx, rax
call fcn.14000a680
test rbx, rbx
je 0x1400011c5
lea rdx, [r14 + 1]
mov rcx, rbx
call section..text
mov r11, rax
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
xor eax, eax
jmp 0x1400011a6
Function at 0x140001e60
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14001e018]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov edi, r8d
mov dword [rsp + 0x30], r14d
mov rsi, rdx
mov rbp, rcx
mov ebx, r14d
test rdx, rdx
je 0x140001ef8
test r8d, r8d
je 0x140001ee3
nop dword [rax + rax]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
mov qword [rsp + 0x20], r14
add rdx, rsi
lea r9, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001ef8
mov eax, dword [0x14001ffc4]
add ebx, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], r14d
mov dword [0x14001ffc4], eax
cmp eax, 0xa
je 0x140001ef1
cmp edi, ebx
ja 0x140001ea0
mov dword [0x14001ffc4], r14d
mov eax, 1
jmp 0x140001efa
mov dword [0x14001ffc4], r14d
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005ac0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002e30
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x14001e018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400011d0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
lea rdx, [0x140000000]
mov eax, ebx
nop dword [rax]
add byte [rax + rdx + 0x1ea70], 0xfa
inc rax
cmp rax, 0xd
jl 0x140002e80
movdqu xmm0, xmmword [str.VgiqgmkSgtgmkx4kk]
mov eax, 0x10
add byte [0x14001ea6c], 0xfa
movdqa xmm1, xmmword [0x14001bbc0]
add byte [0x14001ea6d], 0xfa
psubb xmm0, xmm1
add byte [0x14001ea6e], 0xfa
movdqu xmmword [str.VgiqgmkSgtgmkx4kk], xmm0
nop word [rax + rax]
add byte [rax + rdx + 0x1ea58], 0xfa
inc rax
cmp rax, 0x12
jl 0x140002ed0
mov rax, rbx
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + rdx + 0x1ea20]
psubb xmm0, xmm1
movdqu xmmword [rax + rdx + 0x1ea20], xmm0
add rax, 0x10
cmp rax, 0x30
jl 0x140002ef0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x3e8
call qword [0x14001fdc8]
mov ecx, 0x1f4
call qword [0x14001fdc8]
mov ecx, 0x7d0
call qword [0x14001fdc8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0xc]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x12c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [0x140020018], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x5c]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x10
lea rcx, [rsp + 0x28]
mov qword [0x14001ffd8], rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rcx, qword [0x140020018]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [0x140020018]
lea rdx, [0x14001bb18]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x101
lea rcx, [rsp + 0x40]
call qword [0x14001fd80]
mov rcx, qword [0x14001ffd8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rdx, qword [0x14001ffd8]
mov rcx, qword [0x140020018]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rax, qword [0x140020018]
test rax, rax
jne 0x14000301c
lea ebx, [rax - 1]
jmp 0x14000302b
cmp byte [rax], bl
je 0x14000302b
inc ebx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140003020
mov dword [0x14001fe0c], ebx
call fcn.140003080
mov rcx, qword [0x14001ea18]
mov edx, 1
call qword [0x14001fd68]
mov rcx, qword [0x14001ea18]
mov dword [0x14001fe08], eax
call qword [0x14001fd38]
call qword [0x14001fd98]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140005ac0
add rsp, 0x160
pop rbx
ret
Function at 0x14000b2e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b110