joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4980c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4987ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4980ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x498371
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49839d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004f1440]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004af140]
lea rbx, [0x004f0000]
call fcn.00431a20
inc rax
cmp rax, r8
jge 0x4983c2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4983f7
lea rdi, [0x004af1c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4980e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4983db
jmp 0x4983b0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00458640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004980c0

Function at 0x4989a0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4989b7
inc rax
cmp rax, 4
jge 0x4989cf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4989b4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4989e0
inc rax
cmp rax, 4
jge 0x4989ee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x498a17
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4989fb
jmp 0x4989dd
Function at 0x4a2c00
Capabilities:
Reference absolute stream path on windows

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a2e6b
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x48], rax
cmp rbx, 2
jl 0x4a2c2e
cmp byte [rax + 1], 0x3a
jne 0x4a2c2e
mov eax, 2
add rsp, 0x38
pop rbp
ret
test rbx, rbx
je 0x4a2d76
movzx edx, byte [rax]
cmp dl, 0x5c
je 0x4a2c49
nop
cmp dl, 0x2f
jne 0x4a2d76
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
lea rcx, [0x004c913d]
mov edi, 7
nop
call fcn.004a2ea0
test al, al
je 0x4a2c85
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov eax, 8
xor ebx, ebx
nop dword [rax + rax]
jmp 0x4a2e40
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
lea rcx, [0x004c8d57]
mov edi, 3
nop dword [rax + rax]
call fcn.004a2ea0
test al, al
je 0x4a2cb0
mov eax, 1
jmp 0x4a2cf1
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
lea rcx, [0x004c8d54]
mov edi, 3
call fcn.004a2ea0
test al, al
je 0x4a2cd6
mov eax, 1
jmp 0x4a2cf1
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
lea rcx, [0x004c8d5a]
mov edi, 3
call fcn.004a2ea0
test al, al
je 0x4a2d43
mov rcx, qword [rsp + 0x50]
nop word [rax + rax]
cmp rcx, 3
je 0x4a2d38
cmp rcx, 4
jb 0x4a2e33
lea rbx, [rcx - 4]
mov qword [rsp + 0x20], rbx
mov rdx, rbx
neg rdx
sar rdx, 0x3f
and edx, 4
mov rsi, qword [rsp + 0x48]
lea rax, [rsi + rdx]
mov qword [rsp + 0x30], rax
xor edx, edx
jmp 0x4a2dae
mov eax, 3
add rsp, 0x38
pop rbp
ret
mov rcx, qword [rsp + 0x50]
cmp rcx, 2
jl 0x4a2d6e
mov rdx, qword [rsp + 0x48]
movzx ebx, byte [rdx + 1]
cmp bl, 0x5c
je 0x4a2d65
nop dword [rax]
cmp bl, 0x2f
jne 0x4a2d6e
mov eax, 2
xor ebx, ebx
jmp 0x4a2d81
xor eax, eax
add rsp, 0x38
pop rbp
ret
xor eax, eax
add rsp, 0x38
pop rbp
ret
inc rax
cmp rcx, rax
jle 0x4a2da2
movzx esi, byte [rax + rdx]
cmp sil, 0x5c
je 0x4a2d96
cmp sil, 0x2f
jne 0x4a2d7e
cmp rbx, 1
je 0x4a2da5
inc rbx
nop
jmp 0x4a2d7e
mov rax, rcx
add rsp, 0x38
pop rbp
ret
mov rdx, rsi
cmp rdx, rbx
jge 0x4a2e1f
movzx esi, byte [rax + rdx]
cmp esi, 0x80
jge 0x4a2dc8
lea rsi, [rdx + 1]
cmp rdx, rbx
jmp 0x4a2df7
mov qword [rsp + 0x28], rdx
mov rcx, rdx
call fcn.00452f00
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp rax, rcx
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rsi, rbx
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
jae 0x4a2e28
movzx edi, byte [rdx + rax]
nop dword [rax]
cmp dil, 0x5c
je 0x4a2e0c
cmp dil, 0x2f
jne 0x4a2dab
mov rax, rcx
sub rcx, rdx
sub rax, rcx
add rax, 4
add rsp, 0x38
pop rbp
ret
mov rax, rcx
add rsp, 0x38
pop rbp
ret
mov rax, rdx
mov rcx, rbx
call fcn.0045a920
mov eax, 4
call fcn.0045a9e0
inc rax
cmp rdx, rax
jle 0x4a2e62
movzx esi, byte [rcx + rax]
cmp sil, 0x5c
je 0x4a2e55
cmp sil, 0x2f
jne 0x4a2e3d
cmp rbx, 1
je 0x4a2e65
inc rbx
nop
jmp 0x4a2e3d
mov rax, rdx
add rsp, 0x38
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00458640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004a2c00
Function at 0x140001610
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov r8, rcx
lea r9, [rdx + 0xa0]
mov r11d, 4
nop word [rax + rax]
mov r10d, 4
nop word [rax + rax]
movzx eax, byte [r9]
inc r8
inc r9
xor byte [r8 - 1], al
sub r10, 1
jne 0x140001650
sub r11, 1
jne 0x140001640
mov bl, 9
lea rbp, [0x14020eda0]
nop word [rax + rax]
movzx eax, byte [rdi + 9]
movzx ecx, byte [rdi + 0xd]
mov r8, rdi
mov byte [rdi + 0xd], al
movzx eax, byte [rdi + 5]
mov r9d, 4
mov byte [rdi + 9], al
movzx eax, byte [rdi + 1]
mov byte [rdi + 1], cl
movzx ecx, byte [rdi + 2]
mov byte [rdi + 5], al
movzx eax, byte [rdi + 0xa]
mov byte [rdi + 2], al
movzx eax, byte [rdi + 0xe]
mov byte [rdi + 0xa], cl
movzx ecx, byte [rdi + 6]
mov byte [rdi + 6], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 0xe], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 7], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 0xf], cl
mov byte [rdi + 0xb], al
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
add rcx, 4
sub rdx, 1
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
jne 0x1400016f0
inc r8
sub r9, 1
jne 0x1400016e0
movzx edx, bl
mov rcx, rdi
mov r9d, 4
shl rdx, 4
add rdx, rsi
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
xor byte [rcx - 1], al
sub r8, 1
jne 0x140001730
sub r9, 1
jne 0x140001720
test bl, bl
je 0x14000175b
mov rcx, rdi
call fcn.1400011b0
dec bl
jmp 0x140001680
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001779
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000182f
push rbx
push rbp
sub rsp, 0x48
mov rax, qword [0x140252530]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rdi
lea rdi, [r8 - 1]
shr rdi, 4
mov rbx, rdx
mov rbp, rcx
inc rdi
nop dword [rax]
mov rax, qword [rbx]
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov qword [rcx], rax
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, rbx
call fcn.140001610
lea rcx, [rbp + 0xb0]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
nop word [rax + rax]
movzx eax, byte [rcx]
inc rbx
inc rcx
xor byte [rbx - 1], al
sub rdx, 1
jne 0x1400017e0
sub rdi, 1
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rbp + 0xb0], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0xb8], rax
jne 0x1400017b0
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140184e60
add rsp, 0x48
pop rbp
pop rbx
repz ret
Function at 0x14000e000
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
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14000e072
call fcn.14005b520
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000e072
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000e0bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14000e09f
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14000e09f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x14000e0bd
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
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 0x14000eef8
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14000ef6f
call fcn.14000ee84
mov rsi, rax
test rax, rax
jne 0x14000ef2b
mov eax, edi
jmp 0x14000ef85
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14000ef27
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140012bdc
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140012c1a
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140012cce
call fcn.140013fa4
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140012c39
mov ecx, 0x80004005
call fcn.140001f40
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140186fa8
test eax, eax
je 0x140012ca1
cmp eax, 0xc
je 0x140012c9b
cmp eax, 0x16
je 0x140012c95
cmp eax, 0x22
je 0x140012c95
cmp eax, 0x50
je 0x140012ca1
call fcn.14001505c
int3
call fcn.14001505c
int3
call fcn.140015014
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140012ccc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140013dd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.14005b520
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x140013e30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.140013864
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140013ec4
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 rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140013f03
cmp dword [rcx + 0xa8], 0
jne 0x140013f03
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14005b520
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
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.140013e68
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 0x140018fe8
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 rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14009491c
mov rsi, rax
test rax, rax
je 0x140019064
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001905f
cmp dword [rbx], 0x40
jb 0x14001905f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14001905f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140019068
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 0x140020694
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
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400206fc
call fcn.14005b520
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400206fc
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002071e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400200a4
mov esi, eax
test rdi, rdi
je 0x14002071c
test rbx, rbx
je 0x14002071c
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 0x140036c54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx ebx, dx
xor r15d, r15d
mov r14d, r9d
mov rbp, r8
mov r12d, edx
mov rdi, rcx
cmp rbx, r15
jne 0x140036c8e
call fcn.14001505c
int3
call fcn.14005b520
mov r8d, 0xf1
mov rdx, rbx
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, r15
jne 0x140036cb5
xor eax, eax
jmp 0x140036e4f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r13, rax
mov qword [rsp + 0x30], rax
cmp rax, r15
je 0x140036cae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r15
je 0x140036cae
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000989c
xor r9d, r9d
mov r15, rax
cmp rax, r9
jne 0x140036d0f
call fcn.14001505c
int3
movzx eax, word [rbx + 2]
movzx ecx, word [rbx + 4]
cmp r14d, r9d
je 0x140036d46
mov dword [rsp + 0x20], eax
add eax, 6
mov dword [rsp + 0x24], ecx
mov r8, qword [rsp + 0x20]
mov dword [rsp + 0x28], eax
lea eax, [rcx + 6]
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call fcn.14002d330
jmp 0x140036d6b
mov dword [rsp + 0x28], eax
add eax, 6
mov dword [rsp + 0x2c], ecx
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
lea eax, [rcx + 6]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x20]
call fcn.14002d224
mov esi, 1
cmp dword [rbp + 4], r9d
jne 0x140036d7a
mov dword [rbp + 4], r12d
cmp dword [rdi + 0x1200], r9d
jne 0x140036da1
mov rax, qword [rdi]
mov r8d, r14d
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x620]
xor r9d, r9d
cmp eax, r9d
je 0x140036e3c
mov eax, dword [rdi + 0x104c]
mov r14d, r9d
mov dword [rsp + 0x20], eax
cmp r9w, word [rbx + 6]
jae 0x140036e12
mov r13d, dword [rsp + 0x98]
mov rbp, r15
lea r12, [rbx + 8]
movzx edx, word [r12]
mov dword [rbp], edx
cmp r13d, r9d
jne 0x140036df1
cmp edx, r9d
jbe 0x140036df1
lea rcx, vtable.CMap_unsigned_int__unsigned_int__int__int_.0
call fcn.140133084
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
add ecx, esi
xor r9d, r9d
mov dword [rsp + 0x20], ecx
movzx eax, word [rbx + 6]
add r14d, esi
add r12, 2
add rbp, 4
cmp r14d, eax
jl 0x140036dc4
mov r13, qword [rsp + 0x30]
mov r12d, dword [rsp + 0x88]
mov rax, qword [rdi]
mov dword [rdi + 0x1200], r12d
movzx r8d, word [rbx + 6]
mov r9d, esi
mov rdx, r15
mov rcx, rdi
call qword [rax + 0x630]
mov esi, eax
test eax, eax
jne 0x140036e3c
and dword [rdi + 0x1200], eax
mov rcx, r15
call fcn.1400098e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003b188
Capabilities:
Log keystrokes via polling

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
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x14003b26f
xor edx, edx
call fcn.14002e6dc
mov rcx, rbx
test rax, rax
je 0x14003b1d0
mov rdx, rbp
call fcn.1400cfecc
jmp 0x14003b27a
call fcn.14002e124
cmp dword [rbx + 0x128c], 0
mov esi, eax
je 0x14003b1e6
sub esi, dword [rbx + 0x1280]
mov r12d, dword [rbx + 0x1038]
test r12d, r12d
js 0x14003b26f
cmp r12d, esi
jge 0x14003b26f
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x14003b214
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x27
mov rcx, rbx
call fcn.14001246c
bt eax, 0x16
jae 0x14003b236
mov eax, 0x25
cmp edi, eax
jne 0x14003b230
lea edi, [rax + 2]
jmp 0x14003b236
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x14003b33b
sub edi, 0xe
je 0x14003b316
sub edi, 0xa
je 0x14003b302
sub edi, 2
je 0x14003b2b2
mov rcx, rbx
cmp edi, 1
je 0x14003b295
mov r8, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [r8 + 0x6e0]
test eax, eax
jne 0x14003b2ab
mov rdx, rbp
mov rcx, rbx
call fcn.1400395ac
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
mov edx, dword [rbx + 0x1038]
call fcn.14002d8d0
mov rcx, rbx
mov rdx, rax
call fcn.140032164
mov eax, 1
jmp 0x14003b27a
inc dword [rbx + 0x1038]
cmp dword [rbx + 0x1038], esi
jl 0x14003b2c7
and dword [rbx + 0x1038], 0
mov edx, r12d
mov rcx, rbx
call fcn.14002fde4
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002fde4
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r11, qword [rbx]
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call qword [r11 + 0x468]
jmp 0x14003b26f
add dword [rbx + 0x1038], 0xffffffff
jns 0x14003b2c7
lea eax, [rsi - 1]
mov dword [rbx + 0x1038], eax
jmp 0x14003b2c7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x678]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x680]
and dword [0x140258da0], 0
jmp 0x14003b26f
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002d8d0
mov rcx, rbx
mov rdx, rax
call fcn.140032164
test eax, eax
jne 0x14003b2ab
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002d8d0
mov rcx, rbx
mov rdx, rax
call fcn.140034a5c
jmp 0x14003b2ab
Function at 0x140042d04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp dword [0x140259848], ebx
jne 0x140042d33
xor eax, eax
jmp 0x140042da8
cmp r8, rbx
jne 0x140042d41
call fcn.14005b520
mov rdi, qword [rax + 0x18]
mov r8, qword [0x140258ee8]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
cmp rax, rbx
je 0x140042d2f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rbx
je 0x140042d2f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
cmp rax, rbx
je 0x140042d9d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.140042bc0
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14005b5f0
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14005b613
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400c7298
add rsp, 0x20
pop rbx
ret

Function at 0x14005b61c
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005b63f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400c7298
add rsp, 0x20
pop rbx
ret

Function at 0x140063c4c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea rax, vtable.CMFCBaseVisualManager.0
mov rbx, rcx
mov qword [rcx], rax
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0x38], rdi
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x58], rdi
mov qword [rcx + 0x60], rdi
mov qword [rcx + 0x68], rdi
mov qword [rcx + 0x70], rdi
mov qword [rcx + 0x78], rdi
mov qword [rcx + 0x80], rdi
mov qword [rcx + 0x88], rdi
lea rcx, str.UxTheme.dll
call fcn.14005b77c
mov qword [rbx + 0x90], rax
cmp rax, rdi
je 0x140063d8e
lea rdx, str.OpenThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.CloseThemeData
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.DrawThemeBackground
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetThemeColor
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetThemeSysColor
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetCurrentThemeName
mov qword [rbx + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetWindowTheme
mov qword [rbx + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [rbx + 0xc8], rax
call fcn.140063434
jmp 0x140063dbf
mov qword [rbx + 0x98], rdi
mov qword [rbx + 0xa0], rdi
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], rdi
mov qword [rbx + 0xc0], rdi
mov qword [rbx + 0xc8], rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret