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

Disassembly:
jmp 0x140004280
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x138
mov rdi, rsp
movabs rcx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1402e1aa8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov byte [rsp + 0x28], 0x44
mov byte [rsp + 0x29], VarCyFromDisp
mov byte [rsp + 0x2a], 0x73
mov byte [rsp + 0x2b], 0x69
mov byte [rsp + 0x2c], 0x63
mov byte [rsp + 0x2d], 0x79
mov byte [rsp + 0x2e], VarBstrFromDate
mov byte [rsp + 0x2f], 0x45
mov byte [rsp + 0x30], 0x7a
mov byte [rsp + 0x31], VarBstrFromDate
mov byte [rsp + 0x32], 0x75
mov byte [rsp + 0x33], 0x74
mov byte [rsp + 0x34], 0x6b
mov byte [rsp + 0x35], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x36], 0
mov byte [rsp + 0x54], 0x49
mov byte [rsp + 0x55], 0x59
mov byte [rsp + 0x56], 0x42
mov byte [rsp + 0x57], VarBstrFromDate
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x158]
mov ebx, dword [rax + 8]
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0xc0]
call fcn.14000102d
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xf8]
call fcn.14000102d
mov qword [rsp + 0x118], rax
mov r9d, LoadRegTypeLib
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x150]
call fcn.140001389
lea r9, [rsp + 0x74]
mov r8d, 0x40
mov rdx, rbx
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
call rax
xor r8d, r8d
mov rdx, qword [rsp + 0x158]
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumThreadWindows]
mov rcx, rsp
lea rdx, [0x1402532c0]
call fcn.14014e6c0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14014fec0
add rsp, 0x138
pop rdi
pop rbx
ret
Function at 0x140029d30
Capabilities:
Get graphical window text

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140029d86
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa0], 0
jne 0x140029d86
mov edx, 0x100
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.140067860
test eax, eax
je 0x140029d86
int3
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa0], 0
jne 0x140029db2
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140029e23
lea rcx, [rsp + 0x20]
call fcn.140011cb0
nop
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rax]
lea rdx, [rsp + 0x20]
call qword [rax + 0x128]
lea rcx, [rsp + 0x20]
call fcn.140011e50
movsxd rdx, dword [rsp + 0x60]
mov r9, 0xffffffffffffffff
mov r8, rax
mov rcx, qword [rsp + 0x58]
call fcn.140029e30
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
call fcn.140011ce0
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x14002cc40
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x68], 0
jne 0x14002cc78
mov edx, 0x62
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.140067860
test eax, eax
je 0x14002cc78
int3
cmp qword [rsp + 0x70], 0
jne 0x14002cc98
mov edx, 0x63
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.140067860
test eax, eax
je 0x14002cc98
int3
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa8], 0
je 0x14002cd69
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14002cb80
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14002ccd0
mov eax, dword [rsp + 0x78]
jmp 0x14002cdb1
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
jne 0x14002cd61
cmp dword [rsp + 0x30], 4
je 0x14002cd39
mov edx, reloc.OLEAUT32.dll_VarBstrFromDate
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.140067860
test eax, eax
je 0x14002cd39
int3
mov eax, dword [rsp + 0x40]
cmp rax, 4
je 0x14002cd5b
mov edx, reloc.OLEAUT32.dll_VarBstrFromDisp
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.140067860
test eax, eax
je 0x14002cd5b
int3
mov eax, dword [rsp + 0x48]
jmp 0x14002cdb1
mov eax, dword [rsp + 0x78]
jmp 0x14002cdb1
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xd0], 0
jne 0x14002cd90
mov edx, 0x79
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.140067860
test eax, eax
je 0x14002cd90
int3
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0xd0]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add rsp, 0x58
ret
Function at 0x14002e8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x90], 0
je 0x14002ea66
call fcn.140067fc0
mov qword [rsp + 0x38], rax
mov r8d, pe_nt_image_headers64
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002e9d2
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14002e99d
lea rcx, [0x1402e82c8]
call fcn.140001073
mov rbx, rax
mov r8d, 0x16f
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea rcx, [rsp + 0x50]
call fcn.1400011b3
lea r9, str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140011770
xor eax, eax
jmp 0x14002eb0f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002e9cd
mov edx, 0x175
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.140067860
test eax, eax
je 0x14002e9cd
int3
jmp 0x14002ea66
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14002ea03
mov edx, 0x17d
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.140067860
test eax, eax
je 0x14002ea03
int3
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0xffffffffffffffff
je 0x14002ea66
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0
je 0x14002ea56
lea rcx, [0x1402e82c8]
call fcn.140001073
mov rbx, rax
mov r8d, 0x183
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea rcx, [rsp + 0x60]
call fcn.1400011b3
lea r9, str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140011770
jmp 0x14002ea66
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x14002ea03
mov dword [rsp + 0x28], 1
cmp qword [rsp + 0x20], 0
je 0x14002eaa5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x40]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x20], 0
je 0x14002eaca
cmp qword [rsp + 0x30], 0
je 0x14002eaca
mov rcx, qword [rsp + 0x30]
call fcn.14002eb20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x98], 0
je 0x14002eb0b
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x98]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x98]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x98]
call qword [rax + 0x150]
mov eax, dword [rsp + 0x28]
add rsp, 0x70
pop rbx
ret
Function at 0x140032300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
shr rax, 0x10
test rax, rax
je 0x14003234c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.14008b3e0
test eax, eax
jne 0x14003234c
mov edx, 0x98
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.140067860
test eax, eax
je 0x14003234c
int3
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [rcx + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xb0]
shr rax, 0x10
test rax, rax
jne 0x1400323a0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xa8], 0
jne 0x1400323a0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xb0]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0xa8], ecx
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140033d60
test eax, eax
jne 0x1400323e5
xor eax, eax
test eax, eax
jne 0x1400323ce
mov edx, reloc.OLEAUT32.dll_LoadRegTypeLib
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.140067860
test eax, eax
je 0x1400323ce
int3
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x248]
xor eax, eax
jmp 0x14003244b
call fcn.140067fc0
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140032480
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400325c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call fcn.140067fc0
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140032637
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140032657
mov edx, 0xdf
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.140067860
test eax, eax
je 0x140032657
int3
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400326a0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x40]
call fcn.14002eb20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1400375e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14003761a
mov edx, 0x45d
lea rcx, [0x14025c2a0]
call fcn.140067860
test eax, eax
je 0x14003761a
int3
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0xa0], 0
jne 0x140037677
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x20], eax
mov ebx, dword [rsp + 0x20]
add ebx, 1
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.140044580
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x48]
call fcn.14001f3f0
jmp 0x14003769d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x128]
add rsp, 0x30
pop rbx
ret

