joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140156de0
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 0x14015702c
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 0x14015706e
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 0x1401574f8
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 0x1401575ca
test rbx, rbx
je 0x1401575d0
test r9, r9
je 0x1401575d6
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 0x1401575b3
cmp dword [rsp + 0x48], 3
jne 0x1401575b3
test eax, eax
jne 0x1401575b3
cmp dword [rdi], eax
je 0x1401575b3
mov ecx, dword [rdi]
call fcn.1400063f0
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 0x1401575a7
cmp dword [rsp + 0x48], 3
jne 0x1401575a7
test eax, eax
jne 0x1401575a7
mov eax, 1
jmp 0x1401575b5
mov rcx, qword [rbx]
call fcn.1400063f8
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.14002fff4
int3
call fcn.14002fff4
int3
call fcn.14002fff4
int3

Function at 0x140157988
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401579e1
xor eax, eax
jmp 0x140157a05
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 0x1401d2eb8
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 [0x140424e00]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x1401d2f03
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x1401d2f0c
call fcn.14000874c
test eax, eax
je 0x1401d2f28
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401d2f30
xor eax, eax
jmp 0x1401d2f95
test rbx, rbx
jne 0x1401d2f50
lea rcx, str.ChooseColorW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x1401d2f63
mov qword [0x140424e00], rax
mov rcx, rbx
call fcn.140282180
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 0x1401d2f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401d2f7a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401d2f93
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 0x1401fc2a0
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 [0x1404253e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x1401fc2eb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x1401fc2f4
call fcn.14000874c
test eax, eax
je 0x1401fc310
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401fc318
xor eax, eax
jmp 0x1401fc37d
test rbx, rbx
jne 0x1401fc338
lea rcx, str.ImageList_DrawIndirect
call fcn.14001e27c
mov rbx, rax
test rax, rax
je 0x1401fc34b
mov qword [0x1404253e8], rax
mov rcx, rbx
call fcn.140282180
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 0x1401fc360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401fc362
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401fc37b
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 0x1401fc394
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 qword [rax - 0x18], rdi
mov rbx, qword [0x1404253f0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x1401fc3e0
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x1401fc3e9
call fcn.14000874c
test eax, eax
je 0x1401fc405
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401fc40d
xor eax, eax
jmp 0x1401fc476
test rbx, rbx
jne 0x1401fc42d
lea rcx, str.ImageList_Duplicate
call fcn.14001e27c
mov rbx, rax
test rax, rax
je 0x1401fc442
mov qword [0x1404253f0], rax
mov rcx, rbx
call fcn.140282180
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x1401fc458
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401fc45a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401fc473
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 0x140240af0
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
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140240b1e
xor eax, eax
jmp 0x140240bab
test rbx, rbx
je 0x140240b17
test r9, r9
jne 0x140240b36
call fcn.1400309c8
mov r9, qword [rax + 0x18]
test r9, r9
je 0x140240b17
mov r8, rbx
mov qword [rsi + 0x10], r9
mov rdx, rdi
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140240b17
mov rcx, qword [rsi + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test eax, eax
je 0x140240b17
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x140240b17
mov rbx, qword [rsi]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rbx + 8]
mov rdi, rax
call fcn.140282180
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
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 0x140264b9c
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 [0x140426090]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x140264be7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x140264bf0
call fcn.14000874c
test eax, eax
je 0x140264c0c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140264c14
xor eax, eax
jmp 0x140264c79
test rbx, rbx
jne 0x140264c34
lea rcx, str.ChooseFontW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x140264c47
mov qword [0x140426090], rax
mov rcx, rbx
call fcn.140282180
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 0x140264c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140264c5e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140264c77
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 0x14027bcf0
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 qword [rax - 0x18], rdi
mov rbx, qword [0x140426318]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x14027bd3c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x14027bd45
call fcn.14000874c
test eax, eax
je 0x14027bd61
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14027bd69
xor eax, eax
jmp 0x14027bdd2
test rbx, rbx
jne 0x14027bd89
lea rcx, str.FindTextW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x14027bd9e
mov qword [0x140426318], rax
mov rcx, rbx
call fcn.140282180
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14027bdb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14027bdb6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14027bdcf
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 0x14027bde8
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 qword [rax - 0x18], rdi
mov rbx, qword [0x140426320]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x14027be34
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x14027be3d
call fcn.14000874c
test eax, eax
je 0x14027be59
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14027be61
xor eax, eax
jmp 0x14027beca
test rbx, rbx
jne 0x14027be81
lea rcx, str.ReplaceTextW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x14027be96
mov qword [0x140426320], rax
mov rcx, rbx
call fcn.140282180
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14027beac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14027beae
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14027bec7
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 0x14027cfb8
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 [0x140426338]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x14027d003
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x14027d00c
call fcn.14000874c
test eax, eax
je 0x14027d028
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14027d030
xor eax, eax
jmp 0x14027d095
test rbx, rbx
jne 0x14027d050
lea rcx, str.PageSetupDlgW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x14027d063
mov qword [0x140426338], rax
mov rcx, rbx
call fcn.140282180
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 0x14027d078
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14027d07a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14027d093
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 0x14027d0ac
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 [0x140426330]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c4f4]
test eax, eax
je 0x14027d0f7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c4f4]
test eax, eax
jne 0x14027d100
call fcn.14000874c
test eax, eax
je 0x14027d11c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412040]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14027d124
xor eax, eax
jmp 0x14027d189
test rbx, rbx
jne 0x14027d144
lea rcx, str.PrintDlgW
call fcn.14005045c
mov rbx, rax
test rax, rax
je 0x14027d157
mov qword [0x140426330], rax
mov rcx, rbx
call fcn.140282180
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 0x14027d16c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14027d16e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14027d187
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 0x1402cbad8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1402cb8c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402cb8c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402cb8c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402cb8c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402cb8c7
cmp dword [rcx + 0x84], 0xe
jbe 0x1402cb8c7
cmp dword [rcx + 0xf8], 0
je 0x1402cb8c7
mov ecx, ebx
call fcn.1402cb9f8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1402cb654
cmp dword [rbp + 0x20], 0
je 0x1402cb914
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1402cb91c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1402cb860
Function at 0x1402d96a4
Capabilities:
Read file on windows

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
mov rbx, rcx
test rcx, rcx
jne 0x1402d934a
call fcn.14029112c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.140290aa4
jmp 0x1402d9495
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1402d9495
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1402d9495
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1402d9379
lock or dword [rcx + 0x14], 0x10
jmp 0x1402d9495
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1402d938d
call fcn.1402e6568
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1402d939d
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1402d93a0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1402c81e8
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1402d8c44
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1402d9483
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1402d9431
mov rcx, rbx
call fcn.1402c81e8
cmp eax, 0xffffffff
je 0x1402d941c
mov rcx, rbx
call fcn.1402c81e8
cmp eax, 0xfffffffe
je 0x1402d941c
mov rcx, rbx
call fcn.1402c81e8
movsxd rdi, eax
lea r14, [0x140427820]
mov rcx, rbx
sar rdi, 6
call fcn.1402c81e8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1402d9423
lea rdx, [0x140413c20]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1402d9431
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1402d9455
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1402d9455
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1402d9455
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1402d9473
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1402d947e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1402d949a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
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
jmp 0x1402d9314
Function at 0x140b3a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b3a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b3a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3a06f
add dl, dl
jne 0x140b3a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3a0f6
xor eax, eax
add dl, dl
jne 0x140b3a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3a1ad
add dl, dl
jne 0x140b3a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b3a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b3a07e
mov eax, 1
add dl, dl
jne 0x140b3a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3a0fb
sub eax, ebx
mov ebx, 1
jne 0x140b3a14c
mov ecx, 1
add dl, dl
jne 0x140b3a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b3a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b3a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b3a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3a15d
cmp eax, 0x7d00
jae 0x140b3a19b
cmp eax, 0x500
jb 0x140b3a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3a07e
cmp eax, 0x7f
ja 0x140b3a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b3a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b3a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x417660
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4177eb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x006cedc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4176c5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4176d4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4176f3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x417703
cmp rbx, 0x1000
jae 0x4176cb
jmp 0x41776d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x417715
xor edx, edx
jmp 0x417764
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x006cedc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4176f9
jmp 0x4176e8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x006cedc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0054582b]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x00545eac]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x00548d4a]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS