joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140046c30
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140046c60
xor eax, eax
jmp 0x140046d23
mov rbp, rbx
cmp word [rax], si
je 0x140046c85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140046c6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140046c68
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140044bcc
movsxd r14, eax
test eax, eax
jne 0x140046cc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140046c59
mov rcx, r14
call fcn.140041d6c
mov rdi, rax
test rax, rax
jne 0x140046cdc
xor ecx, ecx
call fcn.14003fe98
jmp 0x140046cb8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140044bcc
test eax, eax
jne 0x140046d0d
mov rcx, rdi
call fcn.14003fe98
jmp 0x140046d17
xor ecx, ecx
call fcn.14003fe98
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140049d7c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14003f84c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140049e1d
cmp ebx, dword [rsp + 0x30]
je 0x140049e16
test esi, esi
je 0x140049e16
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140049df1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140049dfe
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140049ddb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140049e02
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140049e1f
mov eax, 1
jmp 0x140049e1f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004da44
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140037948
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004dace
cmp byte [rbp - 0x21], r15b
je 0x14004dac9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004db04
call fcn.14004019c
test eax, eax
jne 0x14004daf0
cmp byte [rbp - 0x21], r15b
je 0x14004dae8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004db04
cmp byte [rbp - 0x21], r15b
je 0x14004db01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003e034
test eax, eax
jne 0x14004dba4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140037948
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004db43
cmp byte [rbp - 0x21], r15b
je 0x14004db78
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004db78
call fcn.14004019c
test eax, eax
jne 0x14004db64
cmp byte [rbp - 0x21], r15b
je 0x14004db5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14004db78
cmp byte [rbp - 0x21], r15b
je 0x14004db75
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003e034
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14004dba4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14004dba7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14004dbb5
mov rcx, rdi
call fcn.14003fe98
cmp byte [rbp + 0x3f], r15b
je 0x14004dbc4
mov rcx, qword [rbp + 0x27]
call fcn.14003fe98
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14004faa0
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400443a0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400443a0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14004fbf0
cmp rax, 0xffffffffffffffff
je 0x14004fbf0
xor edi, edi
test rbp, rbp
jle 0x14004fb9b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14003fe20
mov rbx, rax
test rax, rax
jne 0x14004fb28
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14004fb91
mov edx, 0x8000
mov ecx, r14d
call fcn.14003ade4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400414f8
cmp eax, 0xffffffff
je 0x14004fb71
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004fb38
mov edx, r15d
mov ecx, r14d
call fcn.14003ade4
jmp 0x14004fb91
cmp byte [rsi + 0x38], dil
je 0x14004fb88
cmp dword [rsi + 0x34], 5
jne 0x14004fb88
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14004fb91
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003fe98
jmp 0x14004fc04
jns 0x14004fc04
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400443a0
cmp rax, 0xffffffffffffffff
jne 0x14004fbbc
cmp byte [rsi + 0x30], dil
je 0x14004fc04
mov edi, dword [rsi + 0x2c]
jmp 0x14004fc04
mov ecx, r14d
call fcn.140047698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004fc04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14004fc04
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14004fbfd
mov eax, dword [rsi + 0x2c]
jmp 0x14004fc02
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400443a0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400500d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400500f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400500f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400026b0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x40
mov r8, qword [rcx]
mov r10d, dword [rcx + 0x24]
mov r12, rcx
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec r10d
mov r9d, dword [rax + r8 + 0x20]
lea rbx, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [rbx + 0x10]
not r10d
or r9, r15
and r10, r9
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
test eax, eax
jne 0x14000271a
mov ecx, dword [rbx + 0x24]
test cl, 0x40
je 0x140002712
mov eax, dword [r8 + 0x20]
jmp 0x14000271a
test cl, cl
jns 0x14000271a
mov eax, dword [r8 + 0x24]
mov ecx, dword [rbx + 0x24]
mov edx, eax
mov eax, 1
xor r14d, r14d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x3c], r14d
mov ebp, eax
cmp ax, word [r8 + 6]
jae 0x140002819
add rbx, 0x4c
nop dword [rax + rax]
mov edi, dword [r12 + 0x24]
mov r13d, dword [rbx - 0x1c]
mov esi, dword [rbx - 0x14]
dec edi
or r13, r15
not edi
and rdi, r13
test esi, esi
jne 0x14000278e
mov eax, dword [rbx]
test al, 0x40
je 0x140002786
mov esi, dword [r8 + 0x20]
jmp 0x14000278e
test al, al
jns 0x14000278e
mov esi, dword [r8 + 0x24]
cmp r10, rdi
je 0x1400027d0
lea rax, [rdx + r9]
cmp rax, rdi
ja 0x1400027d0
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.1400025b0
test eax, eax
je 0x140002852
mov ecx, dword [rbx]
mov edx, esi
mov r9, r13
mov qword [rsp + 0x20], r13
mov r10, rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rdx
jmp 0x1400027fd
mov eax, dword [rbx]
bt eax, 0x19
jae 0x1400027e6
bt ecx, 0x19
jae 0x1400027e6
or ecx, eax
mov dword [rsp + 0x38], ecx
jmp 0x1400027f0
or ecx, eax
btr ecx, 0x19
mov dword [rsp + 0x38], ecx
mov edx, esi
sub rdx, r9
add rdx, r13
mov qword [rsp + 0x30], rdx
mov r8, qword [r12]
inc ebp
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp ebp, eax
jl 0x140002760
mov eax, 1
lea rdx, [rsp + 0x20]
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.1400025b0
test eax, eax
setne r14b
mov eax, r14d
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x140002833
Function at 0x140002d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140002d93
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002dd7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140002dd2
cmp rbx, r11
jae 0x140002dd7
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140002dc0
cmp rbx, r11
jb 0x140002ddb
xor eax, eax
jmp 0x140002de7
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x1400fe008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov ecx, 0x498
call fcn.1400045b4
mov qword [rsp + 0x70], rax
xor ebx, ebx
test rax, rax
je 0x140002f0f
mov rcx, rax
call fcn.1400034c0
jmp 0x140002f12
mov rax, rbx
mov qword [rdi + 0x140], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.14000ae34
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x38], rcx
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x50], rbx
call fcn.14000ae34
mov edx, 0x7f00
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x48], rax
call fcn.14000ae34
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1400ff9c8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0x80
lea rcx, [rsp + 0x20]
call fcn.1400129ac
test eax, eax
jne 0x140002fd4
xor r8d, r8d
xor edx, edx
lea rcx, [0x140041ee0]
call fcn.140006c34
xor eax, eax
jmp 0x1400030ef
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11, qword [rdi + 0x140]
mov qword [rdi + 0x40], r11
call fcn.140008eb4
test rax, rax
je 0x14000300b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
mov rbx, rax
mov rbx, qword [rbx + 0x40]
mov byte [rsp + 0x80], 0x55
mov byte [rsp + 0x81], 0x73
mov byte [rsp + 0x82], 0x65
mov byte [rsp + 0x83], 0x72
mov byte [rsp + 0x84], 0x33
mov byte [rsp + 0x85], 0x32
mov byte [rsp + 0x86], 0x2e
mov byte [rsp + 0x87], 0x64
mov byte [rsp + 0x88], 0x6c
mov byte [rsp + 0x89], 0x6c
mov byte [rsp + 0x8a], 0
mov byte [rsp + 0x90], 0x53
mov byte [rsp + 0x91], 0x68
mov byte [rsp + 0x92], 0x6f
mov byte [rsp + 0x93], 0x77
mov byte [rsp + 0x94], 0x57
mov byte [rsp + 0x95], 0x69
mov byte [rsp + 0x96], 0x6e
mov byte [rsp + 0x97], 0x64
mov byte [rsp + 0x98], 0x6f
mov byte [rsp + 0x99], 0x77
mov byte [rsp + 0x9a], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
call fcn.140002cd0
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140029b80
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
Function at 0x14000c134
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.14001e5f4
mov rsi, rax
test rax, rax
je 0x14000c1b0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000c1ab
cmp dword [rbx], 0x40
jb 0x14000c1ab
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 0x14000c1ab
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000c1b4
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 0x1400131fc
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 0x140013264
call fcn.14000ae34
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 0x140013264
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140013286
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140012c0c
mov esi, eax
test rdi, rdi
je 0x140013284
test rbx, rbx
je 0x140013284
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 0x14001a71c
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 0x14001a75a
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001a80e
call fcn.14000728c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a779
mov ecx, 0x80004005
call fcn.140001210
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.14002b058
test eax, eax
je 0x14001a7e1
cmp eax, 0xc
je 0x14001a7db
cmp eax, 0x16
je 0x14001a7d5
cmp eax, 0x22
je 0x14001a7d5
cmp eax, 0x50
je 0x14001a7e1
call fcn.14000715c
int3
call fcn.14000715c
int3
call fcn.140007114
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 0x14001a80c
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 0x14001b5e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CLoadMapDlg.virtual_640
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 0x14001b627
cmp dword [rcx + 0xa8], 0
jne 0x14001b627
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14000ae34
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.14001b58c
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 0x14002b7b4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140032b48
nop
cmp dword [0x140103538], 1
je 0x14002b760
mov dword [0x140103534], 1
mov byte [0x140103530], r12b
test ebx, ebx
jne 0x14002b74c
mov rcx, qword [0x140105730]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b739
mov rcx, qword [0x140105728]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002b6d8
call fcn.14002cab8
cmp qword [rdi], rax
jne 0x14002b6d8
jmp 0x14002b6be
cmp rdi, rsi
jb 0x14002b739
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002cab8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140105730]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140105728]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002b717
cmp r13, rax
je 0x14002b737
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002b6be
lea rdx, [0x140041be8]
lea rcx, [0x140041bd0]
call fcn.14002b508
lea rdx, [0x140041bf8]
lea rcx, [0x140041bf0]
call fcn.14002b508
nop
test r12d, r12d
je 0x14002b76f
mov ecx, 8
call fcn.140032a48
test r12d, r12d
jne 0x14002b79a
mov dword [0x140103538], 1
lea ecx, [r12 + 8]
call fcn.140032a48
mov ecx, r15d
call fcn.14002b49c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002b628