Function at 0x1400406f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x68], 0
je 0x140040796
call fcn.140067fc0
mov qword [rsp + 0x38], rax
mov r8d, pe_nt_image_headers64
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140040796
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140040766
xor eax, eax
jmp 0x1400407d2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140040796
mov edx, 0x1047
lea rcx, [0x14025c2a0]
call fcn.140067860
test eax, eax
je 0x140040796
int3
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.1400407e0
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x20], 0
je 0x1400407ce
cmp qword [rsp + 0x30], 0
je 0x1400407ce
mov rcx, qword [rsp + 0x30]
call fcn.14002eb20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x28]
add rsp, 0x58
ret
Function at 0x14004b890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov r8d, 0x16d
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
mov rcx, qword [rsp + 0xa0]
call fcn.140067180
cmp qword [rsp + 0xa8], 0
jne 0x14004b8de
mov edx, 0x16e
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.140067860
test eax, eax
je 0x14004b8de
int3
call fcn.140067fc0
mov qword [rsp + 0x30], rax
mov r8d, 0xf1
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14004b915
xor eax, eax
jmp 0x14004baea
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14004b939
xor eax, eax
jmp 0x14004baea
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004b958
xor eax, eax
jmp 0x14004baea
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 1
je 0x14004b97d
mov edx, 0x17d
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.140067860
test eax, eax
je 0x14004b97d
int3
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
mov r8d, 0x17f
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.14000dcc0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x50], 0
jmp 0x14004b9d2
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x50], eax
jge 0x14004ba07
mov rcx, qword [rsp + 0x20]
call fcn.14004bb00
mov r11, rax
movsxd rax, dword [rsp + 0x50]
movzx edx, word [r11 + rax*2]
movsxd rcx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x28]
mov dword [rax + rcx*4], edx
jmp 0x14004b9c7
mov rax, qword [rsp + 0x20]
movzx r8d, word [rax + 6]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.14004bdf0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000e3e0
cmp dword [rsp + 0x38], 0
je 0x14004bad1
mov rax, qword [rsp + 0x20]
movzx r8d, word [rax + 4]
mov rax, qword [rsp + 0x20]
movzx edx, word [rax + 2]
lea rcx, [rsp + 0x58]
call fcn.1401b2de0
mov r11, qword [rsp + 0x20]
movzx r8d, word [r11 + 4]
add r8d, 7
mov rax, qword [rsp + 0x20]
movzx edx, word [rax + 2]
add edx, 7
lea rcx, [rsp + 0x60]
call fcn.1401b2de0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
call fcn.14004b4d0
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14004bb10
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x40]
call fcn.14002eb20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x38]
add rsp, 0x98
ret
Function at 0x1400a44b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x1400a44e2
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
jmp 0x1400a4555
mov r8d, 5
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400a4512
call fcn.14007dda0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400a4538
call fcn.14007dda0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a4555
call fcn.14007dda0
call fcn.140074800
cmp qword [rax + 0x68], 0
je 0x1400a4575
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400a4440
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.1400a4300
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xb8], 0
je 0x1400a45b9
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xb8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r11, qword [rsp + 0x50]
mov qword [r11 + 0xb8], 0
cmp qword [rsp + 0x20], 0
je 0x1400a45dc
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov qword [rcx + 0xb8], rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 4]
or ecx, 1
mov rax, qword [rsp + 0x58]
mov dword [rax + 4], ecx
add rsp, 0x48
ret

Function at 0x1400b2a20
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400b2a54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x30]
mov ecx, eax
call fcn.14008a9d0
add rsp, 0x28
ret

Function at 0x1400b2a60
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b2a8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x30]
mov ecx, eax
call fcn.14008a9d0
add rsp, 0x28
ret
Function at 0x1400e26a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov dword [rsp + 0x40], 0
xor edx, edx
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x70], 0
je 0x1400e26ea
mov eax, dword [rsp + 0x24]
or eax, 0x1000000
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x30]
call fcn.140011cb0
nop
mov dword [rsp + 0x28], 0x40
mov eax, dword [rsp + 0x28]
shl eax, 1
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140044580
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x28]
add r8d, 1
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14001f3f0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
je 0x1400e26fd
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.14001f1d0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x30]
call fcn.140011ce0
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x14013de60
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14013cfb0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call fcn.140029320
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x14013df14
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x14013dee0
mov ebx, dword [rsp + 0x28]
add ebx, 1
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140044580
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14013df03
mov edx, 0xff
mov rcx, qword [rsp + 0x50]
call fcn.140012210
mov r8d, 0x100
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.14001f3f0
jmp 0x14013df55
mov rcx, qword [rsp + 0x50]
call fcn.140011e50
mov r9, rax
mov r8, 0xffffffffffffffff
mov edx, 0x14d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x14013df55
mov rcx, qword [rsp + 0x50]
call fcn.140011e50
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140078db0
add rsp, 0x30
pop rbx
ret

Function at 0x140161f50
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
add rsp, 0x28
ret
Function at 0x14016b667
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402e1aa8]
jne 0x14014feda
rol rcx, 0x10
test cx, 0xffff
jne 0x14014fed6
repz ret
ror rcx, 0x10
jmp 0x14016b5c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402e93b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402e94a8]
mov qword [rsp + 0x58], r11
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 0x14016b645
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, [0x1402e93b0]
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 0x14016b667
mov rax, qword [rsp + 0x88]
mov qword [0x1402e94a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402e9448], rax
mov rax, qword [0x1402e94a8]
mov qword [0x1402e9320], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402e9430], rax
mov dword [0x1402e9310], 0xc0000409
mov dword [0x1402e9314], 1
mov rax, qword [0x1402e1aa8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402e1ab0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402e93a8], eax
mov ecx, 1
call fcn.14016cf20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14028c518]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402e93a8], 0
jne 0x14016b6ee
mov ecx, 1
call fcn.14016cf20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret