joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010b9
Capabilities:
Delete file

Disassembly:
jmp 0x1400123d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x30b1a0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
mov rbx, rax
test rax, rax
je 0x1400125cb
cmp qword [rdi + 0x18], 0
je 0x1400125cb
cmp qword [rdi + 0x20], 0
je 0x1400125cb
mov rcx, rax
call fcn.14000f360
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140012434
mov qword [rbx + 8], rax
mov eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x30b188], eax
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140012451
mov qword [rbx + 0x305370], rax
mov rdx, qword [rdi + 0x18]
mov rcx, rbx
call fcn.140013cc0
mov qword [rbx + 0x10], rax
mov rcx, rbx
mov rdx, qword [rdi + 0x20]
call fcn.140013cc0
lea rcx, [rbx + 0x40]
mov qword [rbx + 0x20], rax
mov rdx, rsp
call sub.VCRUNTIME140.dll___intrinsic_setjmp
mov rbx, qword [rsp + 0x20]
test eax, eax
je 0x1400124da
mov rcx, qword [rbx + 0x160]
mov edi, dword [rbx + 4]
call fcn.140013bd0
xor ebp, ebp
mov qword [rbx + 0x160], rbp
mov rcx, qword [rbx + 0x30b198]
call fcn.140013bd0
mov qword [rbx + 0x30b198], rbp
mov rcx, qword [rbx + 0x10]
call fcn.140013bd0
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x20]
call fcn.140013bd0
mov rcx, rbx
mov qword [rbx + 0x20], rbp
call fcn.140013bd0
mov eax, edi
jmp 0x1400125d0
cmp dword [rbx + 0x30b188], 0
je 0x1400124f0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x140012506
lea r8, [0x14001d158]
mov rcx, rbx
lea rdx, str.makempx.log
call fcn.140013b60
mov qword [rbx + 0x30], rax
mov rcx, rbx
lea rax, str.dvitomp
mov qword [rbx + 0x30b190], rax
mov rdx, qword [rbx + 0x10]
call fcn.14000d700
test eax, eax
jne 0x1400125eb
mov rdx, qword [rbx + 0x28]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140012570
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140012570
lea rcx, str.makempx.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rcx, str.mpxerr.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
mov rcx, rbx
call fcn.14000dae0
mov rcx, qword [rbx + 0x160]
mov r14d, dword [rbx + 4]
call fcn.140013bd0
xor ebp, ebp
mov esi, ebp
cmp dword [rbx + 0x2fcc50], ebp
jle 0x1400125b6
lea rdi, [rbx + 0xfd098]
nop dword [rax + rax]
mov rcx, qword [rdi]
call fcn.140013bd0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x2fcc50]
jl 0x1400125a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp r14d, 1
cmovne ebp, r14d
mov eax, ebp
jmp 0x1400125d0
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
cmp dword [rbx + 0x30b188], 0
jne 0x1400125fe
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r9, qword [rbx + 0x20]
lea r8, str.mpxerr.dvi
lea rdx, str.Dvi_conversion_failed:__s__s_n
mov rcx, rbx
call fcn.140009a70
int3
Function at 0x14000138e
Capabilities:
Terminate process

Disassembly:
jmp 0x14001578c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400123d0
Capabilities:
Delete file

Disassembly:
jmp 0x1400123d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x30b1a0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
mov rbx, rax
test rax, rax
je 0x1400125cb
cmp qword [rdi + 0x18], 0
je 0x1400125cb
cmp qword [rdi + 0x20], 0
je 0x1400125cb
mov rcx, rax
call fcn.14000f360
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140012434
mov qword [rbx + 8], rax
mov eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x30b188], eax
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140012451
mov qword [rbx + 0x305370], rax
mov rdx, qword [rdi + 0x18]
mov rcx, rbx
call fcn.140013cc0
mov qword [rbx + 0x10], rax
mov rcx, rbx
mov rdx, qword [rdi + 0x20]
call fcn.140013cc0
lea rcx, [rbx + 0x40]
mov qword [rbx + 0x20], rax
mov rdx, rsp
call sub.VCRUNTIME140.dll___intrinsic_setjmp
mov rbx, qword [rsp + 0x20]
test eax, eax
je 0x1400124da
mov rcx, qword [rbx + 0x160]
mov edi, dword [rbx + 4]
call fcn.140013bd0
xor ebp, ebp
mov qword [rbx + 0x160], rbp
mov rcx, qword [rbx + 0x30b198]
call fcn.140013bd0
mov qword [rbx + 0x30b198], rbp
mov rcx, qword [rbx + 0x10]
call fcn.140013bd0
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x20]
call fcn.140013bd0
mov rcx, rbx
mov qword [rbx + 0x20], rbp
call fcn.140013bd0
mov eax, edi
jmp 0x1400125d0
cmp dword [rbx + 0x30b188], 0
je 0x1400124f0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x140012506
lea r8, [0x14001d158]
mov rcx, rbx
lea rdx, str.makempx.log
call fcn.140013b60
mov qword [rbx + 0x30], rax
mov rcx, rbx
lea rax, str.dvitomp
mov qword [rbx + 0x30b190], rax
mov rdx, qword [rbx + 0x10]
call fcn.14000d700
test eax, eax
jne 0x1400125eb
mov rdx, qword [rbx + 0x28]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140012570
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140012570
lea rcx, str.makempx.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rcx, str.mpxerr.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
mov rcx, rbx
call fcn.14000dae0
mov rcx, qword [rbx + 0x160]
mov r14d, dword [rbx + 4]
call fcn.140013bd0
xor ebp, ebp
mov esi, ebp
cmp dword [rbx + 0x2fcc50], ebp
jle 0x1400125b6
lea rdi, [rbx + 0xfd098]
nop dword [rax + rax]
mov rcx, qword [rdi]
call fcn.140013bd0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x2fcc50]
jl 0x1400125a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp r14d, 1
cmovne ebp, r14d
mov eax, ebp
jmp 0x1400125d0
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
cmp dword [rbx + 0x30b188], 0
jne 0x1400125fe
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r9, qword [rbx + 0x20]
lea r8, str.mpxerr.dvi
lea rdx, str.Dvi_conversion_failed:__s__s_n
mov rcx, rbx
call fcn.140009a70
int3
Function at 0x1400164b4
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164b4
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400164fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400164fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400164fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400164fe
cmp dword [rcx + 0x84], 0xe
jbe 0x1400164fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016500
xor al, al
add rsp, 0x28
ret
Function at 0x140003570
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 0x1400035a3
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 0x1400035e9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400035e4
nop
cmp rbx, rcx
jae 0x1400035e9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1400035d0
cmp rbx, rcx
jb 0x1400035ed
xor eax, eax
jmp 0x1400035f9
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 0x140004620
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea r8, [rcx + 0x120]
mov rdi, rcx
mov rcx, rsi
mov edx, 0x3ef
call fcn.14001aa20
lea r8, [rdi + 0x1f8]
mov edx, 0x3e8
mov rcx, rsi
call fcn.14001aa20
lea r8, [rdi + 0x2d0]
mov edx, 0x3ed
mov rcx, rsi
call fcn.14001aef4
mov edx, dword [rdi + 0x2d0]
mov r9d, 0x168
xor r8d, r8d
mov rcx, rsi
call fcn.14001acb4
lea r8, [rdi + 0x2d8]
mov edx, 0x3ef
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14001af54
Function at 0x140005370
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp qword [0x14034c2c8], 0
je 0x14000538f
call fcn.140004f60
test rax, rax
je 0x14000538a
call rax
call fcn.140004ef0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140005790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_712
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 + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000d287
cmp dword [rcx + 0xd8], 0
jne 0x14000d287
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.14001a8e8
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.14000d5e4
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 0x14000c764
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
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x14000c7d6
call fcn.14001a8e8
mov r8d, 0xf0
mov rdx, rsi
mov r15, qword [rax + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000c7d6
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000c81f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov esi, 1
test rdi, rdi
je 0x14000c804
mov r10, qword [r12]
mov r9, r14
mov r8, rdi
mov rdx, rbp
mov rcx, r12
call qword [r10 + 0x40]
mov esi, eax
test rbx, rbx
je 0x14000c804
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14000c81d
mov r8, qword [rcx]
mov rdx, r14
call qword [r8 + 0x140]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000d248
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_712
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 + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000d287
cmp dword [rcx + 0xd8], 0
jne 0x14000d287
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.14001a8e8
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.14000d5e4
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 0x14000d2e4
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, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.14001a8e8
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14000d340
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14000d378
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000df80
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1403410b4]
test eax, eax
je 0x14000dfd2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403410b4]
test eax, eax
jne 0x14000dfdb
call fcn.14000e0d0
test eax, eax
je 0x14000dff7
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1402544e0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14000dfff
xor eax, eax
jmp 0x14000e057
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14000e039
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000e03b
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14000e054
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x14000f92c
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 0x14000f9a6
xor r8d, r8d
call fcn.14000fbf0
mov rsi, rax
test rax, rax
jne 0x14000f962
mov eax, edi
jmp 0x14000f9bc
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 0x14000f95e
mov r9, qword [rcx + 0xd8]
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 0x140010684
Capabilities:
Delete registry key

Disassembly:
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 0x1400106e7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400106fb
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400106fb
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x140010700
cmp dword [rcx + 8], 0
je 0x1400106fb
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140010700
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140013be0
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 r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140013c48
call fcn.14001a8e8
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140013c48
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140013c6a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14001ab20
mov esi, eax
test rdi, rdi
je 0x140013c68
test rbx, rbx
je 0x140013c68
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 r14
ret

Function at 0x1400156e0
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.14001ca18
mov rdi, rax
test rax, rax
je 0x14001575c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140015757
cmp dword [rbx], 0x40
jb 0x140015757
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, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140015757
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140015760
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 0x140019328
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1403410b4]
test eax, eax
je 0x14001937a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403410b4]
test eax, eax
jne 0x140019383
call fcn.14000e0d0
test eax, eax
je 0x14001939f
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402544e0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400193aa
xor eax, eax
jmp 0x140019458
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14001943a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001943c
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140019455
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x140019474
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x1403410b4]
test eax, eax
je 0x1400194be
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403410b4]
test eax, eax
jne 0x1400194c7
call fcn.14000e0d0
test eax, eax
je 0x1400194e3
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402544e0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400194eb
xor eax, eax
jmp 0x140019532
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x140019515
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140019517
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140019530
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140019548
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140344488]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403410b4]
test eax, eax
je 0x140019593
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403410b4]
test eax, eax
jne 0x14001959c
call fcn.14000e0d0
test eax, eax
je 0x1400195b8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402544e0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400195c0
xor eax, eax
jmp 0x14001961d
test rbx, rbx
jne 0x1400195e0
lea rcx, str.InitCommonControlsEx
call fcn.140019278
mov rbx, rax
test rax, rax
je 0x1400195eb
mov qword [0x140344488], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140019600
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140019602
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001961b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret