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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r12, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rbp - 0x49], r13d
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x39], rcx
lea rdi, vtable.CVolObject.0
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
lea rax, vtable.CWString.0
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
lea rbx, vtable.CVolMem.0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0x17], 0x40
mov qword [rbp - 0x21], r13
mov qword [rbp + 0x17], 0xfe
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r14d, eax
test eax, eax
jne 0x18000951a
mov rax, qword [rbp - 0x21]
test rax, rax
jne 0x1800094d3
lea rax, [0x18024d0f0]
cmp qword [rbp + 0xf], r13
cmovne rax, qword [rbp - 1]
mov rdx, rax
mov rcx, rsi
call fcn.180009390
mov dword [rbp - 0x49], 1
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x19], rbx
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x180009505
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp - 0x19], rdi
jmp 0x18000960c
inc r14d
movsxd r15, r14d
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180029234
mov rbx, rax
test r14d, r14d
je 0x180009557
movzx eax, r13w
mov rdi, rbx
mov rcx, r15
rep stosw word [rdi], ax
lea rdi, vtable.CVolObject.0
mov r8d, r14d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp - 0x21], r13
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x18000957e
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
test rbx, rbx
je 0x1800095a1
cmp word [rbx], 0
je 0x1800095a1
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.180022fb0
mov rcx, rbx
call fcn.18002922c
mov rax, qword [rbp - 0x21]
test rax, rax
jne 0x1800095c3
lea rax, [0x18024d0f0]
cmp qword [rbp + 0xf], 0
cmovne rax, qword [rbp - 1]
mov rdx, rax
mov rcx, rsi
call fcn.180009390
mov dword [rbp - 0x49], 1
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
lea rax, vtable.CVolMem.0
mov qword [rbp - 0x19], rax
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1800095fc
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x19]
call qword [rax + 0x18]
mov qword [rbp - 1], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x39], rdi
mov rax, rsi
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010610
Capabilities:
Create thread
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor esi, esi
mov dword [rbp - 0x78], esi
lea rcx, [0x180250bf0]
jmp 0x1802b803d
Function at 0x180013ed0
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rbx, rdx
mov qword [rsp + 0x20], rdx
cmp qword [rbx + 0x30], rcx
je 0x180013f0f
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x20], rbx
cmp rbx, rdx
je 0x180013f09
jmp 0x180013ef3
cmp qword [rbx + 0x30], rcx
jne 0x180013f3b
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rax + 8], rcx
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
movzx r8d, word [rbx + 0x48]
xor edx, edx
mov rcx, qword [rbx + 0x50]
call fcn.1801c4790
xor eax, eax
mov qword [rbx], rax
jmp 0x180013f3b
add rsp, 0x30
pop rbx
ret
Function at 0x180014990
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r15, vtable.CVolObject.0
mov qword [rsp + 0x20], r15
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r12, vtable.CVolMem.0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x70], 0xfe
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x6c]
call fcn.1801c4790
mov dword [rbp - 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180014b7b
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180014b72
nop word [rax + rax]
mov rdx, r14
mov qword [rsp + 0x38], rdx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180014ab7
mov rdx, rax
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x18]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
mov qword [rsp + 0x58], rcx
mov r8, r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
cmp word [rbp - 0x44], cx
je 0x180014b23
lea r9, [rbp - 0x44]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [r9 + rax*2], cx
jne 0x180014ae0
lea rbx, [rax*2 + 2]
test rbx, rbx
jle 0x180014b23
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180022e50
mov r8, rbx
lea rdx, [rbp - 0x44]
mov rcx, rax
call fcn.1801c40e0
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
jne 0x180014b36
lea rdx, [0x18024d0f0]
test r8, r8
cmovne rdx, rcx
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x180014b50
cmp qword [rdi + 0x48], rcx
lea rcx, [0x18024d0f0]
je 0x180014b50
mov rcx, qword [rdi + 0x38]
call fcn.1801ca310
mov rcx, rsi
test eax, eax
je 0x180014bea
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180014a90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, r14d
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], r12
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x180014ba4
lea rcx, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
call qword [r8 + 0x18]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x20], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1801c1730
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, dword [rbp - 0x68]
jmp 0x180014b7e
Function at 0x180015780
Capabilities:
Check for time delay via gettickcount
Encode data using base64
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rbp + 0x270], rax
lea r12, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp + 0x40], r12
lea rsi, vtable.CVolObject.0
mov qword [rbp + 0x40], rsi
xor r15d, r15d
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
lea r14, vtable.CVolMem.0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x70], 0x40
lea rcx, [0x180251140]
jmp 0x1802b9f80

