joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0040a6e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402700
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402708
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402700
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x402755
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x40274c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402700
add rax, 0x28
cmp rax, r9
jne 0x402738
xor eax, eax
ret

Function at 0x402760
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040a6e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402780
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x402788
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x402780
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x402810
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040a6e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402830
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402838
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1400426d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
cmp qword [rcx + 0x78], 0
je 0x1400428e8
mov rsi, rcx
test byte [rcx + 0x9c], 0x10
jne 0x14004271f
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
mov rax, qword [rsi + 0x60]
cmp rax, 9
jb 0x14004276a
cmp byte [rsi + 0xa2], 0
je 0x14004277e
mov r12, qword [rsi + 0x40]
jmp 0x140042786
mov r12, qword [rsi + 0x28]
mov r15, qword [rsi + 0x38]
mov r9, qword [rsi + 0x30]
cmp edx, 0xffffffff
je 0x1400427ac
test r9, r9
jne 0x14004274b
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x43]
mov qword [rsi + 0x30], r9
mov qword [rsi + 0x28], r9
mov qword [rsi + 0x38], rax
mov byte [r9], dl
mov r8, qword [rsi + 0x28]
mov r9, qword [rsi + 0x30]
inc r9
mov qword [rsi + 0x30], r9
mov rdi, r9
sub rdi, r8
jne 0x1400427b7
jmp 0x1400427f9
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
xor r15d, r15d
xor r12d, r12d
jmp 0x140042799
mov r12, qword [rsi + 0x68]
mov rax, qword [rsi + 0x70]
lea r15, [r12 + rax]
dec r15
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x38], r15
mov dword [rsi + 0x9c], 0x10
mov r9, qword [rsi + 0x30]
cmp edx, 0xffffffff
jne 0x140042730
mov r8, r12
mov rdi, r9
sub rdi, r8
je 0x1400427f9
mov dword [rsp + 0x44], edx
cmp byte [rsi + 0xa2], 0
je 0x140042806
mov r9, qword [rsi + 0x78]
mov edx, 1
mov rcx, r8
mov r8, rdi
call sym.fwrite
mov rcx, rax
mov eax, 0xffffffff
cmp rcx, rdi
jne 0x1400428ed
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x38], r15
mov edx, dword [rsp + 0x44]
xor eax, eax
cmp edx, 0xffffffff
cmovne eax, edx
jmp 0x1400428ed
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x1400428c2
lea rdi, [rsi + 0x88]
lea r13, [rsp + 0x50]
lea rbp, [rsp + 0x48]
mov rdx, qword [rsi + 0x40]
mov r10, qword [rsi + 0x60]
add r10, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbp
mov rdx, rdi
call qword [0x1400b91b0]
mov rcx, qword [rsi + 0x28]
cmp qword [rsp + 0x48], rcx
je 0x1400428e8
mov ebx, eax
cmp eax, 3
je 0x1400428c7
cmp ebx, 1
ja 0x1400428e8
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsi + 0x40]
mov r9, qword [rsi + 0x78]
sub r14, rcx
mov edx, 1
mov r8, r14
call sym.fwrite
cmp rax, r14
jne 0x1400428e8
cmp ebx, 1
jne 0x1400427e9
mov r8, qword [rsp + 0x48]
mov r9, qword [rsi + 0x30]
mov qword [rsi + 0x28], r8
mov qword [rsi + 0x38], r9
mov rcx, qword [rsi + 0x80]
test rcx, rcx
jne 0x140042830
call sym.unk_2530
mov rdi, qword [rsi + 0x30]
mov r9, qword [rsi + 0x78]
sub rdi, rcx
mov edx, 1
mov r8, rdi
call sym.fwrite
cmp rax, rdi
je 0x1400427e9
mov eax, 0xffffffff
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140042bb0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
xor eax, eax
cmp qword [rcx + 0x78], 0
je 0x140042d06
mov rsi, rcx
mov rcx, qword [rcx + 0x80]
test rcx, rcx
je 0x140042d8f
mov edx, dword [rsi + 0x9c]
test dl, 0x10
jne 0x140042c15
test dl, 8
je 0x140042d06
mov rax, qword [rsi + 0x90]
mov qword [rsp + 0x28], rax
cmp byte [rsi + 0xa2], 0
je 0x140042cbb
mov rdi, qword [rsi + 0x20]
sub rdi, qword [rsi + 0x18]
jmp 0x140042ce8
mov rax, qword [rsi + 0x30]
cmp rax, qword [rsi + 0x28]
je 0x140042c44
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
mov edx, 0xffffffff
call qword [0x1400b91b0]
mov ecx, eax
mov eax, 0xffffffff
cmp ecx, 0xffffffff
je 0x140042d06
lea rdi, [rsi + 0x88]
lea r15, [rsp + 0x28]
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
mov r9, qword [rsi + 0x60]
add r9, r8
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], r15
mov rdx, rdi
call qword [0x1400b91b0]
mov ebx, eax
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsi + 0x40]
mov r9, qword [rsi + 0x78]
sub r14, rcx
mov edx, 1
mov r8, r14
call sym.fwrite
cmp rax, r14
jne 0x140042d01
cmp ebx, 1
je 0x140042c50
cmp ebx, 2
je 0x140042d01
mov rcx, qword [rsi + 0x78]
call sym.fflush
mov ecx, eax
mov eax, 0
test ecx, ecx
jne 0x140042d01
jmp 0x140042d06
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x1400b91b0]
mov r9, qword [rsi + 0x48]
mov rdi, qword [rsi + 0x50]
sub rdi, r9
test eax, eax
jle 0x140042d4b
mov rcx, qword [rsi + 0x20]
sub rcx, qword [rsi + 0x18]
mov eax, eax
imul rcx, rax
add rdi, rcx
xor ebx, ebx
mov rcx, qword [rsi + 0x78]
neg edi
mov edx, edi
mov r8d, 1
call sym.fseek
test eax, eax
je 0x140042d12
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test bl, bl
je 0x140042d22
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x88], rax
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x48], rax
mov dword [rsi + 0x9c], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
xor eax, eax
jmp 0x140042d06
mov rdx, qword [rsi + 0x18]
cmp rdx, qword [rsi + 0x20]
je 0x140042ce8
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
sub rdx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x28]
call qword [0x1400b91b0]
mov eax, eax
add rdi, qword [rsi + 0x48]
add rax, qword [rsi + 0x40]
sub rdi, rax
mov bl, 1
jmp 0x140042cea
call sym.unk_2530
int3
Function at 0x140045540
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140045587
movabs rcx, 0xf000000000000000
nop word cs:[rax + rax]
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x140045560
ret

