joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800238a8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r8
lea rcx, [0x180257091]
mov esi, edx
call fcn.1801a31d0
mov r8d, eax
lea rdx, [0x180257091]
mov rcx, rbx
call fcn.1800034f0
cmp qword [rdi + 0xc8], 0
mov edx, esi
jne 0x180023986
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x18002399e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
movsxd rdi, eax
test eax, eax
js 0x1800239b4
mov rcx, qword [rbx]
mov r8d, 1
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x180023938
mov edx, edi
mov rcx, rbx
call fcn.18000348c
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1800239b4
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov byte [rdi + rax], 0
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x180023963
xor eax, eax
jmp 0x180023970
movsxd rdx, dword [rcx - 0xc]
call fcn.1801a6a08
test eax, eax
js 0x1800239b4
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1800239b4
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
jmp 0x18002399e
mov rcx, rdi
call fcn.180029b64
test rax, rax
je 0x18002399e
mov rdx, rbx
mov rcx, rax
call fcn.180023e38
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.180002820
int3

Function at 0x180023e38
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0xd0]
test rcx, rcx
jne 0x180023ee2
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
movsxd rdi, eax
test eax, eax
js 0x180023f02
mov rcx, qword [rbx]
mov r8d, 1
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x180023e93
mov edx, edi
mov rcx, rbx
call fcn.18000348c
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x180023f02
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov byte [rdi + rax], 0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x180023ebf
xor eax, eax
jmp 0x180023ecc
movsxd rdx, dword [rcx - 0xc]
call fcn.1801a6a08
test eax, eax
js 0x180023f02
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x180023f02
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
jmp 0x180023ef2
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x18003dda2.0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.180002820
int3
Function at 0x1800244a4
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 r14
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x18002455d
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x18002455d
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18002455d
test rdi, rdi
je 0x18002455d
xor r14d, r14d
xor esi, esi
call fcn.180018994
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x18002453d
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002455d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.18002e4a4
mov edi, eax
test eax, eax
je 0x180024559
mov rcx, rbx
call fcn.18002416c
mov eax, edi
jmp 0x18002455f
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800254dc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.18002a570
mov rdi, rax
test rax, rax
je 0x180025558
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x180025553
cmp dword [rbx], 0x40
jb 0x180025553
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x180025553
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x18002555c
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180029c68
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x180029ca2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x180029d46
call fcn.180016e48
mov rcx, rax
test rax, rax
je 0x180029d61
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x18003dda2.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x18003dda2.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1801a6ec4
test eax, eax
je 0x180029d0a
cmp eax, 0xc
je 0x180029d5b
cmp eax, 0x50
jne 0x180029d6c
test rbx, rbx
jne 0x180029d13
mov ebx, ebp
jmp 0x180029d1e
mov rcx, rbx
call fcn.1801a31d0
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x180029d44
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x18003dda2.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.180016658
nop
mov ecx, 0x80004005
call fcn.180002820
nop
call fcn.180016634
int3

