joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001c85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x18002d2d0
push rsi
push rdi
push r14
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002d347
call fcn.1800017d0
mov ebx, eax
jmp 0x18002d46c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18002d368
call fcn.1800017d0
jmp 0x18002d460
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18002d38b
call fcn.1800017d0
jmp 0x18002d460
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18002d3ad
mov ebx, 0x8007000e
jmp 0x18002d462
mov ecx, eax
test eax, eax
je 0x18002d3ea
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18002d3e0
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18002d3ea
lea rcx, [rsp + 0x70]
call fcn.180002eb4
mov rax, qword [rsp + 0x70]
jmp 0x18002d3f4
mov ecx, 0x80070216
call fcn.180003c79
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18002d40c
test rax, rax
jne 0x18002d418
mov ebx, 0x8007000e
jmp 0x18002d462
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18002d43d
call fcn.1800017d0
jmp 0x18002d460
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1800014dd
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18002d483
lea rcx, [rsp + 0x70]
call fcn.18000173f
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18003f5a0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r14
pop rdi
pop rsi
ret

Function at 0x18000209f
Capabilities:
Set registry value

Disassembly:
jmp 0x18002e760
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x180002144
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800303f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movsxd rbx, dword [0x18009802c]
movsxd r15, dword [0x180098038]
movsxd r14, dword [0x180098028]
movsxd rsi, dword [0x18009803c]
movsxd r10, ecx
mov r12, r8
lea rbp, [rbx*4]
lea rdi, [r15 + r15]
lea rdx, [rbx + 1]
lea rax, [r14 + rdi]
lea rcx, [r14 + r14]
mov r11, r15
add rdx, rax
mov eax, 4
movsxd r13, r9d
imul r11, rbx
sub rax, rbp
sub r14, r11
xor r9d, r9d
imul rdx, rsi
sub rcx, rdx
imul rax, r15
imul rax, rbx
lea rcx, [rax + rcx*4]
mov rax, r8
imul rcx, r10
shl rcx, 6
sub rax, rcx
mov ecx, 2
movsxd r8, dword [rax + 0x3c]
movsxd rax, dword [0x180098034]
sub rcx, rdi
sub r14, rax
movsxd rax, dword [0x180098030]
imul rcx, rax
lea rax, [rbp + 2]
imul rax, rsi
lea rdx, [rcx + r14*2]
add rdx, rax
lea rax, [r12 + r8]
imul rdx, r13
imul rdx, rdx, 0x108
mov ecx, dword [rdx + rax + 0x88]
add rcx, r12
mov ebx, dword [rcx + 0x20]
mov edi, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x24]
mov r11d, dword [rcx + 0x18]
add rbx, r12
add rdi, r12
add rsi, r12
test r11d, r11d
je 0x180030541
mov eax, dword [0x180098028]
mov r10, qword [rsp + 0x48]
imul r15d, r15d, 0xfffffffd
add eax, 3
imul eax, dword [0x18009803c]
sub r15d, eax
add r15d, dword [0x18009802c]
imul r15d, r13d
nop dword [rax]
mov eax, r9d
mov r8, r10
sub eax, r15d
mov eax, dword [rbx + rax*4]
add rax, r12
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180030535
inc rax
test ecx, ecx
jne 0x180030522
test edx, edx
je 0x180030560
inc r9d
cmp r9d, r11d
jb 0x180030510
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
movzx ecx, word [rsi + r9*2]
mov eax, dword [rdi + rcx*4]
add rax, r12
jmp 0x180030543
Function at 0x180002342
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180027950
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x180027975
mov eax, 0x80004003
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x18009b6e0]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x1800279a0
mov eax, 0x8000ffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x18009b6e0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180027990
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x180027990
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
mov qword [rsp + 0x30], rbx
call fcn.180003c2e
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.180001e42
mov rcx, rsi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x1c]
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x28]
call fcn.180001e42
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.180001e42
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x28], eax
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180002590
Capabilities:
Delete registry key

Disassembly:
jmp 0x18002cdf0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18002ce64
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002ce86
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002ce86
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x18002ce86
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x180002743
Capabilities:
Get graphical window text

Disassembly:
jmp 0x180033790
push rsi
push rdi
push r14
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rcx, qword [rdx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov dword [rsp + 0x20], eax
mov ecx, ebx
mov qword [rsp + 0x50], rbx
test eax, eax
jle 0x18003389f
inc eax
movsxd rcx, eax
je 0x18003383e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180033834
lea rdx, [rcx + rcx]
cmp rdx, 0x80
jbe 0x18003383e
lea rcx, [rsp + 0x50]
call fcn.18000303f
mov rdx, qword [rsp + 0x50]
jmp 0x180033848
mov ecx, 0x80070216
call fcn.180003c79
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x50], rdx
jmp 0x18003385f
test rdx, rdx
jne 0x18003387d
lea rax, [rsp + 0x58]
test rax, rax
je 0x180033879
lea rcx, [rsp + 0x50]
call fcn.180003382
nop
xor eax, eax
jmp 0x1800338cb
lea r8d, [rdi + 1]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x18003389a
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jmp 0x18003386c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test edi, edi
je 0x1800338b2
test rax, rax
setne bl
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x50], rax
je 0x1800338c9
lea rcx, [rsp + 0x50]
call fcn.180003382
nop
mov eax, ebx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18003f5a0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r14
pop rdi
pop rsi
ret
Function at 0x180002d1f
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x18002f140
push rbx
sub rsp, 0x50
xor ebx, ebx
test rcx, rcx
je 0x18002f156
add rcx, 0xffffffffffffff18
jmp 0x18002f159
mov rcx, rbx
mov rax, qword [rdx]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x20], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x48], rax
test rcx, rcx
jne 0x18002f1ab
mov rcx, rbx
mov qword [rsp + 0x60], rbx
mov edx, 0x80004005
jmp 0x18002f1c3
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1800706f8]
call qword [rax]
mov rcx, qword [rsp + 0x60]
mov edx, eax
test edx, edx
js 0x18002f235
test rcx, rcx
je 0x18002f22e
mov ecx, 0x10
mov qword [rsp + 0x68], rdi
call qword [sym.imp.USER32.dll_GetKeyState]
mov edx, 1
mov edi, ebx
test ax, ax
lea ecx, [rdx + 0x10]
cmovs edi, edx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18002f1fa
add edi, 2
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18002f20d
add edi, 4
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov r8d, edi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov edx, eax
jmp 0x18002f233
mov edx, 1
test edx, edx
setne bl
test rcx, rcx
je 0x18002f243
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x180002f18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180030150
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 0x180030183
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 0x1800301c9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800301c4
nop
cmp rbx, rcx
jae 0x1800301c9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1800301b0
cmp rbx, rcx
jb 0x1800301cd
xor eax, eax
jmp 0x1800301d9
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 0x1800035f3
Capabilities:
Set registry value

Disassembly:
jmp 0x18002e830
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x18002e848
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002e854
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x18002e850
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x180018ea0
Capabilities:
Write file on windows

