joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400173e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005b8f0]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x140017441
cmp byte [rbx + 0x43fe], 0
jne 0x140017441
movsx r9d, word [rbx + 0x54de]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400070a0
test dil, 1
je 0x140017569
jmp 0x1400174d1
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54de]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400520f8]
mulss xmm1, dword [0x1400520ec]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x14005205c]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.1400070a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017521
lea r11, [0x14004ce60]
cmp r9b, 0x23
jne 0x140017504
cmp byte [r8], r9b
jne 0x140017504
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400174f1
not ecx
call fcn.14000f9f0
test rax, rax
je 0x140017569
cmp byte [rax + 0xcb], 0
je 0x140017569
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, 0x10
movsx r9d, word [rbx + 0x54de]
call fcn.1400070a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140012770
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004a1d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001c9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ca67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ca1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002a0c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400079c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005b8e4]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ca6f
mov rcx, rbx
call fcn.1400079c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ceb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001cf02
lea r11, [0x14004ce60]
cmp r9b, 0x23
jne 0x14001cee5
cmp byte [r8], r9b
jne 0x14001cee5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001ced2
mov r11, qword [0x14005b8f0]
mov r10, qword [r11 + 0x5598]
test r10, r10
je 0x14001cf49
lea r9, [r10 + 4]
test r9, r9
je 0x14001cf49
not eax
cmp dword [r9], eax
je 0x14001cf52
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001cf20
mov rcx, rbx
pop rbx
jmp fcn.14001cdc0
mov rax, r9
pop rbx
ret

Function at 0x14001cf60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005b8f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001cfc3
mov qword [rsp], rbx
lea rbx, [0x14004ce60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001cfa3
cmp byte [r8], r9b
jne 0x14001cfa3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001cf90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001cff7
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001cffe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001cfe4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140020960
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140020bae
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14004ce60]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140020b76
mov rcx, rbp
call fcn.140020020
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140020a31
movsxd rdx, dword [rbp + 0x5530]
mov r8, qword [rbp + 0x5538]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140020a21
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140020a19
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140020a1c
mov rdx, rcx
test rdx, rdx
jne 0x1400209f0
cmp r8, r10
je 0x140020a31
cmp dword [r8], r9d
jne 0x140020a31
mov rcx, qword [r8 + 8]
jmp 0x140020a33
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140020ac7
cmp qword [rcx + 0x20], 0
jne 0x140020abc
mov qword [rcx + 0x20], rbx
jmp 0x140020ac7
cmp qword [rcx + 0x28], 0
jne 0x140020ac7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140020b0c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140020b00
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400070a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140020b68
cmp r9b, 0x23
jne 0x140020b4b
cmp byte [r8], r9b
jne 0x140020b4b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140020b38
not ecx
call fcn.14000f9f0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x1400209b0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004a1d0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140028570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400285bd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400285c2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x1400285ed
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400285ed
mov rax, qword [rax + 0x390]
test rax, rax
je 0x1400285ed
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x1400285f2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14002860c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140028611
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140028693
inc ecx
test r8d, r8d
je 0x14002867e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140028683
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.140029a60
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400286d2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140028570
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400286e2
inc esi
jmp 0x1400285a0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14004a114
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14004a14e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004a153
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14004a19c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004c690]
cmp byte [rcx + rax], 0
je 0x14004a19c
dec r8
sub rdx, 1
jne 0x14004a182
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004aec8
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x18007cd70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x1800ea138]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x1800fd3aa]
call fcn.180037c84
lea rcx, [rbp + 8]
call fcn.180037c66
nop
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1b0]
call fcn.180036424
lea rdx, str._VOICE_V2__command:_PASSTHROUGH__data:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180036302
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.18003792d
lea rdx, [0x180036127]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x1b0]
movzx eax, byte [rax + 0x18]
test eax, eax
je 0x18007ce1f
lea rcx, [rbp + 8]
call fcn.180036523
jmp 0x18007cf0f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, str..pipeVoiceV2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x18007cea4
lea rcx, [rbp + 8]
call fcn.180037833
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 8]
call fcn.180036299
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov rcx, qword [rbp + 0x178]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18007cf06
lea rcx, str._VoiceV2__Failed_to_open_named_pipe_in_child_process_n
call fcn.180036de3
cmp dword [0x1800ebbc8], 0x32
jle 0x18007cef8
lea rdx, str.__h1custom___03pipeerror
lea rcx, [rbp + 0x88]
call fcn.180036d5c
nop
lea rcx, [rbp + 0x88]
call fcn.180036299
mov rcx, rax
call qword [0x1800ebdf8]
mov dword [0x1800ebbc8], 0
lea rcx, [rbp + 0x88]
call fcn.180036523
mov eax, dword [0x1800ebbc8]
inc eax
mov dword [0x1800ebbc8], eax
lea rcx, [rbp + 8]
call fcn.180036523
lea rcx, [rbp - 0x40]
lea rdx, [0x1800b3e20]
call fcn.1800377a7
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.180036e4c
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1800362bc
Capabilities:
Write file on windows