Function at 0x14007d950
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call sym.unk_3505
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
mov ecx, 2
call sym.unk_3505
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call dbg.vfprintf
call sym.abort
int3

Function at 0x14007f2c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rcx, str.libcabi:
mov edx, 0xb
mov r8d, 1
mov r9, rax
call sym.fwrite
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ecx, 2
call rdi
mov r8, qword [rsp + 0x20]
mov rcx, rax
mov rdx, rsi
call dbg.vfprintf
mov ecx, 2
call rdi
mov ecx, 0xa
mov rdx, rax
call sym.fputc
call sym.abort
int3

Function at 0x14007fb30
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
call sym.logAPIs
test al, al
je 0x14007fb83
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call dbg.fprintf
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.unk_3538

Function at 0x14007fc10
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call sym.logAPIs
test al, al
je 0x14007fc58
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.unk_3538
Function at 0x14007fef0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [sym.unk_3622]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14007ff48
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x140082cf0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
xor edi, edi
cmp rax, 8
ja 0x140082d6f
mov rax, qword [0x1400a8008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140082d6f
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140082d6d
add rax, rcx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x140082d6d
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x140082d6d
movzx ecx, word [rax + 0x14]
lea rdi, [rcx + rax]
add rdi, 0x18
nop dword [rax]
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.strncmp
test eax, eax
je 0x140082d6f
add rdi, 0x28
dec ebx
jne 0x140082d50
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140082d80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x1400a8008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x140082deb
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140082deb
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x140082deb
movzx edx, word [rax + 6]
test edx, edx
je 0x140082deb
sub rcx, qword [0x1400a8008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140082dd8
add rax, 0x28
dec edx
je 0x140082deb
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140082dd0
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140082dd0
ret
xor eax, eax
ret

Function at 0x140082df0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x1400a8008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140082e25
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140082e25
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140082e25
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140082ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400a8008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140082ecc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140082ecc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x140082ece
xor eax, eax
ret
Function at 0x140082f60
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x1400a8008]
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140082ffd
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x140082ffd
add rax, rdx
movzx r8d, word [rax + 0x18]
cmp r8d, 0x20b
jne 0x140082ffd
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x140082ffd
movzx r9d, word [rax + 6]
test r9, r9
je 0x140082ffd
movzx r10d, word [rax + 0x14]
shl r9d, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x140082fd9
add r11, 0x28
cmp r9d, r11d
je 0x140082fff
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x140082fd0
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x140082fd0
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x140083021
jmp 0x14008301c
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x140083021
cmp dword [rdx], 0
je 0x140082fff
test ecx, ecx
jg 0x140083010
mov eax, dword [rdx]
add rax, qword [0x1400a8008]
jmp 0x140082fff

Function at 0x140083090
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x1400830b1
cmp byte [0x1400d5cf2], 0
jne 0x1400830d0
jmp 0x140083102
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083102
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
lea r8, [0x1400d5208]
mov rcx, rsi
mov rdx, rdi
call sym.unk_3699
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x1400b91b0]
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140083130
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400d5cf3], 1
jne 0x14008314c
cmp byte [0x1400d5cf2], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
test rax, rax
setne al
setne byte [0x1400d5cf2]
mov byte [0x1400d5cf3], 1
add rsp, 0x28
ret
Function at 0x140084f60
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
add dword [rcx], 2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x1400b36b6]
lea r8, str.SyntheticTemplateParamName
mov rcx, rax
call dbg.fprintf
mov eax, dword [rdi + 0x14]
mov edi, dword [rdi + 0x18]
cmp eax, 2
je 0x140084fd9
cmp eax, 1
je 0x140084fc0
test eax, eax
jne 0x140084ffe
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::Type
mov edx, 0x17
jmp 0x140084ff0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::NonType
mov edx, 0x1a
jmp 0x140084ff0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::Template
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
movzx ebx, byte [rsi + 4]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test bl, bl
je 0x140085071
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14008506b
xor ebx, ebx
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebx
cmp ebx, dword [rsi]
jne 0x140085050
mov byte [rsi + 4], 0
jmp 0x14008508b
lea rcx, [0x1400b36cf]
mov edx, 2
mov r8d, 1
mov r9, rax
call sym.fwrite
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str._llu
mov rcx, rax
mov r8, rdi
call dbg.fprintf
mov ecx, 2
call rbx
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140085600
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov r14, qword [rdx + 8]
inc dword [rcx]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x7b
mov rdx, rax
call sym.fputc
test r14, r14
je 0x1400856a5
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008564f
mov rdx, rsi
call sym.unk_3721
cmp r14, 1
jne 0x14008567a
jmp 0x1400856a5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
cmp r14, 1
je 0x1400856a5
shl r14, 3
mov r15d, 8
nop word cs:[rax + rax]
mov rdx, qword [rbx + r15]
mov rcx, rsi
call sym.unk_3736
add r15, 8
cmp r14, r15
jne 0x140085690
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x7d
mov rdx, rax
call sym.fputc
dec dword [rsi]
cmp qword [rdi + 8], 0
je 0x1400856ca
mov byte [rsi + 4], 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400856e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14008574a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140085730
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140085760
mov rcx, rdi
mov rdx, rsi
call sym.unk_3721
jmp 0x140085785
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400857a0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x1400b36b6]
lea r8, str.DotSuffix
mov rcx, rax
call dbg.fprintf
mov rdi, qword [r14 + 0x18]
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14008581a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140085800
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140085830
mov rcx, rdi
mov rdx, rsi
call sym.unk_3721
jmp 0x140085855
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.unk_3738
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140085890
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
movzx ebx, byte [rcx + 4]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test bl, bl
je 0x140085911
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rdi], 0
je 0x14008590b
xor ebx, ebx
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebx
cmp ebx, dword [rdi]
jne 0x1400858f0
mov byte [rdi + 4], 0
jmp 0x14008592b
lea rcx, [0x1400b36cf]
mov edx, 2
mov r8d, 1
mov r9, rax
call sym.fwrite
mov rdi, qword [rsi]
mov esi, dword [rsi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.__.s_
mov rcx, rax
mov r8d, esi
mov r9, rdi
call dbg.fprintf
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140085960
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
lea rdx, [0x1400b36b6]
lea r8, str.VendorExtQualType
mov rcx, rax
call dbg.fprintf
mov rbx, qword [rdi + 0x18]
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rdi + 0x30]
mov ecx, 2
call r14
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x1400859eb
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x1400859d0
mov byte [rsi + 4], 0
test rbx, rbx
je 0x140085a01
mov rcx, rbx
mov rdx, rsi
call sym.unk_3721
jmp 0x140085a26
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.unk_3738
mov rcx, rsi
mov rdx, rdi
call sym.unk_3736
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140085a70
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
lea rdx, [0x1400b36b6]
lea r8, str.QualType
mov rcx, rax
call dbg.fprintf
mov rbx, qword [rdi + 0x18]
mov edi, dword [rdi + 0x14]
mov ecx, 2
call r14
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x140085aeb
xor ebp, ebp
nop dword [rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140085ad0
mov byte [rsi + 4], 0
test rbx, rbx
je 0x140085b01
mov rcx, rbx
mov rdx, rsi
call sym.unk_3721
jmp 0x140085b26
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
mov rcx, rsi
mov edx, edi
call sym.unk_3741
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret