joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c8d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
call fcn.14000b650
test eax, eax
jne 0x14000c9d0
mov eax, 0xc
lea r8, str.The_process_needs_to_run_elevated_n
movzx edx, ax
mov ecx, 0xfffffff4
call fcn.1400085c0
xor eax, eax
lea r10, [0x14003c070]
mov r11d, eax
mov r9d, 0x114f
mov ebx, 0x80070005
nop dword [rax + rax]
mov ecx, eax
mov r8, rbx
add rcx, rcx
mov edx, eax
mov ecx, dword [r10 + rcx*8]
sub r8, rcx
je 0x14000c953
mov edx, r9d
sub edx, eax
shr edx, 1
add edx, eax
test r8, r8
mov ecx, edx
cmovns ecx, r9d
cmovns eax, edx
inc eax
mov r9d, ecx
cmp ecx, eax
jae 0x14000c920
jmp 0x14000c95b
add rdx, rdx
mov r11, qword [r10 + rdx*8 + 8]
cmp dword [0x140055944], 0
je 0x14000c9c0
lea rax, str.__HRESULT_0x80070005L_
mov edi, 7
mov qword [rsp + 0x28], rax
lea r8, str._hr0x_08X__s_from__s_n
movzx edx, di
mov r9d, 0x80070005
mov ecx, 0xfffffff4
mov qword [rsp + 0x20], r11
call fcn.1400085c0
cmp dword [0x140055944], 0
je 0x14000c9c0
lea r9, str.avcoremf_samplesmf360mftracemftracelibmftracehelpers.cpp
movzx edx, di
lea r8, str.___at__s:_i_n
mov dword [rsp + 0x20], 0xe1
mov ecx, 0xfffffff4
call fcn.1400085c0
mov eax, 0x80070005
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.FreeWppTrace
mov dword [rsp + 0x40], 1
lea rdx, str.SOFTWAREMicrosoftWindows_Media_FoundationPlatform_
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
mov ebx, eax
test eax, eax
jle 0x14000ca1a
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14000caef
xor eax, eax
mov qword [rsp + 0x48], rsi
mov esi, eax
mov r11d, ebx
mov r9d, 0x114f
lea r10, [0x14003c070]
nop dword [rax + rax]
mov ecx, eax
mov r8, r11
add rcx, rcx
mov edx, eax
mov ecx, dword [r10 + rcx*8]
sub r8, rcx
je 0x14000ca73
mov edx, r9d
sub edx, eax
shr edx, 1
add edx, eax
test r8, r8
mov ecx, edx
cmovns ecx, r9d
cmovns eax, edx
inc eax
mov r9d, ecx
cmp ecx, eax
jae 0x14000ca40
jmp 0x14000ca7b
add rdx, rdx
mov rsi, qword [r10 + rdx*8 + 8]
cmp dword [0x140055944], 0
je 0x14000cadd
lea rax, str.HRESULT_FROM_WIN32__RegSetKeyValueW_____HKEY____ULONG_PTR___LONG_0x80000002_____L_SOFTWAREMicrosoftWindows_Media_FoundationPlatform___L_FreeWppTrace_____4ul____nEnabled__sizeof__nEnabled______
mov edi, 7
mov qword [rsp + 0x28], rax
lea r8, str._hr0x_08X__s_from__s_n
movzx edx, di
mov r9d, ebx
mov ecx, 0xfffffff4
mov qword [rsp + 0x20], rsi
call fcn.1400085c0
cmp dword [0x140055944], 0
je 0x14000cadd
lea r9, str.avcoremf_samplesmf360mftracemftracelibmftracehelpers.cpp
movzx edx, di
lea r8, str.___at__s:_i_n
mov dword [rsp + 0x20], 0xec
mov ecx, 0xfffffff4
call fcn.1400085c0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp dword [0x140055944], 0
je 0x14000cb18
mov edi, 7
lea r9, str.Enabled
movzx edx, di
lea r8, str.__s_MF_WPP_tracing_n
mov ecx, 0xfffffff4
call fcn.1400085c0
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140015144
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140055008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, r8
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea rax, [rdx + 0x10000]
mov ebx, 0x10000
test rdx, rdx
cmovne rbx, rax
mov r9d, 0x30
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQueryEx]
test rax, rax
je 0x140015295
mov rcx, qword [rsp + 0x68]
mov rax, rcx
and eax, 0xfff
cmp rax, 0xfff
je 0x140015295
add rcx, qword [rsp + 0x50]
cmp rcx, rbx
jb 0x140015295
cmp dword [rsp + 0x70], 0x1000
jne 0x140015286
cmp byte [rsp + 0x74], 1
je 0x140015286
test dword [rsp + 0x74], 0x100
jne 0x140015286
and qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_ReadProcessMemory]
test eax, eax
je 0x140015286
mov eax, 0x5a4d
cmp word [rsp + 0x80], ax
jne 0x14001527a
movsxd rcx, dword [rsp + 0xbc]
mov eax, ecx
cmp rax, qword [rsp + 0x68]
ja 0x14001527a
cmp ecx, 0x40
jb 0x14001527a
lea rdx, [rbx + rcx]
and qword [rsp + 0x20], 0
mov r9d, pe_nt_image_headers64
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_ReadProcessMemory]
test eax, eax
je 0x140015286
cmp dword [rsi], 0x4550
jne 0x140015286
mov rax, rbx
jmp 0x140015297
jmp 0x140015286
mov rbx, qword [rsp + 0x68]
add rbx, qword [rsp + 0x50]
jmp 0x140015196
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140016790
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140016298
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rax, rcx
xor edi, edi
test rcx, rcx
jne 0x1400162b6
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x1400162d2
mov ecx, 0xc1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400163a6
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
je 0x1400162f1
mov ecx, 0xbf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400163a6
cmp word [rcx + rax + 0x14], di
jne 0x14001630a
mov ecx, 0xc0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400163a6
mov edx, dword [rcx + rax + 0x88]
test edx, edx
je 0x14001631a
add rdx, rax
jmp 0x14001631d
mov rdx, rdi
test rdx, rdx
jne 0x140016331
mov ecx, 0xc0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400163a6
cmp dword [rdx + 0x24], edi
je 0x14001633f
mov r10d, dword [rdx + 0x24]
add r10, rax
jmp 0x140016342
mov r10, rdi
mov r8d, edi
mov dword [rsp + 0x24], edi
cmp r8d, dword [rdx + 0x14]
jae 0x14001638a
mov r9d, edi
mov dword [rsp + 0x20], edi
cmp r9d, dword [rdx + 0x18]
jae 0x140016373
mov eax, r9d
movzx ecx, word [r10 + rax*2]
cmp ecx, r8d
je 0x140016373
inc r9d
mov dword [rsp + 0x20], r9d
jmp 0x140016356
mov ecx, dword [rdx + 0x10]
add ecx, r8d
cmp ecx, 1
jne 0x140016380
mov dword [rbx], ecx
inc r8d
mov dword [rsp + 0x24], r8d
jmp 0x140016349
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, 1
jmp 0x1400163a6
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016590
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140055990], rbx
je 0x1400165dc
cmp rax, rbx
jne 0x1400165cf
mov ebx, 1
mov esi, ebx
jmp 0x1400165e1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400165b4
mov ebx, 1
mov eax, dword [0x140055998]
cmp eax, ebx
jne 0x1400165f7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14001665c
mov eax, dword [0x140055998]
test eax, eax
jne 0x140016656
mov dword [0x140055998], ebx
lea r15, [0x140018660]
lea rdi, [0x140018648]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140016648
test eax, eax
jne 0x14001664c
cmp qword [rdi], 0
je 0x14001663d
mov rax, qword [rdi]
mov rcx, qword [0x1400185c0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14001661e
test eax, eax
je 0x14001665c
mov eax, 0xff
jmp 0x140016738
mov dword [0x140055344], ebx
mov eax, dword [0x140055998]
cmp eax, ebx
jne 0x140016683
lea rdx, [0x140018640]
lea rcx, [0x1400185c8]
call sub.msvcrt.dll__initterm
mov dword [0x140055998], 2
test esi, esi
jne 0x140016690
xor eax, eax
xchg qword [0x140055990], rax
cmp qword [0x1400559b0], 0
je 0x1400166c4
lea rcx, [0x1400559b0]
call fcn.140016a70
test eax, eax
je 0x1400166c4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400559b0]
mov r9, qword [0x1400185c0]
call r9
mov r8, qword [0x140055358]
mov rdx, qword [0x140055350]
mov ecx, dword [0x140055348]
call fcn.140004aa0
mov dword [0x140055340], eax
cmp dword [0x140055360], 0
jne 0x1400166f4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140055344], 0
jne 0x140016709
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140055340]
jmp 0x140016738
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400e8000
add rsp, 0x28
jmp 0x140016590

Function at 0x14001695c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400169a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400169a0
cmp dword [rcx + 0x3c], edx
jl 0x1400169a0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400169a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400169a8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140016ee8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140016ef4
push rbx
sub rsp, 0x540
mov rax, qword [0x140055008]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140016f71
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x140016f91
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140016790
add rsp, 0x540
pop rbx
ret

Function at 0x140016ef4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140016ef4
push rbx
sub rsp, 0x540
mov rax, qword [0x140055008]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140016f71
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x140016f91
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140016790
add rsp, 0x540
pop rbx
ret
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov esi, r8d
mov edi, edx
mov rbx, rcx
mov ecx, r8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
test edi, edi
jle 0x14000104e
mov r14d, edi
xor r15d, r15d
mov r12, qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov bpl, byte [rbx + r15]
xor bpl, sil
call r12
cdq
idiv edi
inc dl
xor dl, bpl
mov byte [rbx + r15], dl
inc r15
cmp r14, r15
jne 0x140001030
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14000105d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140003040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
stmxcsr dword [rdi]
or dword [rdi], 0x8040
ldmxcsr dword [rdi]
lea rsi, [rsp + 0x2c]
mov dword [rsi], 0
movabs rax, 0x636f6c6c416c61
mov qword [rdi + 5], rax
movabs rax, 0x416c617574726956
mov qword [rdi], rax
movabs rax, 0x6c6c642e32336c
lea rcx, [rsp + 0x30]
mov qword [rcx + 5], rax
movabs rax, 0x32336c656e72656b
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0xb600
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 0x40
call rax
mov rdi, rax
lea rdx, [0x1400030a0]
mov r8d, 0xb600
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov edx, 0xb600
mov rcx, rdi
mov r8d, 0x40
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rdi
mov edx, 0xb600
mov r8d, 0x1d24b7d0
call section..text
call rdi
mov edx, 0xb600
mov rcx, rdi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001ba0
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x14000173c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001786
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001786
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001786
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001786
cmp dword [rcx + 0x84], 0xe
jbe 0x140001786
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001788
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, 0x66
xor ecx, ecx
lea r8d, [rdx - 0x5c]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
mov edx, 1
mov r9, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140001948
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rsi, rcx
xor edx, edx
mov r9d, 0x658
mov rcx, rbp
lea r8d, [rdx + 8]
call rsi
test rax, rax
je 0x140035eab
mov qword [rsp + 0x80], rbx
xor ecx, ecx
lea rbx, [rax + 0xd0]
mov word [rax + 0x10], 0x808
mov byte [rbx + 0x64], 8
mov qword [rax + 0x20], rbx
mov qword [rsp + 0x88], rdi
lea rdi, [rax + 8]
mov qword [rdi + 0x50], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [fcn.140035c50]
mov qword [rbx], rsi
mov qword [rsp + 0x50], r14
xor r14d, r14d
mov dword [rdi + 0xb0], r14d
add dword [rdi + 0xb0], 0x10000
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x20], r14
lea esi, [r14 + 0x18]
mov word [rdi + 0xc], r14w
mov qword [rdi + 0x58], r14
mov qword [rdi + 0xa0], r14
mov qword [rsp + 0x38], rax
mov dword [rdi + 0xc0], r14d
mov qword [rdi + 0xb8], r14
mov word [rdi + 0xa], pe_nt_image_headers64
mov qword [rdi + 0x38], r14
mov qword [rdi + 0xa8], r14
mov dword [rdi + 0xb4], r14d
mov qword [rbx + 0x70], rdi
mov qword [rdi], r14
mov qword [rbx + 8], rbp
mov qword [rbx + 0x578], r14
mov qword [rbx + 0x580], r14
mov qword [rbx + 0x108], rdi
mov qword [rsp + 0x28], rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, esi
nop word [rax + rax]
movzx edx, byte [rsp + rsi + 0x27]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub rsi, 1
jne 0x140035d60
mov dword [rbx + 0x60], eax
lea rdx, [0x1400357f0]
mov dword [rbx + 0x6a], 0x19320002
xor r8d, r8d
mov qword [rbx + 0x38], r14
mov rcx, rdi
mov qword [rbx + 0x30], r14
mov byte [rbx + 0x48], r14b
mov qword [rbx + 0x100], r14
mov dword [rbx + 0x65], 0x14000008
mov qword [rbx + 0xb8], r14
mov qword [rbx + 0xb0], r14
mov qword [rbx + 0x80], r14
mov qword [rbx + 0xd0], r14
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xc0], r14
mov qword [rbx + 0xd8], r14
mov qword [rbx + 0xf0], r14
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xe0], r14
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x90], r14
mov qword [rbx + 0x88], r14
mov qword [rbx + 0xa8], r14
mov qword [rbx + 0xa0], r14
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xf8], r14
mov qword [rbx + 0x10], 0x658
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x50], r14
mov byte [rbx + 0x58], 3
mov byte [rbx + 0x6e], 0xd
mov byte [rbx + 0x69], 0x19
mov qword [rbx + 0x1e0], r14
mov qword [rbx + 0x1e8], r14
mov qword [rbx + 0x1f0], r14
mov qword [rbx + 0x1f8], r14
mov qword [rbx + 0x200], r14
mov qword [rbx + 0x208], r14
mov qword [rbx + 0x210], r14
mov qword [rbx + 0x218], r14
mov qword [rbx + 0x220], r14
call fcn.14001eff0
mov rbx, qword [rsp + 0x80]
test eax, eax
je 0x140035e9b
mov rcx, rdi
call fcn.140035a80
mov rdi, r14
mov r14, qword [rsp + 0x50]
mov rax, rdi
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c4620
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x180d1b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180d1b1df
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 0x180d1b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d1b06f
add dl, dl
jne 0x180d1b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d1b0f6
xor eax, eax
add dl, dl
jne 0x180d1b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d1b1ad
add dl, dl
jne 0x180d1b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d1b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d1b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d1b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180d1b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180d1b07e
mov eax, 1
add dl, dl
jne 0x180d1b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d1b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d1b0fb
sub eax, ebx
mov ebx, 1
jne 0x180d1b14c
mov ecx, 1
add dl, dl
jne 0x180d1b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d1b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d1b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d1b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180d1b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d1b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d1b15d
cmp eax, 0x7d00
jae 0x180d1b19b
cmp eax, 0x500
jb 0x180d1b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d1b07e
cmp eax, 0x7f
ja 0x180d1b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d1b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180d1b1d2
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 0x180d1b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x415740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4158cb
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 fcn.00432ce0
xorps xmm15, xmm15
mov r14, qword [0x0099b340]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4157a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4157b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4157d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4157e3
cmp rbx, 0x1000
jae 0x4157ab
jmp 0x41584d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4157f5
xor edx, edx
jmp 0x415844
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 fcn.00432ce0
xorps xmm15, xmm15
mov r14, qword [0x0099b340]
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 0x4157d9
jmp 0x4157c8
call fcn.00463640
xorps xmm15, xmm15
mov r14, qword [0x0099b340]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004370e0
lea rax, [0x004eef00]
mov ebx, 0x18
nop dword [rax]
call fcn.00437960
mov rax, qword [rsp + 0x38]
call fcn.004376a0
lea rax, [0x004ef4fd]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437960
mov rax, qword [rsp + 0x30]
call fcn.004376a0
call fcn.00437320
call fcn.00437140
lea rax, [0x004f1ed1]
mov ebx, 0x21
call fcn.00435740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ff80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415740