joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d74c0
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 [0x1402e1770]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x1400d750b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x1400d7514
call fcn.1400383b0
test eax, eax
je 0x1400d7530
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d7538
xor eax, eax
jmp 0x1400d759d
test rbx, rbx
jne 0x1400d7558
lea rcx, str.ImageList_Destroy
call fcn.14003800c
mov rbx, rax
test rax, rax
je 0x1400d756b
mov qword [0x1402e1770], rax
mov rcx, rbx
call fcn.1401e2468
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 0x1400d7580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d7582
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d759b
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
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1401205f2
xor eax, eax
add rsp, 0x28
ret
call fcn.140120604
mov rcx, rax
add rsp, 0x28
jmp 0x1400d74c0

Function at 0x1400e29b4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x1400e29e6
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400e29e6
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14018b8c8
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e29f8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400e2a23
mov r8, rdx
mov rdx, qword [rdi]
call fcn.14003fcbc
jmp 0x1400e2a9b
cmp byte [0x1402e19a0], 0
jne 0x1400e2a6a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e2a5a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1402e1998], rax
jmp 0x1400e2a61
mov rbx, qword [0x1402e1998]
mov byte [0x1402e19a0], 1
jmp 0x1400e2a71
mov rbx, qword [0x1402e1998]
test rbx, rbx
je 0x1400e2a8f
mov rcx, rbx
call fcn.1401e2468
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x1400e2a9b
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e7d2c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx esi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x1402e1cc8]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1402db138]
test eax, eax
je 0x1400e7d8a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x1400e7d93
call fcn.1400383b0
test eax, eax
je 0x1400e7daf
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400e7db9
movzx eax, r13w
jmp 0x1400e7e2a
test rbx, rbx
jne 0x1400e7dd9
lea rcx, str.GetFileTitleW
call fcn.1400e7c98
mov rbx, rax
test rax, rax
je 0x1400e7df5
mov qword [0x1402e1cc8], rax
mov rcx, rbx
call fcn.1401e2468
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx esi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp si, r13w
sete bl
test ebx, ebx
je 0x1400e7e0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400e7e0e
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400e7e27
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140102478
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1401024a1
mov rdi, qword [rdx + 0x10]
jmp 0x1401024f2
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1401024c2
call fcn.1400453d8
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1401024dc
call fcn.1400453d8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401024f2
call fcn.1400453d8
call fcn.140052a58
cmp qword [rax + 0x68], 0
je 0x14010250c
mov rdx, rdi
mov rcx, rbp
call fcn.140101784
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.140102778
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x140102533
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x140102542
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010290c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x1402e1eb0]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x140102958
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x140102961
call fcn.1400383b0
test eax, eax
je 0x14010297d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140102988
xor eax, eax
jmp 0x140102a17
test r14, r14
jne 0x1401029a5
lea rcx, str.CreatePropertySheetPageW
call fcn.140102c24
test rax, rax
je 0x1401029e2
mov qword [0x1402e1eb0], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1401029c6
cmp dword [rdi], 0x60
jb 0x1401029c6
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402d3008]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1402e1eb0]
mov rcx, rbx
call fcn.1401e2468
mov rcx, rdi
call rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1401029f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401029fb
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140102a14
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140102a30
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 [0x1402e1eb8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x140102a7b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x140102a84
call fcn.1400383b0
test eax, eax
je 0x140102aa0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140102aa8
xor eax, eax
jmp 0x140102b0d
test rbx, rbx
jne 0x140102ac8
lea rcx, str.DestroyPropertySheetPage
call fcn.140102c24
mov rbx, rax
test rax, rax
je 0x140102adb
mov qword [0x1402e1eb8], rax
mov rcx, rbx
call fcn.1401e2468
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 0x140102af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140102af2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140102b0b
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

Function at 0x140102b24
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
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x1402e1ec0]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x140102b73
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x140102b7c
call fcn.1400383b0
test eax, eax
je 0x140102b98
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140102ba2
or rax, 0xffffffffffffffff
jmp 0x140102c0c
test rbx, rbx
jne 0x140102bc2
lea rcx, str.PropertySheetW
call fcn.140102c24
mov rbx, rax
test rax, rax
je 0x140102bd7
mov qword [0x1402e1ec0], rax
mov rcx, rbx
call fcn.1401e2468
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x140102bee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140102bf0
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140102c09
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140120de0
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], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402e2338]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1402db138]
test eax, eax
je 0x140120e3d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x140120e46
call fcn.1400383b0
test eax, eax
je 0x140120e62
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140120e6d
xor eax, eax
jmp 0x140120f00
test rbx, rbx
jne 0x140120e8d
lea rcx, str.ImageList_LoadImageW
call fcn.14003800c
mov rbx, rax
test rax, rax
je 0x140120ecc
mov qword [0x1402e2338], rax
mov rcx, rbx
call fcn.1401e2468
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140120ee2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140120ee4
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140120efd
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x140138818
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