Disassembly:
jmp 0x180080700
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1800fd404]
call fcn.180037c84
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x180080757
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x180080863
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1800807fc
cmp qword [rbp + 0x28], 0
jle 0x1800807fc
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x18008079c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.180037a9a
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x180080852
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x180080852
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1800362e9
Capabilities:
Get common file path

Disassembly:
jmp 0x18004b620
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x1800ea138]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1800fd119]
call fcn.180037c84
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x1800ac518]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_strcat_s]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x138], 0
je 0x18004b719
lea rdx, [0x1800ac528]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x158], 0
je 0x18004b719
mov rax, qword [rbp + 0x270]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x268]
mov r8, qword [rbp + 0x260]
mov edx, dword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
call qword [rbp + 0x158]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1800ac4f0]
call fcn.1800377a7
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.180036e4c
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret

Function at 0x1800363d9
Capabilities:
Get process image filename

Disassembly:
jmp 0x18008ba1f
jmp qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]

Function at 0x18003659b
Capabilities:
Create thread

Disassembly:
jmp 0x180063e10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
lea rcx, [0x1800fd383]
call fcn.180037c84
mov rcx, qword [rbp + 0x148]
call fcn.18003642e
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.180036eab
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1800365fa
nop
lea rcx, [rbp + 0x108]
call fcn.180036bfe
lea rax, [0x1800372f2]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x140]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.180037379
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x140]
mov qword [rcx], rax
mov rax, qword [rbp + 0x140]
cmp qword [rax], 0
je 0x180063ef9
lea rcx, [rbp + 8]
call fcn.180036ca3
jmp 0x180063f12
mov rax, qword [rbp + 0x140]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180036636
nop
lea rcx, [rbp + 8]
call fcn.180036bfe
lea rcx, [rbp - 0x30]
lea rdx, [0x1800b5750]
call fcn.1800377a7
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x180036965
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180067ef0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
lea rcx, [0x1800fd3a7]
call fcn.180037c84
lea rcx, [rbp + 0x100]
call fcn.1800369c4
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 1
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.180036e5b
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, 1
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x1800b5d70]
call fcn.1800377a7
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x180036a0a
Capabilities:
Connect pipe
Create pipe
Read file on windows

Disassembly:
jmp 0x18006f2d0
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1800ea138]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x1800fd3aa]
call fcn.180037c84
mov dword [rbp + 0x44], 0x4e20
mov dword [rbp + 0x64], 0x4e20
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, 6
mov edx, 3
lea rcx, str..pipeAssetValidator
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x18006f374
lea rcx, str.Failed_to_create_named_pipe_for_AssetValidator_n
call fcn.180036de3
jmp 0x18006f51c
lea rcx, str.Waiting_for_the_child_process_to_connect_to_the_named_pipe_AssetValidator..._n
call fcn.180036de3
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006f403
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x64], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, 6
mov edx, 3
lea rcx, str..pipeAssetValidator
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x44]
mov ecx, eax
call fcn.180036cd0
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006f4e5
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x88]
mov byte [rcx + rax], 0
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xa8]
call fcn.180036d5c
nop
lea rcx, str._AssetValidator__Finished_with_file_hashes_n
call fcn.180036de3
lea rdx, [rbp + 0xa8]
lea rcx, [0x1800ebc60]
call fcn.180037766
lea rdx, str.__h1custom___01
lea rcx, [rbp + 0xe8]
call fcn.180036d5c
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xe8]
call fcn.180036d1b
lea rcx, [rbp + 0xe8]
call fcn.180036299
mov rcx, rax
call qword [0x1800ebdf8]
nop
lea rcx, [rbp + 0xe8]
call fcn.180036523
nop
lea rcx, [rbp + 0xa8]
call fcn.180036523
jmp 0x18006f4f1
lea rcx, str.ReadFile_failed_for_AssetValidator_n
call fcn.180036de3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x208]
call fcn.180036e2e
mov byte [0x1800ebbb8], 0
lea rcx, [rbp - 0x40]
lea rdx, [0x1800b4680]
call fcn.1800377a7
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.180036e4c
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x180036f37
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180067d60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
lea rcx, [0x1800fd3a7]
call fcn.180037c84
lea rcx, [rbp + 0x100]
call fcn.180037d51
lea r9, [rbp + 4]
mov r8d, 0x40
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rbp + 0x108]
mov edx, 0x90
mov rcx, qword [rbp + 0x100]
call fcn.18003758b
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x1800b4570]
call fcn.1800377a7
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret