joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180061ff0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebx, r8d
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], al
mov dword [rsp + 0x20], 1
lea ecx, [rax + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1800620a7
mov ecx, dword [rsp + 0x48]
cmp ebx, ecx
jb 0x180062074
add ecx, dword [rsp + 0x50]
cmp ebx, ecx
jbe 0x180062084
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x180062060
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180062090
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.180047060
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800d0760
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800620e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1800f5d60]
xor eax, eax
mov qword [rbp - 0x18], rax
mov edx, eax
mov dword [rbp - 0x20], eax
mov rbx, rcx
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x92ad9698
mov dword [rbp - 0x2c], 0x9a9c9989
mov word [rbp - 0x28], 0x100
nop dword [rax]
lea ecx, [rdx - 0x19]
xor byte [rbp + rdx - 0x40], cl
inc rdx
cmp rdx, 0x18
jb 0x180062130
mov byte [rbp - 0x27], al
mov dword [rbp - 0x50], 0x868d9c89
mov dword [rbp - 0x4c], 0x8289c287
mov word [rbp - 0x48], 0x83
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea ecx, [rax - 0x19]
xor byte [rbp + rax - 0x50], cl
inc rax
cmp rax, 9
jb 0x180062160
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x46], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 8
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x18]
mov rcx, rbx
lea edx, [r9 + 1]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800d0760
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
Function at 0x1800634b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x23], 0
je 0x1800634d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x22
jb 0x1800634c0
mov byte [rcx + 0x23], 0
mov rax, rcx
ret

Function at 0x180063650
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x180063673
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x180063660
mov byte [rcx + 9], 0
ret

Function at 0x180063680
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x1800636a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x180063690
mov byte [rcx + 0xb], 0
ret

Function at 0x1800636b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x1800636d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x1800636c0
mov byte [rcx + 0xd], 0
ret

Function at 0x1800636e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x180063703
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x1800636f0
mov byte [rcx + 8], 0
ret

Function at 0x180063710
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x180063733
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x180063720
mov byte [rcx + 0x18], 0
ret

Function at 0x180063740
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x180063763
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x180063750
mov byte [rcx + 0x12], 0
ret

Function at 0x180063770
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x180063793
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x180063780
mov byte [rcx + 0xe], 0
ret

Function at 0x1800637a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x1800637c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x1800637b0
mov byte [rcx + 0x16], 0
ret

Function at 0x1800637d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x1800637f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x1800637e0
mov byte [rcx + 0x1a], 0
ret

Function at 0x180063800
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x180063823
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x180063810
mov byte [rcx + 0x1c], 0
ret

Function at 0x180063830
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x180063853
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x180063840
mov byte [rcx + 0x17], 0
ret
Function at 0x180063860
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x180063883
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x180063870
mov byte [rcx + 0x15], 0
ret

Function at 0x180063890
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x1800638b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x1800638a0
mov byte [rcx + 0x11], 0
ret

Function at 0x1800638c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x1800638e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x1800638d0
mov byte [rcx + 0xa], 0
ret

Function at 0x1800638f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x180063913
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x180063900
mov byte [rcx + 7], 0
ret

Function at 0x180063920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x180063943
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x180063930
mov byte [rcx + 4], 0
ret

Function at 0x180063960
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x180063983
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x180063970
mov byte [rcx + 0xf], 0
ret

Function at 0x180063990
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x1800639b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x1800639a0
mov byte [rcx + 0x14], 0
ret

Function at 0x1800639c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x1800639e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x1800639d0
mov byte [rcx + 0x19], 0
ret

Function at 0x1800639f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x180063a13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x180063a00
mov byte [rcx + 0xc], 0
ret

Function at 0x180063a20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x180063a43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x180063a30
mov byte [rcx + 0x13], 0
ret

Function at 0x180063a50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x180063a73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x180063a60
mov byte [rcx + 0x10], 0
ret

Function at 0x180063a80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x180063aa3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x19]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x180063a90
mov byte [rcx + 5], 0
ret
Function at 0x180063c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.180043580
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180063c69
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x180063c73
lea rbp, [rbx + rdx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x180063c98
sub rsi, rdi
nop dword [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x180063c80
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180063ca5
mov r8, qword [rbx]
movabs r9, 0xcbf29ce484222325
xor r15d, r15d
mov ecx, r15d
test rdx, rdx
je 0x180063ce4
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x180063cd0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1800717f0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x180063d0c
cmp rdi, qword [r14 + 8]
je 0x180063d0c
mov rdi, qword [rdi + 0x30]
jmp 0x180063dd3
mov rdi, qword [r14 + 0x48]
sub rdi, qword [r14 + 0x40]
sar rdi, 6
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.18006c270
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rsi, qword [r14 + 0x48]
cmp rsi, qword [r14 + 0x50]
je 0x180063d7f
mov rdx, rbx
mov rcx, rsi
call fcn.180065b80
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x30], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
add qword [r14 + 0x48], 0x40
jmp 0x180063d98
lea r9, [rsp + 0x20]
mov r8, rbx
mov rdx, rsi
lea rcx, [r14 + 0x40]
call fcn.18006b2f0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180063dd3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180063dce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180063dce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0a1c
shl rdi, 6
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180063e11
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180063e0c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180063e45
mov rcx, r8
call fcn.1800d0a1c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800d0760
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180063e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.180043580
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180063ea4
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x180063eae
lea rbp, [rdx + rbx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x180063ece
sub rsi, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x180063eb6
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180063edb
mov r8, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x180063f14
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x180063f00
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1800717f0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180063f3c
cmp rcx, qword [r14 + 8]
je 0x180063f3c
mov rsi, qword [rcx + 0x30]
jmp 0x180063ff6
mov rcx, qword [r14 + 0x48]
sub rcx, qword [r14 + 0x40]
movabs rax, 0x8888888888888889
imul rcx
lea rsi, [rcx + rdx]
sar rsi, 6
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.18006c270
mov rcx, qword [rax]
mov qword [rcx + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.180067130
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rdi, qword [r14 + 0x48]
cmp rdi, qword [r14 + 0x50]
je 0x180063fcd
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov rcx, rdi
call fcn.180065b80
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.180076100
nop
add qword [r14 + 0x48], 0x78
jmp 0x180063fe2
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rdi
lea rcx, [r14 + 0x40]
call fcn.18006b4b0
nop
lea rcx, [rsp + 0x70]
call fcn.1800681d0
lea rcx, [rsp + 0x30]
call fcn.180044a60
imul rdi, rsi, 0x78
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180064034
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18006402f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180064073
mov rcx, r8
call fcn.1800d0a1c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d0760
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180064480
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 0x1800644b7
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 0x1800644d8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800644da
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180064533
test ecx, ecx
jle 0x180064513
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 0x180064533
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180064533
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
Function at 0x180064560
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 0x180064582
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180064598
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 0x1800645b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800645b6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1800645f0
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 0x180064697
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x18006462b
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 0x180064671
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 0x1800646b0
cmp rbx, rax
ja 0x180064640
mov r8, rdi
test rdi, rdi
je 0x180064697
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 0x18006469a
Function at 0x180064ab0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x180064add
xor eax, eax
jmp 0x180064c32
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x180064b08
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x180064b08
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 0x180064c32
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180064c25
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x180064b4b
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 0x180064b76
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 0x180064c2a
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 0x180064be5
sub eax, 1
je 0x180064be5
cmp eax, 2
jne 0x180064c25
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 0x180064c2a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180064c13
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 0x180064c25
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x180064c2a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800d0760
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180066e00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180066ed3
cmp byte [rcx + 0x71], 0
je 0x180066ed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x180066ecf
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 0x180066e94
sub eax, 1
je 0x180066e98
cmp eax, 2
jne 0x180066ecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800d0760
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180066ec6
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 0x180066ecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180066e7c
xor al, al
jmp 0x180066e7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800d0760
add rsp, 0x60
pop rbx
ret