Function at 0x1401389e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x140138a2a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x140138eb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140138f86
test rbx, rbx
je 0x140138f8c
test r9, r9
je 0x140138f92
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140138f6f
cmp dword [rsp + 0x48], 3
jne 0x140138f6f
test eax, eax
jne 0x140138f6f
cmp dword [rdi], eax
je 0x140138f6f
mov ecx, dword [rdi]
call fcn.14002a7c0
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140138f63
cmp dword [rsp + 0x48], 3
jne 0x140138f63
test eax, eax
jne 0x140138f63
mov eax, 1
jmp 0x140138f71
mov rcx, qword [rbx]
call fcn.14002a7b8
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14004454c
int3
call fcn.14004454c
int3
call fcn.14004454c
int3

Function at 0x1401393c4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401393d5
xor eax, eax
jmp 0x140139403
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14013940c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013941d
xor eax, eax
jmp 0x140139441
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140185d38
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 [0x1402e3928]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x140185d83
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x140185d8c
call fcn.1400383b0
test eax, eax
je 0x140185da8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140185db0
xor eax, eax
jmp 0x140185e15
test rbx, rbx
jne 0x140185dd0
lea rcx, str.ChooseColorW
call fcn.1400e7c98
mov rbx, rax
test rax, rax
je 0x140185de3
mov qword [0x1402e3928], rax
mov rcx, rbx
call fcn.1401e2468
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 0x140185df8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140185dfa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140185e13
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

Function at 0x14018f5b8
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 [0x1402e3b90]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x14018f603
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x14018f60c
call fcn.1400383b0
test eax, eax
je 0x14018f628
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018f630
xor eax, eax
jmp 0x14018f695
test rbx, rbx
jne 0x14018f650
lea rcx, str.GetOpenFileNameW
call fcn.1400e7c98
mov rbx, rax
test rax, rax
je 0x14018f663
mov qword [0x1402e3b90], rax
mov rcx, rbx
call fcn.1401e2468
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 0x14018f678
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14018f67a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018f693
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
Function at 0x14018f6ac
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 [0x1402e3b98]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x14018f6f7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x14018f700
call fcn.1400383b0
test eax, eax
je 0x14018f71c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018f724
xor eax, eax
jmp 0x14018f789
test rbx, rbx
jne 0x14018f744
lea rcx, str.GetSaveFileNameW
call fcn.1400e7c98
mov rbx, rax
test rax, rax
je 0x14018f757
mov qword [0x1402e3b98], rax
mov rcx, rbx
call fcn.1401e2468
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 0x14018f76c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14018f76e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018f787
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

Function at 0x1401e1830
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 [0x1402e4ec0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402db138]
test eax, eax
je 0x1401e187b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402db138]
test eax, eax
jne 0x1401e1884
call fcn.1400383b0
test eax, eax
je 0x1401e18a0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401e18a8
xor eax, eax
jmp 0x1401e190d
test rbx, rbx
jne 0x1401e18c8
lea rcx, str.PrintDlgW
call fcn.1400e7c98
mov rbx, rax
test rax, rax
je 0x1401e18db
mov qword [0x1402e4ec0], rax
mov rcx, rbx
call fcn.1401e2468
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 0x1401e18f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401e18f2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401e190b
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
Function at 0x1401fa258
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401fa02c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401fa02c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401fa02c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401fa02c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401fa02c
cmp dword [rcx + 0x84], 0xe
jbe 0x1401fa02c
cmp dword [rcx + 0xf8], esi
je 0x1401fa02c
mov ecx, r14d
call fcn.1401fa174
mov ecx, 2
call fcn.1401fc3b8
nop
cmp byte [0x1402e5e40], 0
jne 0x1401fa0f6
mov r15d, 1
mov eax, r15d
xchg dword [0x1402e5e34], eax
test ebx, ebx
jne 0x1401fa09f
mov rdi, qword [0x1402d48f8]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1402e5e38]
cmp rcx, rax
je 0x1401fa096
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400035b0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402e5e50]
jmp 0x1401fa0ab
cmp ebx, r15d
jne 0x1401fa0b1
lea rcx, [0x1402e5e68]
call fcn.1401fbac0
nop
test ebx, ebx
jne 0x1401fa0c8
lea rdx, [0x14021fb88]
lea rcx, [0x14021fb68]
call fcn.1401f9eec
lea rdx, [0x14021fb98]
lea rcx, [0x14021fb90]
call fcn.1401f9eec
movzx eax, byte [0x1402e5e40]
test esi, esi
cmove eax, r15d
mov byte [0x1402e5e40], al
jmp 0x1401fa0f6
mov ecx, 2
call fcn.1401fc40c
test esi, esi
jne 0x1401fa10d
mov ecx, r14d
call fcn.1401fa128
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401f9fbc
Function at 0x140001070
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
lea rcx, str.Hello__World__n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001970
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019bc
xor al, al
add rsp, 0x28
ret