Function at 0x18002a234
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x18028b680]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x18002a2f2
test rdx, rdx
je 0x18002a2f2
mov rcx, rdx
call fcn.1801a31d0
xor edx, edx
mov byte [rsp + 0x20], 0
mov r8d, 0xff
lea rcx, [rsp + 0x21]
mov rsi, rax
call fcn.1801ddb00
mov r8d, 0x100
cmp rsi, r8
ja 0x18002a2c1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x18002a2c1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x18002a2cd
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180196050
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.180016634
int3
Function at 0x18002a70c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18002a732
mov r8, rdx
mov rdx, qword [rbx]
call fcn.180019fd8
jmp 0x18002a79e
cmp byte [0x180294ab0], 0
jne 0x18002a776
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18002a766
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180294aa8], rax
jmp 0x18002a76d
mov rax, qword [0x180294aa8]
mov byte [0x180294ab0], 1
jmp 0x18002a77d
mov rax, qword [0x180294aa8]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x18002a797
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x18003dda2.0]
jmp 0x18002a79e
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x18002b3b4
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x90
mov rax, qword [0x18028b680]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.18002b360
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x18002b449
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.18002b504
cmp eax, 1
je 0x18002b4c2
mov ecx, dword [rsp + 0xd8]
or r8d, 0xffffffff
xor edx, edx
call fcn.18001a7e8
mov rcx, rdi
call fcn.18002b304
jmp 0x18002b4c2
call fcn.18019c69c
mov ebx, dword [rax]
call fcn.18019c69c
and dword [rax], 0
call fcn.180003e54
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1801a6310
call fcn.18019c69c
cmp dword [rax], 0
je 0x18002b4ae
call fcn.18019c69c
cmp dword [rax], 0
je 0x18002b4b5
cmp dword [rax], 0xc
je 0x18002b4f6
cmp dword [rax], 0x16
je 0x18002b4eb
cmp dword [rax], 0x22
je 0x18002b4eb
cmp dword [rax], 0x50
jne 0x18002b4e0
jmp 0x18002b4b5
call fcn.18019c69c
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18002a234
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180196050
add rsp, 0x90
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.180002820
int3
mov ecx, 0x80070057
call fcn.180002820
int3
mov ecx, 0x8007000e
call fcn.180002820
int3
Function at 0x18002f5e4
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 r14
sub rsp, 0x20
mov rbx, qword [rcx + 0x100]
xor r14d, r14d
mov rdi, rcx
mov rsi, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x18002f64b
call fcn.180018994
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x18002f64b
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x18002f65c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x18002f6a1
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x18002f680
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x18002f68b
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x18002f69e
test r8w, r8w
jne 0x18002f69e
test dx, dx
je 0x18002f6a1
mov eax, r14d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18002f6bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x18002f703
cmp dword [rcx + 0xe8], 0
jne 0x18002f703
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.180018994
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x18002f747
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002f747
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.18002fa78
jmp 0x18002f749
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18002f6c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x18002f703
cmp dword [rcx + 0xe8], 0
jne 0x18002f703
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.180018994
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x18002f747
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002f747
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.18002fa78
jmp 0x18002f749
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002f760
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
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.180018994
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x18002f7ca
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002f7ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.18002f7e4
jmp 0x18002f7cc
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002fbe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
mov r12, qword [rcx + 0x100]
mov rdi, qword [rcx + 0xf8]
call fcn.180018994
mov r13, qword [rax + 0x18]
cmp qword [rbx + 0xf0], 0
je 0x18002fc4b
call fcn.180018994
mov r13, qword [rax + 0x18]
mov r8d, 5
mov rdx, qword [rbx + 0xf0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x18002fc61
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rdi, rdi
je 0x18002fc5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test r12, r12
jne 0x18002fc6a
or rax, 0xffffffffffffffff
jmp 0x18002fe23
mov rcx, rbx
call fcn.180030344
mov rdi, rax
mov qword [rsp + 0x20], rax
call fcn.180021d70
xor r14d, r14d
mov dword [rsp + 0x78], r14d
xor esi, esi
mov qword [rsp + 0x88], rsi
xor r15d, r15d
mov dword [rsp + 0x80], r15d
test rdi, rdi
je 0x18002fd4b
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x18002fd4b
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x18002fd4b
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
lea r14d, [rsi + 1]
mov dword [rsp + 0x78], r14d
call fcn.180018e7c
mov rdx, rax
test rax, rax
je 0x18002fd43
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x18003dda2.0]
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x18002fd4b
mov rax, qword [rax]
mov rcx, rsi
mov rax, qword [rax + 0x2a0]
call qword [case.0x18003dda2.0]
test eax, eax
je 0x18002fd4b
mov rcx, rsi
call fcn.180029dc4
test eax, eax
je 0x18002fd4b
xor edx, edx
mov rcx, rsi
call fcn.180029af4
mov r15d, r14d
mov dword [rsp + 0x80], r14d
jmp 0x18002fd4b
mov qword [rsp + 0x88], rsi
mov rcx, rbx
call fcn.1800218cc
mov rcx, rdi
call fcn.180023720
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.18002fb68
test eax, eax
jne 0x18002fd9a
cmp dword [rbx + 0x120], eax
jne 0x18002fd9a
call fcn.180018994
mov r13, qword [rax + 0x10]
mov rcx, rdi
call fcn.180023720
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.18002fb68
and dword [rbx + 0x120], 0
jmp 0x18002fdc2
test r15d, r15d
je 0x18002fdd4
mov edx, 1
mov rcx, rsi
call fcn.180029af4
test r14d, r14d
je 0x18002fde7
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
test rdi, rdi
je 0x18002fe01
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [rbx + 0x40]
jne 0x18002fe01
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xc0]
call qword [case.0x18003dda2.0]
mov rcx, rbx
call fcn.1800302e4
movsxd rax, dword [rbx + 0xb8]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800323dc
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 byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x180032453
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x180032423
call fcn.18001f460
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x18003243d
call fcn.18001f460
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x180032453
call fcn.18001f460
call fcn.180018994
cmp qword [rax + 0x68], 0
je 0x18003246d
mov rdx, rbx
mov rcx, rbp
call fcn.18003189c
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.1800326dc
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x180032494
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1800324a3
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800324d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.18002669c
xor ebp, ebp
test eax, eax
jne 0x18003257e
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetPropA]
mov rsi, rax
test rax, rax
je 0x1800325a1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800325a1
cmp dword [rax], 1
jne 0x180032598
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x180032598
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_RemovePropA]
test rax, rax
je 0x18003256b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xc0]
mov rcx, rbx
call qword [case.0x18003dda2.0]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rdi + 8], 0x100
jne 0x1800325e8
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800325e8
mov rax, qword [rdi + 0x10]
cmp rax, 9
je 0x1800325ce
add rax, 0xffffffffffffffdf
cmp rax, 1
ja 0x1800325e8
mov rcx, qword [rbx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x18003257e
mov rdx, rdi
mov rcx, rbx
call fcn.180026678
jmp 0x180032583
Function at 0x18004d78c
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x18028b680]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x18004d80b
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x168
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x18004d7ea
lea rdx, [0x1801f4dc0]
call fcn.180003030
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180196050
add rsp, 0x1c0
pop rbx
ret
call fcn.180016634
int3
Function at 0x180058bb8
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
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x180058be3
call fcn.180018994
mov rbx, qword [rax + 0x18]
lea r8, [0x1801f7338]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x180058c3c
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180058c3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x180058c3c
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.180058c54
jmp 0x180058c3e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18008ad14
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rsi, rdx
cmp eax, ecx
ja 0x18008aeb5
je 0x18008aeda
sub eax, 0xa1
je 0x18008aeda
sub eax, 1
je 0x18008aeda
sub eax, 2
je 0x18008aeda
sub eax, 1
je 0x18008aeda
sub eax, 2
je 0x18008aeda
sub eax, 1
je 0x18008aeda
cmp eax, 0x58
jne 0x18008af25
cmp dword [rbx + 0x154], 0xffffffff
je 0x18008aeda
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008aeda
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x18008ae0f
cmp rax, 1
jne 0x18008aeda
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x18008af43
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x18003dda2.0]
test eax, eax
jne 0x18008ae57
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x18008add5
jmp 0x18008af43
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x18008af43
mov eax, esi
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x18003dda2.0]
test eax, eax
jne 0x18008ae57
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x18008ae26
jmp 0x18008af43
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x18003dda2.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x18003dda2.0]
mov rcx, rax
call fcn.180029f1c
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x18003dda2.0]
mov dword [rbx + 0x3b8], edi
jmp 0x18008af43
sub eax, 0x200
je 0x18008aeda
sub eax, 1
je 0x18008aeda
sub eax, 1
je 0x18008aeda
sub eax, 2
je 0x18008aeda
sub eax, 1
je 0x18008aeda
sub eax, 2
je 0x18008aeda
cmp eax, 1
jne 0x18008af25
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x18008af02
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x18008af02
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x18008af25
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x18008af25
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rsi + 8], 0x203
jne 0x18008af4a
lea rax, [rbx + 0x3208]
test rax, rax
je 0x18008af3e
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x18008af4a
mov eax, 1
jmp 0x18008af55
mov rdx, rsi
mov rcx, rbx
call fcn.1800808c8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret