joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025b00
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, r8
cmp dword [0x1801aa490], 0
je 0x180025da5
test ecx, ecx
jne 0x180025da5
test rbx, rbx
je 0x180025da5
mov rdi, qword [r8]
mov eax, dword [r8 + 8]
cmp eax, dword [0x1801a92cc]
je 0x180025da5
cmp eax, dword [0x1801a931c]
jne 0x180025b7e
mov eax, dword [0x1801aa490]
cmp eax, 1
je 0x180025b64
cmp eax, 0x10
jne 0x180025da5
mov ecx, dword [r8 + 0x10]
call fcn.18000e960
mov qword [0x1801aa4b0], rax
call fcn.18002e000
jmp 0x180025da5
test dl, 1
je 0x180025da5
sub eax, 0x102
je 0x180025c82
sub eax, 4
je 0x180025c25
sub eax, 7
je 0x180025c06
sub eax, 1
je 0x180025be8
cmp eax, 1
jne 0x180025da5
cmp dword [0x1801aa490], 0x40
jne 0x180025da5
mov eax, dword [r8 + 0x18]
bt rax, 0xb
jae 0x180025da5
mov r9, rdi
xor r8d, r8d
mov edx, dword [0x1801a9358]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180025da5
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x1801a92c0]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180025da5
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [0x1801a92c0]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180025da5
cmp dword [0x1801aa490], 0x1000000
jne 0x180025da5
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetUBound
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [0x1801aa4c8], 1
jne 0x180025da5
test ax, ax
je 0x180025da5
cmp qword [rbx + 0x10], 0xd
jne 0x180025da5
mov r9, rdi
mov r8d, 4
mov edx, dword [0x1801a92bc]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x180025da5
mov eax, dword [0x1801aa490]
cmp eax, 0x40
jne 0x180025cd7
mov eax, dword [r8 + 0x18]
test rax, 0xff0000
je 0x180025cb8
mov r9, rdi
mov r8, qword [r8 + 0x10]
mov edx, dword [0x1801a9354]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180025da5
mov r9, rdi
mov r8, qword [r8 + 0x10]
mov edx, dword [0x1801a9354]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180025da5
cmp eax, 0x1000000
jne 0x180025d28
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [0x1801aa4c8], 0
jne 0x180025da5
test ax, ax
jne 0x180025da5
cmp qword [rbx + 0x10], 0xd
jne 0x180025da5
mov r9, rdi
mov r8d, 3
mov edx, dword [0x1801a92bc]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x180025da5
cmp eax, 0x80
jne 0x180025d67
movabs rax, 0x8000010004
cmp qword [0x1801aa4b0], rax
jne 0x180025da5
cmp qword [r8 + 0x10], 0xd
jne 0x180025da5
mov r9, rdi
mov r8d, 3
mov edx, dword [0x1801a92bc]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x180025da5
cmp eax, 0x800
jne 0x180025da5
movabs rax, 0x80000010010
cmp qword [0x1801aa4b0], rax
jne 0x180025da5
cmp qword [r8 + 0x10], 0xd
jne 0x180025da5
mov r9, rdi
mov r8d, 3
mov edx, dword [0x1801a92bc]
mov rcx, qword [0x1801aa4b8]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180027580
Capabilities:
Set global application hook

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rbx, ecx
mov rdi, rdx
lea rcx, [0x1801aaf10]
mov edx, 0x7530
call fcn.180030170
lea rcx, [0x1801aaf10]
call fcn.1800302f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [0x1801aa158]
xor r9d, r9d
imul rbx, rbx, 0x260
lea rsi, [0x1801ce010]
lea ecx, [r9 + 3]
mov rdx, qword [rbx + rsi + 0x30]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + rsi + 8], rax
call fcn.1800d0840
lea rcx, [0x1801aaf10]
call fcn.180030320
lea rcx, [0x1801aaf10]
call fcn.1800301b0
cmp qword [rbx + rsi + 8], 0
je 0x180027668
lea rcx, [rbx + rsi + 0x58]
mov r8d, 0x103
mov rdx, rdi
mov dword [rbx + rsi], 1
mov dword [rbx + rsi + 4], 1
call fcn.18007ea70
cmp dword [0x1801b0450], 0
je 0x180027653
lea r9, str.setgdhook_successful
lea r8, [0x18012b1a8]
lea rcx, [0x1801afb58]
or edx, 0xffffffff
call fcn.1800b3b40
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [0x1801b0450], 0
je 0x18002768e
lea r9, str.setgdhook_failed
lea r8, [0x18012b1a8]
lea rcx, [0x1801afb58]
or edx, 0xffffffff
call fcn.1800b3b40
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180028280
Capabilities:
Set global application hook

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, ecx
test ecx, ecx
je 0x1800283a5
cmp dword [0x1801b0450], 0
je 0x1800282ba
mov dword [rsp + 0x20], ecx
lea r9, str.setthook___08x_
lea r8, [0x18012b1a8]
lea rcx, [0x1801afb58]
or edx, 0xffffffff
call fcn.1800b3b40
call fcn.180027bc0
xor r8d, r8d
lea rdx, [0x180026cc0]
lea ecx, [r8 + 4]
mov r9d, ebx
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r8d, r8d
lea rdx, [0x180026d10]
lea ecx, [r8 + 0xc]
mov r9d, ebx
mov qword [0x1801aa900], rax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r8d, r8d
lea rdx, [0x180027120]
lea ecx, [r8 + 3]
mov r9d, ebx
mov qword [0x1801aa908], rax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp qword [0x1801aa900], 0
mov qword [0x1801aa910], rax
je 0x180028376
cmp qword [0x1801aa908], 0
je 0x180028376
test rax, rax
je 0x180028376
cmp dword [0x1801b0450], 0
mov dword [0x1801aa920], 1
je 0x18002836b
mov qword [rsp + 0x28], rax
lea r9, str.setthook_successful___08x____08x_
lea r8, [0x18012b1a8]
lea rcx, [0x1801afb58]
or edx, 0xffffffff
mov dword [rsp + 0x20], ebx
call fcn.1800b3b40
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [0x1801b0450], 0
je 0x1800283a0
lea r9, str.setthook_failed___08x_
lea r8, [0x18012b1a8]
lea rcx, [0x1801afb58]
or edx, 0xffffffff
mov dword [rsp + 0x20], ebx
call fcn.1800b3b40
call fcn.180027bc0
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x180039204
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x1801903f8]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x180039276
lea r8, [0x1801374a8]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.180081228
test eax, eax
je 0x180039298
cmp eax, 0xc
je 0x180039270
cmp eax, 0x16
je 0x18003926a
cmp eax, 0x22
je 0x18003926a
cmp eax, 0x50
je 0x180039298
call fcn.1800329e8
int3
call fcn.1800329e8
int3
call fcn.1800329a0
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800393bb
call fcn.1800813e0
mov edi, dword [rax]
call fcn.1800813e0
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.18007ecc4
mov ebx, eax
call fcn.1800813e0
cmp dword [rax], 0
je 0x180039320
call fcn.1800813e0
cmp dword [rax], 0
je 0x180039327
cmp dword [rax], 0xc
je 0x180039315
cmp dword [rax], 0x16
je 0x18003930a
cmp dword [rax], 0x22
je 0x18003930a
cmp dword [rax], 0x50
je 0x180039327
mov ecx, 0x80004005
call fcn.180004010
int3
mov ecx, 0x80070057
call fcn.180004010
int3
mov ecx, 0x8007000e
call fcn.180004010
int3
call fcn.1800813e0
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x1800393bb
cmp ebx, esi
jae 0x1800393bb
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], VarBstrFromDate
call fcn.18007ead0
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800393a6
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800393a6
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x1800393ae
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1800393bd
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.18007e1e0
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180041b7c
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.180016020
nop
cmp rbx, 0xffffffff80000000
jne 0x180041c08
call fcn.18003d518
cmp eax, 1
jne 0x180041c08
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.18003c440
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180004ca0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180041c01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180041c3f
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 0x180041c54
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.180016020
nop
cmp rbx, 0xffffffff80000000
jne 0x180041ce0
call fcn.18003d518
cmp eax, 1
jne 0x180041ce0
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.18003c440
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180004ca0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180041cd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180041d1f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180041d34
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.180016020
nop
cmp rbx, 0xffffffff80000000
jne 0x180041db0
call fcn.18003d518
cmp eax, 1
jne 0x180041db0
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.18003c440
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180004ca0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180041da9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180041de1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x18004cc00
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 0x18004cc77
call fcn.18004cb8c
mov rsi, rax
test rax, rax
jne 0x18004cc33
mov eax, edi
jmp 0x18004cc8d
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 0x18004cc2f
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 0x18004fc94
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.18004e7b8
mov rsi, rax
test rax, rax
je 0x18004fd10
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x18004fd0b
cmp dword [rbx], 0x40
jb 0x18004fd0b
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 0x18004fd0b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x18004fd14
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 0x1800581bc
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 0x180058224
call fcn.18003e7d0
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 0x180058224
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x180058246
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.180057bcc
mov esi, eax
test rdi, rdi
je 0x180058244
test rbx, rbx
je 0x180058244
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 0x1800591b8
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 0x1800591f6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1800592aa
call fcn.180032e40
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x180059215
mov ecx, 0x80004005
call fcn.180004010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
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.1800812ac
test eax, eax
je 0x18005927d
cmp eax, 0xc
je 0x180059277
cmp eax, 0x16
je 0x180059271
cmp eax, 0x22
je 0x180059271
cmp eax, 0x50
je 0x18005927d
call fcn.1800329e8
int3
call fcn.1800329e8
int3
call fcn.1800329a0
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 0x1800592a8
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 0x18005993c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CNewTypeDlg.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 0x180062af3
cmp dword [rcx + 0xa8], 0
jne 0x180062af3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.18003e7d0
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.180062a58
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 0x180062ab4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CNewTypeDlg.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 0x180062af3
cmp dword [rcx + 0xa8], 0
jne 0x180062af3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.18003e7d0
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.180062a58
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 0x18007a6d8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1801903f8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x18007a70e
xor eax, eax
jmp 0x18007a75a
lea rcx, [rsp + 0x20]
call fcn.18008120c
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x18007a73a
lea r8, [0x18012b460]
lea rcx, [rsp + 0x20]
mov edx, 0x105
call fcn.180081b80
test eax, eax
jne 0x18007a70a
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x105
call fcn.180081b80
test eax, eax
jne 0x18007a70a
lea rcx, [rsp + 0x20]
call fcn.180034590
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18007e1e0
add rsp, 0x240
pop rbx
ret

