joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180010570
Capabilities:
Create thread

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, [0x180250be0]
jmp 0x1802b803d
Function at 0x180014010
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 0x18001404f
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x20], rbx
cmp rbx, rdx
je 0x180014049
jmp 0x180014033
cmp qword [rbx + 0x30], rcx
jne 0x18001407b
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.1801c4d20
xor eax, eax
mov qword [rbx], rax
jmp 0x18001407b
add rsp, 0x30
pop rbx
ret
Function at 0x180014ad0
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.1801c4d20
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 0x180014cbb
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180014cb2
nop word [rax + rax]
mov rdx, r14
mov qword [rsp + 0x38], rdx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180014bf7
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 0x180014c63
lea r9, [rbp - 0x44]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [r9 + rax*2], cx
jne 0x180014c20
lea rbx, [rax*2 + 2]
test rbx, rbx
jle 0x180014c63
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800231e0
mov r8, rbx
lea rdx, [rbp - 0x44]
mov rcx, rax
call fcn.1801c4670
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
jne 0x180014c76
lea rdx, [0x18024d0e0]
test r8, r8
cmovne rdx, rcx
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x180014c90
cmp qword [rdi + 0x48], rcx
lea rcx, [0x18024d0e0]
je 0x180014c90
mov rcx, qword [rdi + 0x38]
call fcn.1801ca8a0
mov rcx, rsi
test eax, eax
je 0x180014d2a
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180014bd0
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 0x180014ce4
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.1801c1cc0
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 0x180014cbe
Function at 0x1800158c0
Capabilities:
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 - 0x270]
sub rsp, 0x370
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rbp + 0x268], rax
lea r15, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp + 0x38], r15
lea rsi, vtable.CVolObject.0
mov qword [rbp + 0x38], rsi
xor r13d, r13d
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
lea r14, vtable.CVolMem.0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x68], 0x40
lea rcx, [0x180251130]
jmp 0x1802ba059

Function at 0x180016ae0
Capabilities:
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, str._f2
jmp 0x1802bbf30
Function at 0x180021a80
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 0x180021ab2
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 0x180021ba7
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x180021ba7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x180021b9e
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 0x180021b7c
cmp rdi, 1
jne 0x180021b3a
movzx ecx, byte [r14]
mov rax, qword [rbx + 0x18]
mov byte [rax], cl
inc qword [rbx + 0x28]
jmp 0x180021b99
cmp rdi, 2
jne 0x180021b51
movzx ecx, word [r14]
mov rax, qword [rbx + 0x18]
mov word [rax], cx
add qword [rbx + 0x28], rdi
jmp 0x180021b99
cmp rdi, 4
jne 0x180021b66
mov ecx, dword [r14]
mov rax, qword [rbx + 0x18]
mov dword [rax], ecx
add qword [rbx + 0x28], rdi
jmp 0x180021b99
cmp rdi, 8
jne 0x180021b7c
mov rcx, qword [r14]
mov rax, qword [rbx + 0x18]
mov qword [rax], rcx
add qword [rbx + 0x28], rdi
jmp 0x180021b99
test eax, eax
je 0x180021b99
mov rdx, rdi
mov rcx, rbx
call fcn.1800231e0
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.1801c4670
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 0x1800221b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x180299e48], 0
jne 0x1800221d8
mov qword [0x180299e48], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1801cab30
call fcn.1801cab04
cmp qword [0x180299e48], 0
movsxd rbx, eax
jne 0x180022202
mov qword [0x180299e48], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1801cab30
call fcn.1801cab04
movzx r8d, ax
mov eax, 0x68db8bad
shl ebx, 0x10
or r8d, ebx
imul r8d
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x2710
sub r8d, ecx
mov eax, r8d
add rsp, 0x20
pop rbx
ret
Function at 0x180022240
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 0x18002237f
cmp word [rcx], 0
je 0x18002237f
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 0x180022336
cmp word [rcx + 2], di
je 0x180022336
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1800222f0
cmp word [rcx + r8*2 - 2], 0x5c
jne 0x180022336
cmp word [rcx + r8*2 - 4], 0x3a
je 0x180022336
dec r8
mov rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.1800244e0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x180022336
lea rcx, [0x18024d0e0]
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 0x180022366
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 0x180022381
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 0x180027600
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 0x180027647
xor al, al
jmp 0x1800276e9
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 0x180027671
xor al, al
jmp 0x1800276e9
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 0x1800276e1
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 0x1800276e1
mov al, 1
jmp 0x1800276e9
jmp 0x1800276e7
xor al, al
add rsp, 0x78
ret

Function at 0x1800279f0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180292590]
mov qword [rsp + 0x28], rax
jmp 0x180027a10
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180027a3f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180027a3d
call sub.KERNEL32.dll_GetLastError
jmp 0x180027a41
jmp 0x180027a02
xor eax, eax
add rsp, 0x38
ret
Function at 0x180027a80
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 0x180027aad
mov eax, 0x10dd
jmp 0x180027cc6
cmp dword [0x1802925ac], 0
je 0x180027ac1
mov eax, dword [0x1802925ac]
jmp 0x180027cc6
cmp qword [rsp + 0x78], 0
jne 0x180027ad3
mov eax, 0x57
jmp 0x180027cc6
cmp qword [rsp + 0x70], 0
jne 0x180027ae5
mov eax, 6
jmp 0x180027cc6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180027b17
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 0x180027cc6
mov ecx, 0x30
call fcn.180029774
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180027b89
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1802925ac], eax
cmp qword [rsp + 0x30], 0
je 0x180027b74
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.18001de20
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1802925b0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180027cc6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180027a50
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180027a50
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 0x180027be6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180027c03
mov dword [rsp + 0x20], 9
cmp dword [0x1802925a0], 0
je 0x180027bfe
jmp 0x180027b4a
jmp 0x180027b40
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180027c30
mov dword [rsp + 0x20], 9
cmp dword [0x1802925a0], 0
je 0x180027c2b
jmp 0x180027b4a
jmp 0x180027b40
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 0x180027c67
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180027b40
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 0x180027cd0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802925a8], eax
je 0x180027ceb
mov eax, 0x10dd
jmp 0x180027e10
mov rax, qword [0x1802925c0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180027d95
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 0x180027d60
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180027d60
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180027400
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.18001de20
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180027cf7
mov qword [0x1802925c0], 0
call fcn.1800277b0
mov rax, qword [0x1802925b8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180027df9
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.18001de20
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180027db1
mov qword [0x1802925b8], 0
mov dword [0x1802925a8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180028340
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1802925ac], 0
je 0x18002835d
mov eax, dword [0x1802925ac]
jmp 0x180028423
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180028370
xor eax, eax
jmp 0x180028423
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.180029774
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800283de
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800283c3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rsp + 0x38]
call fcn.18001de20
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1802925ac], eax
mov qword [0x1802925b0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180028423
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800283f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180028399
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 0x18002cd68
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 0x18002cdd0
call fcn.1800349b4
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 0x18002cdd0
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002ce16
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x18002cdf5
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x180115581.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x18002ce14
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x180115581.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 0x18002de44
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x18002deac
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x18002de96
cmp qword [rcx + 0x18], 0
jne 0x18002de91
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x18002deb2
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 0x18002deac
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.180038b54
call fcn.1800357d8
int3
call fcn.1800357d8
int3
Function at 0x18002ef08
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 + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x18002ef83
xor r8d, r8d
call fcn.18002f1d8
mov rsi, rax
test rax, rax
je 0x18002ef7f
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x18002ef7f
mov eax, dword [rsp + 0x30]
jmp 0x18002ef99
mov eax, edi
jmp 0x18002ef99
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
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 0x18002fcfc
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18002fd63
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002fd77
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002fd77
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x180115581.0]
jmp 0x18002fd7c
cmp dword [rcx + 8], 0
je 0x18002fd77
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x18002fd7c
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180032dc8
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 0x180032dee
mov r8, rdx
mov rdx, qword [rbx]
call fcn.18002fcfc
jmp 0x180032e5a
cmp byte [0x180292660], 0
jne 0x180032e32
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180032e22
lea rdx, [0x1801fb2f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180292658], rax
jmp 0x180032e29
mov rax, qword [0x180292658]
mov byte [0x180292660], 1
jmp 0x180032e39
mov rax, qword [0x180292658]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x180032e53
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x180115581.0]
jmp 0x180032e5a
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180032e68
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret