joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b83f4
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 [0x140282df0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400b843f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400b8448
call fcn.140008594
test eax, eax
je 0x1400b8464
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400b846c
xor eax, eax
jmp 0x1400b84d1
test rbx, rbx
jne 0x1400b848c
lea rcx, str.ImageList_Destroy
call fcn.140019450
mov rbx, rax
test rax, rax
je 0x1400b849f
mov qword [0x140282df0], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400b84b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400b84b6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400b84cf
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 0x1400f029a
xor eax, eax
add rsp, 0x28
ret
call fcn.1400f02ac
mov rcx, rax
add rsp, 0x28
jmp 0x1400b83f4

Function at 0x1400c4764
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 0x1400c478d
mov rdi, qword [rdx + 0x10]
jmp 0x1400c47de
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 0x1400c47ae
call fcn.14002cd38
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400c47c8
call fcn.14002cd38
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400c47de
call fcn.14002cd38
call fcn.140029008
cmp qword [rax + 0x68], 0
je 0x1400c47f8
mov rdx, rdi
mov rcx, rbp
call fcn.1400c3b5c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400c4a64
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400c481f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400c482e
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 0x1400c4bf8
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 [0x140282f50]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400c4c44
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400c4c4d
call fcn.140008594
test eax, eax
je 0x1400c4c69
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c4c74
xor eax, eax
jmp 0x1400c4d03
test r14, r14
jne 0x1400c4c91
lea rcx, str.CreatePropertySheetPageW
call fcn.1400c4f10
test rax, rax
je 0x1400c4cce
mov qword [0x140282f50], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400c4cb2
cmp dword [rdi], 0x60
jb 0x1400c4cb2
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402753e8]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x140282f50]
mov rcx, rbx
call fcn.1401ac24c
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 0x1400c4ce5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c4ce7
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400c4d00
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 0x1400c4d1c
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 [0x140282f58]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400c4d67
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400c4d70
call fcn.140008594
test eax, eax
je 0x1400c4d8c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c4d94
xor eax, eax
jmp 0x1400c4df9
test rbx, rbx
jne 0x1400c4db4
lea rcx, str.DestroyPropertySheetPage
call fcn.1400c4f10
mov rbx, rax
test rax, rax
je 0x1400c4dc7
mov qword [0x140282f58], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400c4ddc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c4dde
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c4df7
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 0x1400c4e10
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 [0x140282f60]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400c4e5f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400c4e68
call fcn.140008594
test eax, eax
je 0x1400c4e84
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c4e8e
or rax, 0xffffffffffffffff
jmp 0x1400c4ef8
test rbx, rbx
jne 0x1400c4eae
lea rcx, str.PropertySheetW
call fcn.1400c4f10
mov rbx, rax
test rax, rax
je 0x1400c4ec3
mov qword [0x140282f60], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400c4eda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c4edc
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c4ef5
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 0x1400ce460
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 [0x1402830d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400ce4ab
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400ce4b4
call fcn.140008594
test eax, eax
je 0x1400ce4d0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ce4d8
xor eax, eax
jmp 0x1400ce53d
test rbx, rbx
jne 0x1400ce4f8
lea rcx, str.GetOpenFileNameW
call fcn.140035bf0
mov rbx, rax
test rax, rax
je 0x1400ce50b
mov qword [0x1402830d8], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400ce520
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ce522
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ce53b
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 0x1400ce554
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 [0x1402830e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400ce59f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400ce5a8
call fcn.140008594
test eax, eax
je 0x1400ce5c4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ce5cc
xor eax, eax
jmp 0x1400ce631
test rbx, rbx
jne 0x1400ce5ec
lea rcx, str.GetSaveFileNameW
call fcn.140035bf0
mov rbx, rax
test rax, rax
je 0x1400ce5ff
mov qword [0x1402830e0], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400ce614
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ce616
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ce62f
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 0x1400f0a88
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 [0x140283548]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400f0ae5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400f0aee
call fcn.140008594
test eax, eax
je 0x1400f0b0a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f0b15
xor eax, eax
jmp 0x1400f0ba8
test rbx, rbx
jne 0x1400f0b35
lea rcx, str.ImageList_LoadImageW
call fcn.140019450
mov rbx, rax
test rax, rax
je 0x1400f0b74
mov qword [0x140283548], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1400f0b8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f0b8c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f0ba5
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 0x140108708
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 0x1401088d8
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 0x14010891a
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 0x140108da4
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 0x140108e76
test rbx, rbx
je 0x140108e7c
test r9, r9
je 0x140108e82
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 0x140108e5f
cmp dword [rsp + 0x48], 3
jne 0x140108e5f
test eax, eax
jne 0x140108e5f
cmp dword [rdi], eax
je 0x140108e5f
mov ecx, dword [rdi]
call fcn.140004c7c
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 0x140108e53
cmp dword [rsp + 0x48], 3
jne 0x140108e53
test eax, eax
jne 0x140108e53
mov eax, 1
jmp 0x140108e61
mov rcx, qword [rbx]
call fcn.140004c74
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.140004ce0
int3
call fcn.140004ce0
int3
call fcn.140004ce0
int3

Function at 0x1401091ac
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140109205
xor eax, eax
jmp 0x140109229
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 0x1401584f4
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 [0x140284c30]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x14015853f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x140158548
call fcn.140008594
test eax, eax
je 0x140158564
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015856c
xor eax, eax
jmp 0x1401585d1
test rbx, rbx
jne 0x14015858c
lea rcx, str.ChooseColorW
call fcn.140035bf0
mov rbx, rax
test rax, rax
je 0x14015859f
mov qword [0x140284c30], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1401585b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401585b6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401585cf
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 0x1401ab43c
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 [0x140286108]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1401ab487
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1401ab490
call fcn.140008594
test eax, eax
je 0x1401ab4ac
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402753e8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401ab4b4
xor eax, eax
jmp 0x1401ab519
test rbx, rbx
jne 0x1401ab4d4
lea rcx, str.PrintDlgW
call fcn.140035bf0
mov rbx, rax
test rax, rax
je 0x1401ab4e7
mov qword [0x140286108], rax
mov rcx, rbx
call fcn.1401ac24c
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 0x1401ab4fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401ab4fe
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401ab517
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 0x1401b210c
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 0x1401b1ee0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b1ee0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b1ee0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b1ee0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b1ee0
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b1ee0
cmp dword [rcx + 0xf8], esi
je 0x1401b1ee0
mov ecx, r14d
call fcn.1401b2028
mov ecx, 2
call fcn.1401c0dc4
nop
cmp byte [0x140286988], 0
jne 0x1401b1faa
mov r15d, 1
mov eax, r15d
xchg dword [0x140286978], eax
test ebx, ebx
jne 0x1401b1f53
mov rdi, qword [0x140276930]
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 [0x140286980]
cmp rcx, rax
je 0x1401b1f4a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400131a8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140286c20]
jmp 0x1401b1f5f
cmp ebx, r15d
jne 0x1401b1f65
lea rcx, [0x140286c38]
call fcn.1401bf004
nop
test ebx, ebx
jne 0x1401b1f7c
lea rdx, [0x1401d7e08]
lea rcx, [0x1401d7de8]
call fcn.1401bea3c
lea rdx, [0x1401d7e18]
lea rcx, [0x1401d7e10]
call fcn.1401bea3c
movzx eax, byte [0x140286988]
test esi, esi
cmove eax, r15d
mov byte [0x140286988], al
jmp 0x1401b1faa
mov ecx, 2
call fcn.1401c0e18
test esi, esi
jne 0x1401b1fc1
mov ecx, r14d
call fcn.1401b1fdc
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 0x1401b1e70
Function at 0x2fc4e0830
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4e1232
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc505108]
test eax, eax
je 0x2fc4e12ca
lea rax, [0x2fc5050e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc505110]
mov qword [rbp - 8], rax
jmp 0x2fc4e12ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4e12a2
cmp qword [rbp - 0x10], 0
je 0x2fc4e12a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4e1268
lea rax, [0x2fc5050e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4e12cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4e13d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4e13f8
mov eax, 0
jmp 0x2fc4e1446
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4e1421
mov eax, 0
jmp 0x2fc4e1446
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4e1441
mov eax, 0
jmp 0x2fc4e1446
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4e144c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4e14ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4e14c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4e14c1
mov rax, qword [rbp - 8]
jmp 0x2fc4e14df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4e1494
mov eax, 0
add rsp, 0x20
pop rbp
ret