Function at 0x1800169c0
Capabilities:
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Get hostname
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov esi, ecx
xor r14d, r14d
mov dword [rbp + 0x128], r14d
lea rcx, [0x1802511d0]
jmp 0x1802bbdf3
Function at 0x180021770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
xor esi, esi
mov r14, r9
mov qword [r8 + 0x28], rsi
mov rbx, r8
mov rbp, rdx
test rdx, rdx
jne 0x1800217a2
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
call qword [rax]
movzx edx, bp
mov r8, r14
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x180021897
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x180021897
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x18002188e
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov qword [rbx + 0x28], rsi
cmp qword [rbx + 0x20], rdi
jl 0x18002186c
cmp rdi, 1
jne 0x18002182a
movzx ecx, byte [r14]
mov rax, qword [rbx + 0x18]
mov byte [rax], cl
inc qword [rbx + 0x28]
jmp 0x180021889
cmp rdi, 2
jne 0x180021841
movzx ecx, word [r14]
mov rax, qword [rbx + 0x18]
mov word [rax], cx
add qword [rbx + 0x28], rdi
jmp 0x180021889
cmp rdi, 4
jne 0x180021856
mov ecx, dword [r14]
mov rax, qword [rbx + 0x18]
mov dword [rax], ecx
add qword [rbx + 0x28], rdi
jmp 0x180021889
cmp rdi, 8
jne 0x18002186c
mov rcx, qword [r14]
mov rax, qword [rbx + 0x18]
mov qword [rax], rcx
add qword [rbx + 0x28], rdi
jmp 0x180021889
test eax, eax
je 0x180021889
mov rdx, rdi
mov rcx, rbx
call fcn.180022e50
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.1801c40e0
mov esi, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x48]
mov rax, rsi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x180021eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
test rcx, rcx
je 0x180021fef
cmp word [rcx], 0
je 0x180021fef
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x60], rdx
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x60], rsi
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rax, vtable.CWString.0
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea r14, vtable.CVolMem.0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x10], 0xfe
cmp word [rcx], di
je 0x180021fa6
cmp word [rcx + 2], di
je 0x180021fa6
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x180021f60
cmp word [rcx + r8*2 - 2], 0x5c
jne 0x180021fa6
cmp word [rcx + r8*2 - 4], 0x3a
je 0x180021fa6
dec r8
mov rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.180024100
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x180021fa6
lea rcx, [0x18024d0f0]
cmp qword [rbp - 0x18], 0
cmovne rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, rdi
cmp eax, 0xffffffff
setne bl
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], r14
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x180021fd6
lea rcx, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
call qword [r8 + 0x18]
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x60], rsi
mov rax, rbx
jmp 0x180021ff1
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180027070
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800270b7
xor al, al
jmp 0x180027159
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800270e1
xor al, al
jmp 0x180027159
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180027151
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180027151
mov al, 1
jmp 0x180027159
jmp 0x180027157
xor al, al
add rsp, 0x78
ret

Function at 0x180027460
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180292590]
mov qword [rsp + 0x28], rax
jmp 0x180027480
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800274af
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800274ad
call sub.KERNEL32.dll_GetLastError
jmp 0x1800274b1
jmp 0x180027472
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800274f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802925a8], eax
je 0x18002751d
mov eax, 0x10dd
jmp 0x180027736
cmp dword [0x1802925ac], 0
je 0x180027531
mov eax, dword [0x1802925ac]
jmp 0x180027736
cmp qword [rsp + 0x78], 0
jne 0x180027543
mov eax, 0x57
jmp 0x180027736
cmp qword [rsp + 0x70], 0
jne 0x180027555
mov eax, 6
jmp 0x180027736
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180027587
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1802925ac], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1802925b0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180027736
mov ecx, 0x30
call fcn.1800291e4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800275f9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1802925ac], eax
cmp qword [rsp + 0x30], 0
je 0x1800275e4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.18001dcd0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1802925b0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180027736
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800274c0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800274c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180027656
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180027673
mov dword [rsp + 0x20], 9
cmp dword [0x1802925a0], 0
je 0x18002766e
jmp 0x1800275ba
jmp 0x1800275b0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1800276a0
mov dword [rsp + 0x20], 9
cmp dword [0x1802925a0], 0
je 0x18002769b
jmp 0x1800275ba
jmp 0x1800275b0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800276d7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800275b0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1802925c0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1802925c0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180027740
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802925a8], eax
je 0x18002775b
mov eax, 0x10dd
jmp 0x180027880
mov rax, qword [0x1802925c0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180027805
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800277d0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800277d0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180026e70
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18001dcd0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180027767
mov qword [0x1802925c0], 0
call fcn.180027220
mov rax, qword [0x1802925b8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180027869
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rsp + 0x48]
call fcn.18001dcd0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180027821
mov qword [0x1802925b8], 0
mov dword [0x1802925a8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180027db0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1802925ac], 0
je 0x180027dcd
mov eax, dword [0x1802925ac]
jmp 0x180027e93
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180027de0
xor eax, eax
jmp 0x180027e93
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1800291e4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180027e4e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180027e33
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rsp + 0x38]
call fcn.18001dcd0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1802925ac], eax
mov qword [0x1802925b0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180027e93
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180027e68
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180027e09
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1802925b8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1802925b8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x18002c7d8
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 r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x18002c840
call fcn.180034424
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18002c840
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002c886
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x18002c865
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x180114ff1.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x18002c884
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x180114ff1.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x18002d8b4
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x18002d91c
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x18002d906
cmp qword [rcx + 0x18], 0
jne 0x18002d901
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x18002d922
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x18002d91c
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1800385c4
call fcn.180035248
int3
call fcn.180035248
int3