joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a6834
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 edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x140246cc8]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1400a6892
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400a689b
call fcn.1400101cc
test eax, eax
je 0x1400a68b7
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400a68c1
movzx eax, r13w
jmp 0x1400a692a
test rbx, rbx
jne 0x1400a68e1
lea rcx, str.GetFileTitleW
call fcn.1400a6784
mov rbx, rax
test rax, rax
je 0x1400a68f5
mov qword [0x140246cc8], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x1400a690c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400a690e
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400a6927
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
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 0x1400a7cdc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x140240210]
test eax, eax
je 0x1400a7d1e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400a7d27
call fcn.1400101cc
test eax, eax
je 0x1400a7d43
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400a7d4b
xor eax, eax
jmp 0x1400a7d8f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x1400a7d72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400a7d74
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400a7d8d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c79d4
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 [0x140247148]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x140240210]
test eax, eax
je 0x1400c7a31
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400c7a3a
call fcn.1400101cc
test eax, eax
je 0x1400c7a56
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400c7a61
xor eax, eax
jmp 0x1400c7aec
test rbx, rbx
jne 0x1400c7a81
lea rcx, str.ImageList_LoadImageW
call fcn.14000fe94
mov rbx, rax
test rax, rax
je 0x1400c7ab8
mov qword [0x140247148], rax
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 0x1400c7ace
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400c7ad0
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c7ae9
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 0x1400cbf78
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 0x1400cbfa1
mov rdi, qword [rdx + 0x10]
jmp 0x1400cbff2
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400cbfc2
call fcn.1400290fc
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400cbfdc
call fcn.1400290fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400cbff2
call fcn.1400290fc
call fcn.140022a20
cmp qword [rax + 0x68], 0
je 0x1400cc00c
mov rdx, rdi
mov rcx, rbp
call fcn.1400cb5c4
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400cc270
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x1400cc033
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x1400cc042
mov rdi, rsi
mov qword [rbp + 0xe8], 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 0x1400cc3e0
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 [0x1402471b8]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1400cc42c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400cc435
call fcn.1400101cc
test eax, eax
je 0x1400cc451
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cc45c
xor eax, eax
jmp 0x1400cc4e0
test r14, r14
jne 0x1400cc479
lea rcx, str.CreatePropertySheetPageW
call fcn.1400cc6dc
test rax, rax
je 0x1400cc4ab
mov qword [0x1402471b8], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400cc49a
cmp dword [rdi], 0x60
jb 0x1400cc49a
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140238178]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x1402471b8]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1400cc4c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cc4c4
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400cc4dd
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 0x1400cc4f8
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 [0x1402471c0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1400cc543
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400cc54c
call fcn.1400101cc
test eax, eax
je 0x1400cc568
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cc570
xor eax, eax
jmp 0x1400cc5cd
test rbx, rbx
jne 0x1400cc590
lea rcx, str.DestroyPropertySheetPage
call fcn.1400cc6dc
mov rbx, rax
test rax, rax
je 0x1400cc59b
mov qword [0x1402471c0], 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 0x1400cc5b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cc5b2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cc5cb
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 0x1400cc5e4
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 [0x1402471c8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x1400cc633
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1400cc63c
call fcn.1400101cc
test eax, eax
je 0x1400cc658
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cc662
or rax, 0xffffffffffffffff
jmp 0x1400cc6c4
test rbx, rbx
jne 0x1400cc682
lea rcx, str.PropertySheetW
call fcn.1400cc6dc
mov rbx, rax
test rax, rax
je 0x1400cc68f
mov qword [0x1402471c8], rax
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 0x1400cc6a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cc6a8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cc6c1
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 0x1400deb14
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 0x1400dec44
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
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 0x1400dec86
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 0x1400df094
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 0x1400df166
test rbx, rbx
je 0x1400df16c
test r9, r9
je 0x1400df172
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400df14f
cmp dword [rsp + 0x48], 3
jne 0x1400df14f
test eax, eax
jne 0x1400df14f
cmp dword [rdi], eax
je 0x1400df14f
mov ecx, dword [rdi]
call fcn.140002670
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400df143
cmp dword [rsp + 0x48], 3
jne 0x1400df143
test eax, eax
jne 0x1400df143
mov eax, 1
jmp 0x1400df151
mov rcx, qword [rbx]
call fcn.1400026b4
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.140014a04
int3
call fcn.140014a04
int3
call fcn.140014a04
int3

Function at 0x1400df538
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400df549
xor eax, eax
jmp 0x1400df577
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 0x1400df580
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400df591
xor eax, eax
jmp 0x1400df5b5
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
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 0x14012814c
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 [0x140248830]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x140128197
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x1401281a0
call fcn.1400101cc
test eax, eax
je 0x1401281bc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401281c4
xor eax, eax
jmp 0x140128221
test rbx, rbx
jne 0x1401281e4
lea rcx, str.ChooseColorW
call fcn.1400a6784
mov rbx, rax
test rax, rax
je 0x1401281ef
mov qword [0x140248830], 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 0x140128204
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140128206
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14012821f
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 0x140130a74
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 [0x140248b10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x140130abf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x140130ac8
call fcn.1400101cc
test eax, eax
je 0x140130ae4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130aec
xor eax, eax
jmp 0x140130b49
test rbx, rbx
jne 0x140130b0c
lea rcx, str.GetOpenFileNameW
call fcn.1400a6784
mov rbx, rax
test rax, rax
je 0x140130b17
mov qword [0x140248b10], 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 0x140130b2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130b2e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130b47
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 0x140130b60
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 [0x140248b18]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x140130bab
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x140130bb4
call fcn.1400101cc
test eax, eax
je 0x140130bd0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130bd8
xor eax, eax
jmp 0x140130c35
test rbx, rbx
jne 0x140130bf8
lea rcx, str.GetSaveFileNameW
call fcn.1400a6784
mov rbx, rax
test rax, rax
je 0x140130c03
mov qword [0x140248b18], 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 0x140130c18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130c1a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130c33
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 0x140179100
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 [0x140249e88]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140240210]
test eax, eax
je 0x14017914b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140240210]
test eax, eax
jne 0x140179154
call fcn.1400101cc
test eax, eax
je 0x140179170
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140238178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140179178
xor eax, eax
jmp 0x1401791d5
test rbx, rbx
jne 0x140179198
lea rcx, str.PrintDlgW
call fcn.1400a6784
mov rbx, rax
test rax, rax
je 0x1401791a3
mov qword [0x140249e88], 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 0x1401791b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401791ba
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401791d3
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 0x14017a114
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140179f7c
Function at 0x14018dda8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14018ddd4
call fcn.14017a830
mov dword [rax], socket
call fcn.140181520
jmp 0x14018deda
mov eax, dword [rcx + 0x18]
test al, 0x83
je 0x14018deda
test al, 0x40
jne 0x14018deda
test al, 2
je 0x14018ddf6
or eax, 0x20
mov dword [rcx + 0x18], eax
jmp 0x14018deda
or eax, 1
mov dword [rcx + 0x18], eax
test eax, 0x10c
jne 0x14018de0a
call fcn.14018bc80
jmp 0x14018de11
mov rax, qword [rcx + 0x10]
mov qword [rcx], rax
mov rcx, rdi
call fcn.14017f824
mov r8d, dword [rdi + 0x24]
mov rdx, qword [rdi + 0x10]
mov ecx, eax
call fcn.14018aeac
mov dword [rdi + 8], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14018dec9
test byte [rdi + 0x18], 0x82
jne 0x14018de97
mov rcx, rdi
call fcn.14017f824
cmp eax, 0xffffffff
je 0x14018de82
mov rcx, rdi
call fcn.14017f824
cmp eax, 0xfffffffe
je 0x14018de82
mov rcx, rdi
call fcn.14017f824
mov rcx, rdi
lea rsi, [0x14024ab10]
movsxd rbx, eax
sar rbx, 5
call fcn.14017f824
and eax, 0x1f
imul rax, rax, 0x58
add rax, qword [rsi + rbx*8]
jmp 0x14018de89
lea rax, [0x14023e3d0]
mov al, byte [rax + 8]
and al, 0x82
cmp al, 0x82
jne 0x14018de97
bts dword [rdi + 0x18], 0xd
cmp dword [rdi + 0x24], 0x200
jne 0x14018deb6
test byte [rdi + 0x18], 8
je 0x14018deb6
test dword [rdi + 0x18], 0x400
jne 0x14018deb6
mov dword [rdi + 0x24], 0x1000
mov rcx, qword [rdi]
add dword [rdi + 8], 0xfffffffe
movzx eax, word [rcx]
add rcx, 2
mov qword [rdi], rcx
jmp 0x14018dedf
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [rdi + 0x18], eax
and dword [rdi + 8], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140012de0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Create thread
Terminate process

Disassembly:
jmp 0x1400117e0
push rbp
push rsi
push rdi
sub rsp, 0x2e0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x1400220b4]
call fcn.14001137a
mov qword [rbp + 8], 0
lea r8, [rbp + 0x24]
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.1400110b4
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140011927
cmp dword [rbp + 0x24], 3
jne 0x140011916
mov dword [rbp + 0xc4], 0
lea rax, [rbp + 0xf0]
lea rcx, [0x140019d50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xce
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x1d4], 0xcd
mov eax, dword [rbp + 0x1d4]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x1d4]
mov r8d, eax
lea rdx, [rbp + 0xf0]
mov rcx, qword [rbp + 0x68]
call fcn.1400113b6
mov eax, dword [rbp + 0x1d4]
lea r9, [rbp + 0xc4]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x84], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xa8], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140011927
mov rcx, qword [rbp + 8]
call fcn.140011131
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x14001192b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140019cf0]
call fcn.14001130c
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x2b0]
pop rdi
pop rsi
pop rbp
ret