Function at 0x180081aec
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1801903f8]
jne 0x18007e1fa
rol rcx, 0x10
test cx, 0xffff
jne 0x18007e1f6
repz ret
ror rcx, 0x10
jmp 0x18008641c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1801aec80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1801aed78]
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 0x1800864a1
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, [0x1801aec80]
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 0x1800864c3
mov rax, qword [rsp + 0x88]
mov qword [0x1801aed78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1801aed18], rax
mov rax, qword [0x1801aed78]
mov qword [0x1801aebf0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1801aed00], rax
mov dword [0x1801aebe0], 0xc0000409
mov dword [0x1801aebe4], 1
mov rax, qword [0x1801903f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180190400]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1801aec78], eax
mov ecx, 1
call fcn.18009b778
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180144ea8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1801aec78], 0
jne 0x18008654a
mov ecx, 1
call fcn.18009b778
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 0x1800a5114
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.180083318
xor ebx, ebx
mov rdi, rax
cmp qword [0x1801afa00], rbx
jne 0x1800a521a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1800a52ef
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800a52ef
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180147bc0]
mov rcx, rsi
mov qword [0x1801afa00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180147ba8]
mov rcx, rsi
mov qword [0x1801afa08], 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 [0x1801afa10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1801afa20], rax
test rax, rax
je 0x1800a5211
lea rdx, [0x180147b70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1801afa18], rax
jmp 0x1800a5221
mov rax, qword [0x1801afa18]
jmp 0x1800a5228
mov rax, qword [0x1801afa18]
mov r11, qword [0x1801afa20]
cmp rax, rdi
je 0x1800a5290
cmp r11, rdi
je 0x1800a5290
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1801afa20]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1800a5290
test rax, rax
je 0x1800a5290
call rsi
test rax, rax
je 0x1800a528a
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 0x1800a528a
test byte [rsp + 0x38], 1
jne 0x1800a5290
bts ebp, 0x15
jmp 0x1800a52ce
mov rcx, qword [0x1801afa08]
cmp rcx, rdi
je 0x1800a52ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800a52ce
call rax
mov rbx, rax
test rax, rax
je 0x1800a52ce
mov rcx, qword [0x1801afa10]
cmp rcx, rdi
je 0x1800a52ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800a52ce
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1801afa00]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800a52ef
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1800a52f1
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