Disassembly:
jmp 0x180018ea0
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x808]
sub rsp, 0x908
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
xor ebx, ebx
mov rdi, rcx
mov rcx, qword [0x18009b500]
mov r15, r9
mov r14, r8
mov esi, ebx
test rcx, rcx
je 0x180018ef4
imul rdx, rdx, 0x3e8
mov rax, rdx
cqo
idiv rcx
mov rsi, rax
cmp dword [rdi + 0x138], ebx
je 0x180018f97
cmp dword [rdi + 0x18c], ebx
mov ecx, 9
mov eax, 0x2c
cmovne cx, ax
mov r8d, 0x800
xor edx, edx
mov word [rsp + 0x40], cx
lea rcx, [rbp - 0x10]
mov word [rsp + 0x42], bx
call fcn.18003f5d0
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea r8, str._s_s_d_s_s_n
lea rcx, [rbp - 0x10]
mov r9, r14
mov edx, 0x400
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.180002a45
cmp qword [rdi + 0x140], rbx
je 0x180018f97
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rdi + 0x140]
lea r9, [rsp + 0x44]
add eax, eax
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rbx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rdi + 0x188], ebx
je 0x1800190f7
mov rcx, qword [rdi + 0x158]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rdi + 0x150]
lea r8, [0x180073ed0]
lea ecx, [r9 + 1]
mov edx, 8
mov rbx, rax
mov dword [rdi + 0x150], ecx
lea rcx, [rbp - 0x48]
call fcn.180002a45
xor eax, eax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x48]
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x4c], ebx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rdi + 0x158]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x158]
mov qword [rbp - 0x68], r14
movsxd r14, ebx
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov r8, r14
mov dword [rbp - 0x78], 1
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [0x180073ed0]
lea rcx, [rbp - 0x38]
mov r9d, esi
mov edx, 0x10
call fcn.180002a45
mov rcx, qword [rdi + 0x158]
lea rax, [rbp - 0x38]
lea r9, [rbp - 0x80]
mov r8, r14
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], 2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x158]
lea r9, [rbp - 0x80]
mov r8, r14
mov edx, 0x1074
mov dword [rbp - 0x78], 3
mov qword [rbp - 0x68], r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov rcx, rdi
call fcn.1800013c0
test al, al
je 0x1800190f7
mov rcx, qword [rdi + 0x158]
xor r9d, r9d
mov r8, r14
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.18003f5a0
add rsp, 0x908
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800191c0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1800191c0
push rbp
push rsi
push rdi
push r14
sub rsp, 0x8e8
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
xor r14d, r14d
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp dword [rcx + 0x138], r14d
je 0x1800192ae
cmp dword [rdi + 0x18c], r14d
mov eax, 9
mov ecx, 0x2c
cmovne ax, cx
lea rcx, [rsp + 0xd0]
mov r8d, 0x800
xor edx, edx
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], r14w
call fcn.18003f5d0
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x50]
lea r8, str._s_s_s_s_s_s_n
lea rcx, [rsp + 0xd0]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.180002a45
cmp qword [rdi + 0x140], r14
je 0x1800192ae
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rdi + 0x140]
lea r9, [rsp + 0x54]
add eax, eax
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], r14
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rdi + 0x188], r14d
je 0x1800193ae
mov rcx, qword [rdi + 0x158]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov qword [rsp + 0x8e0], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x158]
lea r9, [rsp + 0x58]
mov rbx, rax
mov dword [rsp + 0x5c], eax
lea rax, [0x180071364]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x60], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x158]
mov qword [rsp + 0xa8], rsi
movsxd rsi, eax
lea r9, [rsp + 0x90]
mov edx, 0x1074
mov r8, rsi
mov dword [rsp + 0x98], 4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x158]
lea r9, [rsp + 0x90]
mov r8, rsi
mov edx, 0x1074
mov dword [rsp + 0x98], 5
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov rcx, rdi
call fcn.1800013c0
mov rbx, qword [rsp + 0x8e0]
test al, al
je 0x1800193ae
mov rcx, qword [rdi + 0x158]
xor r9d, r9d
mov r8, rsi
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.18003f5a0
add rsp, 0x8e8
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001b400
Capabilities:
Create process on windows

Disassembly:
jmp 0x18001b400
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x350
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rdi, rcx
mov edx, 0x7f02
xor ecx, ecx
movzx ebx, r8w
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
mov rsi, rax
call fcn.18003f5d0
mov rcx, qword [rdi + 0x190]
mov edx, ebx
lea r8, [rsp + 0x30]
xor ebx, ebx
mov r9d, 0x80
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_GetMenuStringW]
test eax, eax
je 0x18001b502
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x30]
movsxd rcx, eax
lea r9, [r9 + rcx*2]
cmp word [r9], 0x3a
je 0x18001b4b1
nop dword [rax]
sub r9, 2
test eax, eax
je 0x18001b502
dec eax
cmp word [r9], 0x3a
jne 0x18001b4a0
test eax, eax
je 0x18001b502
add r9, 4
lea r8, str._p__s__e__s
lea rcx, [rsp + 0x130]
mov edx, 0x104
mov qword [rsp + 0x20], r9
call fcn.180002a45
lea r9, [rsp + 0x130]
lea r8, str.msdev
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18003f5a0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180024e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180024e40
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx ebx, r9b
mov rsi, r8
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
call fcn.180002653
test bl, bl
je 0x180024f42
xor edx, edx
lea rcx, str.COMCTL32.DLL
lea r8d, [rdx + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x180024f42
mov edx, 0x3ee
mov r8d, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180024f39
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180024f39
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180001717
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x180024f39
movzx edx, word [rsp + 0x20]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180002653
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsi]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsi + 4]
mov r8d, 8
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov dword [rsi + 4], eax
mov ecx, eax
jmp 0x180024f63
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsi]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rsi + 4]
mov dword [rsi], eax
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003f5a0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret

Function at 0x180027950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180027950
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x180027975
mov eax, 0x80004003
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x18009b6e0]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x1800279a0
mov eax, 0x8000ffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x18009b6e0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180027990
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x180027990
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
mov qword [rsp + 0x30], rbx
call fcn.180003c2e
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.180001e42
mov rcx, rsi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x1c]
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x28]
call fcn.180001e42
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.180001e42
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x28], eax
xor eax, eax
add rsp, 0x20
pop rdi
ret