joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000a91e
mov word [rbp + 0x50], 0x6843
mov word [rbp + 0x58], 0x6843
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a7a4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000a790
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000a7d5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000a7c0
cmp rdi, rbx
jne 0x14000a8f2
mov r13, rsi
mov word [rbp - 0x50], 0x6843
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a816
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000a802
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000a918
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x680022
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000a888
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x680039
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000a888
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x680022
mov dword [rbp - 0x42], 0x680002
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x680022
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000a8e5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x680039
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000a8e5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x680022
mov dword [rbp - 0x32], 0x680002
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000a8f2
inc r14
jmp 0x14000a7f0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000a91e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000a760
mov rax, qword [rbp - 8]
jmp 0x14000a920
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ab50
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000abb2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ceb0
test al, al
jne 0x14000abc4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000ab80
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x2d0008
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3c0037
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x240027
mov dword [rbp - 0x10], 0x32005a
call fcn.140005e60
mov rcx, rax
call 0x14000ab50
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 9
mov dword [rbp - 0x20], 0x2d0008
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3c0037
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x570056
call fcn.140002590
mov rcx, rax
call 0x14000ab50
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x1c002d
mov dword [rbp - 0x1c], 0x1e0001
mov dword [rbp - 0x18], 0x6b0003
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000ab50
Function at 0x14000abe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x10
mov dword [rbp - 0x1c], 0x1e0000
mov dword [rbp - 0x18], 0x580003
mov dword [rbp - 0x14], 0x4b0057
mov dword [rbp - 0x10], 0x1b006d
mov dword [rbp - 0xc], 0x620009
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400171a0], rax
mov dword [rbp - 0x20], 0x10014
mov dword [rbp - 0x1c], 0x1b000b
mov dword [rbp - 0x18], 0xe0001
mov dword [rbp - 0x14], 0x4b0011
mov dword [rbp - 0x10], 0x1b006d
mov dword [rbp - 0xc], 0x620009
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140016330]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400171b0], rax
mov word [rbp - 0x10], 0x2513
mov byte [rbp - 0xe], 0x65
call fcn.140005220
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1e000010
mov dword [rbp - 0x1c], 0x1d2e03
mov dword [rbp - 0x18], 0x711026a
mov word [rbp - 0x14], 0x7277
call fcn.140001180
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1711060a
mov dword [rbp - 0x1c], 0x1100051d
mov dword [rbp - 0x18], 0xc000746
mov word [rbp - 0x14], 0x7261
call fcn.140001180
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016450]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e8], rax
mov byte [rbp - 0x10], 0x65
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400163a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170f0], rax
mov dword [rbp - 0x10], 0x6e001e01
call fcn.1400029f0
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016370]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e0], rax
mov byte [rbp - 0x10], 0x65
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016430]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170d8], rax
mov dword [rbp - 0x10], 0x2f0b1d0c
mov byte [rbp - 0xc], 0x63
call fcn.140003790
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400163d0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x330b
mov byte [rbp - 0xe], 0x65
call fcn.140005220
mov rcx, qword [0x1400171b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000d0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000abb2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ceb0
test al, al
jne 0x14000abc4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000ab80
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x2d0008
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3c0037
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x240027
mov dword [rbp - 0x10], 0x32005a
call fcn.140005e60
mov rcx, rax
call 0x14000ab50
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 9
mov dword [rbp - 0x20], 0x2d0008
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3c0037
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x570056
call fcn.140002590
mov rcx, rax
call 0x14000ab50
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x1c002d
mov dword [rbp - 0x1c], 0x1e0001
mov dword [rbp - 0x18], 0x6b0003
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000ab50
Function at 0x140005870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400058a0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400058c8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400058ca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005923
test ecx, ecx
jle 0x140005903
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005923
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005923
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x8112230d
push 0x380246b4
sal ebp, 0xc
invalid
Function at 0x140005950
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005972
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140005981
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400059a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400059a6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400059e0
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005a87
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140005a1b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140005a61
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140005aa0
cmp rbx, rax
ja 0x140005a30
mov r8, rdi
test rdi, rdi
je 0x140005a87
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x140005a8a
adc al, 0x2b
push rax
xchg ebx, eax
mov byte [rcx + 0x13], bl
outsb dx, byte [rsi]
invalid
add al, 0x5a
jo 0x14015d2b3
push 0x3bff5be9
jmp 0xfc319875
Function at 0x140005ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d6038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005eed
xor eax, eax
jmp 0x140006042
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140005f18
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140005f18
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140006042
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140006035
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005f5b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005f86
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000603a
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005ff5
sub eax, 1
je 0x140005ff5
cmp eax, 2
jne 0x140006035
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000603a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006023
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140006035
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000603a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140086700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140007220
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400d6038]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400072f3
cmp byte [rcx + 0x71], 0
je 0x1400072f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400072ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400072b4
sub eax, 1
je 0x1400072b8
cmp eax, 2
jne 0x1400072ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140086700
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400072e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400072ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000729c
xor al, al
jmp 0x14000729c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140086700
add rsp, 0x60
pop rbx
ret
Function at 0x14000fd20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400d6038]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000fdf5
cmp byte [rcx + 0x72], 0
je 0x14000fdf5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x14000fdf1
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_unsigned_short_int__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000fdb6
sub eax, 1
je 0x14000fdba
cmp eax, 2
jne 0x14000fdf1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140086700
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000fde8
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000fdf1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14000fd9e
xor al, al
jmp 0x14000fd9e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140086700
add rsp, 0x60
pop rbx
ret
Function at 0x140010270
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d6038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1400102a1
xor eax, eax
jmp 0x1400103e4
mov rdx, qword [rcx + 0x40]
mov rcx, qword [rdx]
test rcx, rcx
je 0x1400102d1
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rdx, [rcx + r8*2]
cmp rcx, rdx
jae 0x1400102d1
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_unsigned_short_int____ptr64___cdecl_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::_Pninc_void____ptr64]
mov word [rax], si
movzx eax, si
jmp 0x1400103e4
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x1400103d9
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140010318
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140010342
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x1400103d9
movzx edi, si
jmp 0x1400103d9
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_unsigned_short_int__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010398
sub eax, 1
je 0x140010398
cmp eax, 2
jne 0x1400103d9
movzx ecx, word [rsp + 0x40]
jmp 0x140010324
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1400103c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x1400103d9
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
movzx eax, si
jne 0x1400103dc
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140086700
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140029100
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r9, [rsp + 0x48]
mov rbx, rcx
mov dword [rsp + 0x48], eax
mov rcx, qword [rcx + 0x18]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x40], al
lea r8d, [rax + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140029146
cmp dword [rsp + 0x48], 0
je 0x140029172
movzx eax, byte [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov r9, qword [sym.imp.TD_Root_23.8_16.dll_class_OdString_const_OdString::kEmpty]
lea r8, [rbx + 0x20]
mov edx, gethostname
lea rcx, [rsp + 0x50]
call sub.TD_Root_23.8_16.dll_public:_void___cdecl_OdError_FileException::constructor_enum_OdResult__class_OdString_const____ptr64__class_OdString_const____ptr64____ptr64
lea rdx, [0x1400c1538]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r9, qword [sym.imp.TD_Root_23.8_16.dll_class_OdString_const_OdString::kEmpty]
lea r8, [rbx + 0x20]
mov edx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x50]
call sub.TD_Root_23.8_16.dll_public:_void___cdecl_OdError_FileException::constructor_enum_OdResult__class_OdString_const____ptr64__class_OdString_const____ptr64____ptr64
lea rdx, [0x1400c1538]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400291a0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 0x40]
mov rdx, rcx
test rax, rax
jne 0x1400291b9
add rsp, 0x28
jmp method.OdBaseFileBuf.virtual_144
mov rcx, qword [rcx + 0x50]
cmp rcx, qword [rdx + 0x48]
jae 0x1400291d3
movzx eax, byte [rcx + rax]
inc rcx
mov qword [rdx + 0x50], rcx
add rsp, 0x28
ret
mov r9, qword [sym.imp.TD_Root_23.8_16.dll_class_OdString_const_OdString::kEmpty]
lea r8, [rdx + 0x20]
mov edx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x30]
call sub.TD_Root_23.8_16.dll_public:_void___cdecl_OdError_FileException::constructor_enum_OdResult__class_OdString_const____ptr64__class_OdString_const____ptr64____ptr64
lea rdx, [0x1400c1538]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140029200
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, dword [rcx + 0x203c]
mov rbx, rcx
test r8d, r8d
je 0x140029228
lea rdx, [rcx + 0x38]
call fcn.140029b30
mov dword [rbx + 0x203c], 0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp method.OdBaseFileBuf.virtual_144