Function at 0x14002b7c0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002b628
Function at 0x14002fa1b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400fe008]
jne 0x140029b9a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029b96
repz ret
ror rcx, 0x10
jmp 0x14002f974
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140103b40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140103c38]
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 0x14002f9f9
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, [0x140103b40]
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 0x14002fa1b
mov rax, qword [rsp + 0x88]
mov qword [0x140103c38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140103bd8], rax
mov rax, qword [0x140103c38]
mov qword [0x140103ab0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140103bc0], rax
mov dword [0x140103aa0], 0xc0000409
mov dword [0x140103aa4], 1
mov rax, qword [0x1400fe008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400fe010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140103b38], eax
mov ecx, 1
call fcn.140036480
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14004a668]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140103b38], 0
jne 0x14002faa2
mov ecx, 1
call fcn.140036480
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 0x140035318
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002cab8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1401043d0], rbx
jne 0x14003541e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400354f3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400354f3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14004a7d8]
mov rcx, rsi
mov qword [0x1401043d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14004a7c0]
mov rcx, rsi
mov qword [0x1401043d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1401043e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1401043f0], rax
test rax, rax
je 0x140035415
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1401043e8], rax
jmp 0x140035425
mov rax, qword [0x1401043e8]
jmp 0x14003542c
mov rax, qword [0x1401043e8]
mov r11, qword [0x1401043f0]
cmp rax, rdi
je 0x140035494
cmp r11, rdi
je 0x140035494
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1401043f0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140035494
test rax, rax
je 0x140035494
call rsi
test rax, rax
je 0x14003548e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14003548e
test byte [rsp + 0x38], 1
jne 0x140035494
bts ebp, 0x15
jmp 0x1400354d2
mov rcx, qword [0x1401043d8]
cmp rcx, rdi
je 0x1400354d2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400354d2
call rax
mov rbx, rax
test rax, rax
je 0x1400354d2
mov rcx, qword [0x1401043e0]
cmp rcx, rdi
je 0x1400354d2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400354d2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1401043d0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400354f3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400354f5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret