joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cd00
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x148], rax
cmp dword [rsp + 0x178], 2
jne 0x14000cd41
mov eax, 1
jmp 0x14000ce0b
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 0x16
mov rcx, qword [0x140056068]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov r8, qword [rsp + 0x168]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140002d80
mov r8, qword [rsp + 0x170]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140002350
cmp dword [rsp + 0x178], 0
jne 0x14000cdc6
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
lea rcx, [rsp + 0x30]
call fcn.1400022d0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x140], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140023060
add rsp, 0x158
ret

Function at 0x14000ce30
Capabilities:
Delete directory

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x50], 2
jne 0x14000ce51
mov eax, 1
jmp 0x14000cea2
cmp dword [rsp + 0x50], 0
jne 0x14000ce6d
mov r8, qword [rsp + 0x48]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [rsp + 0x20], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000cee0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x3c8
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
cmp dword [rsp + 0x3d8], 2
jne 0x14000cf16
mov eax, 1
jmp 0x14000d072
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x14000cf31
xor eax, eax
jmp 0x14000d072
lea r8, str.inf
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140002350
lea r9, [rsp + 0x40]
lea r8, str._soem.inf
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.1400023d0
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0xffffffffffffffff
je 0x14000cf9b
mov dword [rsp + 0x3b0], 1
jmp 0x14000cfa6
mov dword [rsp + 0x3b0], 0
mov eax, dword [rsp + 0x3b0]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000d062
lea rax, str.Apfiltr.cat
mov qword [rsp + 0x20], rax
lea r9, [0x14004280c]
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d650
lea rax, str.ApHidUpFiltr.cat
mov qword [rsp + 0x20], rax
lea r9, str.Mouse
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d650
lea rax, str.ApHidfiltr.cat
mov qword [rsp + 0x20], rax
lea r9, str.HIDClass
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d650
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x30], eax
jmp 0x14000cfb1
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.140023060
add rsp, 0x3c8
ret
Function at 0x14000d190
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x298], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140042860]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14000d1fb
mov eax, dword [rsp + 0x298]
jmp 0x14000d3dc
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14000d261
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
jmp 0x14000d3dc
mov dword [rsp + 0x54], 1
jmp 0x14000d276
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d3ca
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d361
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.TapTyping
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d361
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass4D36E96F_E325_11CE_BFC1_08002BE10318
lea r8, [0x140042910]
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.1400023d0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [rsp + 0x2c8]
ja 0x14000d361
lea r8, [rsp + 0x180]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c0]
call fcn.140002d80
mov dword [rsp + 0x298], 1
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x298], 0
je 0x14000d37b
jmp 0x14000d3ca
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x4c], eax
jmp 0x14000d26b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140023060
add rsp, 0x2b8
ret
Function at 0x14000d400
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x298], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140042920]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14000d46b
mov eax, dword [rsp + 0x298]
jmp 0x14000d627
mov dword [rsp + 0x4c], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14000d4d1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
jmp 0x14000d627
mov dword [rsp + 0x50], 1
jmp 0x14000d4e6
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x48], 0
jne 0x14000d615
lea r9, [rsp + 0x70]
lea r8, str._sAPHF
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.1400023d0
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14000d5ac
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass745a17a0_74d3_11d0_b6fe_00a0c90f57da
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.1400023d0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [rsp + 0x2c8]
ja 0x14000d5ac
lea r8, [rsp + 0x180]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c0]
call fcn.140002d80
mov dword [rsp + 0x298], 1
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x298], 0
je 0x14000d5c6
jmp 0x14000d615
mov dword [rsp + 0x4c], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x48], eax
jmp 0x14000d4db
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140023060
add rsp, 0x2b8
ret
Function at 0x14000d950
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x50]
call fcn.14000d840
mov r9d, 0x2001f
mov r8, qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x1a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.14000d8d0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14000d9cc
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x170], eax
lea rcx, [rsp + 0x50]
call fcn.14000d860
mov eax, dword [rsp + 0x170]
jmp 0x14000da90
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000da59
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000d950
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14000da4c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x174], eax
lea rcx, [rsp + 0x50]
call fcn.14000d860
mov eax, dword [rsp + 0x174]
jmp 0x14000da90
mov dword [rsp + 0x40], 0x100
jmp 0x14000d9d4
lea rcx, [rsp + 0x50]
call fcn.14000d880
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
call fcn.14000dab0
mov dword [rsp + 0x178], eax
lea rcx, [rsp + 0x50]
call fcn.14000d860
mov eax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140023060
add rsp, 0x198
ret

Function at 0x14000dab0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14000dabe
xor eax, eax
test eax, eax
jne 0x14000dabe
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add rsp, 0x28
ret
Function at 0x14001141c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x30]
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x14001151b
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test eax, eax
jne 0x1400114f2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000e7c4
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.14001141c
mov ebx, eax
test eax, eax
setne byte [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400114d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rsp + 0x20], 0
je 0x1400114e2
jmp 0x1400114f2
jmp 0x140011472
cmp ebx, 0x103
je 0x140011502
cmp ebx, 0x3f2
jne 0x140011510
mov rdx, qword [rsi]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140023060
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140012e68
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, 0x20
test rdx, 0xffffffffffff0000
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
jne 0x140012ea7
cmp dword [rcx + 0xa8], 0
jne 0x140012ea7
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140013d60
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140012e0c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015e38
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.140013db0
mov rbx, rax
mov rax, qword [rax + 0x78]
test rax, rax
je 0x140015e6f
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140015e6f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
mov rbx, qword [rbx + 0xa0]
je 0x140015e9f
test rbx, rbx
je 0x140015e9f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140015e9f
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bd44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x14001bdac
call fcn.140013d60
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14001bdac
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x14001bdce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001b7a0
test rdi, rdi
mov esi, eax
je 0x14001bdcc
test rbx, rbx
je 0x14001bdcc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14001def8
Capabilities:
Set thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov esi, 1
mov r14, r8
mov rdi, rdx
cmp dword [rdx + 0x10], esi
mov r12, rcx
mov ebp, esi
jle 0x14001df85
lea ebx, [rsi + 7]
lea r13d, [rsi + 0xf]
test r14, r14
je 0x14001df51
mov rax, qword [r12 + 0x10]
cmp qword [rax + r13 + 8], r14
je 0x14001df51
mov rax, qword [rdi + 0x18]
cmp qword [rbx + rax], 0
je 0x14001df71
xor esi, esi
jmp 0x14001df71
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x14001df68
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rdi + 0x18]
and qword [rbx + rax], 0
add ebp, 1
add r13, 0x10
add rbx, 8
cmp ebp, dword [rdi + 0x10]
jl 0x14001df31
test esi, esi
je 0x14001dfcc
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r12 + 0x18]
mov rdx, rdi
call fcn.14001da18
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r11, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r11]
mov ecx, dword [r12]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14001e488
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x120], rax
test rcx, rcx
mov rbx, rdx
mov rdi, rcx
jne 0x14001e4bd
call fcn.14000e9cc
int3
test rdx, rdx
jne 0x14001e4c8
call fcn.14000e9cc
int3
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x20], 0
mov esi, eax
call fcn.1400241d0
mov r8d, 0x100
cmp esi, r8d
ja 0x14001e519
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x14001e519
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14001e525
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140023060
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140026d17
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400544f8]
jne 0x14002307a
rol rcx, 0x10
test cx, 0xffff
jne 0x140023076
repz ret
ror rcx, 0x10
jmp 0x140026c70
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140059c00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140059cf8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140026cf5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140059c00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140026d17
mov rax, qword [rsp + 0x88]
mov qword [0x140059cf8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140059c98], rax
mov rax, qword [0x140059cf8]
mov qword [0x140059b70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140059c80], rax
mov dword [0x140059b60], 0xc0000409
mov dword [0x140059b64], 1
mov rax, qword [0x1400544f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140054500]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140059bf8], eax
mov ecx, 1
call fcn.1400326b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140045f58]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140059bf8], 0
jne 0x140026d9e
mov ecx, 1
call fcn.1400326b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140026e70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14005a0d0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140028000
test rax, rax
je 0x140026ec4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140026f59
mov ecx, 2
call fcn.1400326b0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400241d0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140026f45
test ebx, ebx
jne 0x140026f45
lea ecx, [rax + 2]
call fcn.1400326b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002a230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140054dd0]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14002a26e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x14002a250
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x14002a455
mov ecx, 3
call fcn.1400346a0
cmp eax, 1
je 0x14002a40c
mov ecx, 3
call fcn.1400346a0
test eax, eax
jne 0x14002a2a5
cmp dword [0x140054540], 1
je 0x14002a40c
cmp edi, 0xfc
je 0x14002a455
mov qword [rsp + 0x50], rbp
lea rbp, [0x14005a130]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140025940
test eax, eax
je 0x14002a2e9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140026dd0
lea rdx, [0x14005a149]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14005a24d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14002a339
lea r8, str._program_name_unknown_
lea rcx, [0x14005a149]
mov edx, 0x2fb
call fcn.140025940
test eax, eax
je 0x14002a339
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140026dd0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14005a149]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x14002a388
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14005a444]
lea r9d, [rax + 3]
lea r8, [0x140046664]
sub rdx, rcx
call fcn.140026420
test eax, eax
je 0x14002a388
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140026dd0
lea r8, [0x140046660]
mov edx, 0x314
mov rcx, rbp
call fcn.140025af0
test eax, eax
je 0x14002a3b4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140026dd0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140025af0
test eax, eax
je 0x14002a3e4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140026dd0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140034440
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x14002a455
cmp rax, 0xffffffffffffffff
je 0x14002a455
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret