joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400401c0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14008c3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14004021a
cmp dword [rsp + 0x90], 0x7c
jge 0x14004021a
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14008afc0]
call fcn.140040394
nop
lea rcx, [rsp + 0x50]
call fcn.140003410
nop
cmp qword [rsp + 0x30], 0
jne 0x140040241
lea rdx, [0x140051368]
lea rcx, [rsp + 0x50]
call fcn.1400380a4
nop
jmp 0x140040251
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400380a4
nop
cmp dword [rsp + 0xa0], 1
jne 0x14004026d
lea rdx, [0x140051378]
lea rcx, [rsp + 0x50]
call fcn.1400380a4
nop
movss xmm2, dword [0x140050140]
movss xmm1, dword [0x140051ce4]
lea rcx, [rsp + 0x48]
call fcn.140037664
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140003240
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140027e48
movzx eax, al
test eax, eax
je 0x1400402e2
cmp dword [rsp + 0xa0], 0
jne 0x1400402e2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140003250
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140048050
add rsp, 0x88
ret

Function at 0x140043338
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x14008c3c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
call fcn.1400031f0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400433d9
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400433c6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400433e6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14004339e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140048050
add rsp, 0x170
pop rdi
ret
Function at 0x140045e90
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x14004687c
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140041b5c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140042018]
mov qword [rsp + 0x78], rax
lea rax, [0x140050cf8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x140046935
lea rdx, str._n_n_FireFox
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400335f8
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.FireFox_29.1.5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14008d858], rax
mov edx, 5
mov rcx, qword [0x14008d858]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140050cb8]
mov rcx, qword [0x14008d858]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14008d858]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14008d858]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xc0
pop rdi
ret
Function at 0x140047794
Capabilities:
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov rax, qword [0x14008c3c0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x38], rax
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
bts rax, 0x13
mov r8, rax
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov dword [rsp + 0x2c], 0xe1
mov r9d, 2
mov r8b, byte [rsp + 0x2c]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0x14
mov ecx, 0x50
call fcn.140041adc
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.14003834c
mov rcx, rax
call fcn.140038120
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
mov dword [rsp + 0x30], 0xb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x21]
call fcn.1400339b0
nop
lea rdx, [0x140050bd8]
lea rcx, [0x14008d828]
call fcn.140043338
mov dword [0x14008d830], eax
call fcn.140043400
movzx eax, al
test eax, eax
jne 0x1400478b8
lea rcx, [0x140050c08]
call fcn.140047a3c
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x1400478c5
lea rcx, str._n______Libraries_initialized__n
call fcn.140047a3c
nop
lea rcx, [0x14008d828]
call fcn.140045e2c
movzx eax, al
test eax, eax
jne 0x1400478fa
lea rcx, str._______The_driver_was_not_initialized_
call fcn.140047a3c
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x140047907
lea rcx, str.______Driver_initialized__n
call fcn.140047a3c
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x22]
call fcn.1400383d0
mov rcx, rax
call fcn.1400381a0
mov rcx, rax
call fcn.140047a3c
nop
lea rcx, [0x14008d828]
call fcn.1400432ec
mov qword [0x14008d838], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x23]
call fcn.140038428
mov rcx, rax
call fcn.140038160
mov rcx, rax
call fcn.140047a3c
nop
mov rax, qword [0x14008d838]
mov qword [0x14008cff8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x24]
call fcn.140038480
mov rcx, rax
call fcn.140038180
mov rcx, rax
call fcn.140047a3c
nop
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x25]
call fcn.1400384d8
mov rdx, rax
lea rcx, [rsp + 0x26]
call fcn.1400339fc
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x27]
call fcn.1400384f8
mov rcx, rax
call fcn.140038180
mov rcx, rax
call fcn.140047a3c
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.140038524
mov rcx, rax
call fcn.1400381c0
mov rcx, rax
call fcn.140047a3c
nop
mov edx, 0x1f4
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
call fcn.14004687c
call fcn.140046a08
call fcn.140047280
call fcn.140047628
xor eax, eax
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140048050
add rsp, 0x108
ret
Function at 0x140048878
Capabilities:
Parse pe header

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

Function at 0x140048ccc
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 0x140048d06
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140048d0b
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 0x140048d54
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140051d40]
cmp byte [rcx + rax], 0
je 0x140048d54
dec r8
sub rdx, 1
jne 0x140048d3a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140058c10
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.140058b70
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [0x1411601c8]
call fcn.1400531c0
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140028850
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400531c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x68]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x48]
call fcn.140053220
nop
call fcn.140058b70
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x80
pop rdi
ret

Function at 0x140058cf0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
call fcn.140058b70
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [0x1411601c8]
call fcn.1400531c0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400531c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call fcn.140058b70
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.1400532d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call fcn.140053220
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x60
pop rdi
ret
Function at 0x140058dd0
Capabilities:
Read .ini file

Disassembly:
movss dword [rsp + 0x18], xmm2
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.140058b70
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [0x1411601c8]
call fcn.1400531c0
mov qword [rsp + 0x38], rax
movss xmm1, dword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140058b30
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400531c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x68]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x48]
call fcn.140053220
nop
call fcn.140058b70
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x80
pop rdi
ret
Function at 0x140060620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140060659
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x140060748
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400606f0
cmp qword [rsp + 0x20], 0
jle 0x1400606f0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140060699
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400538c0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x140060738
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140060738
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140060750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140060784
xor eax, eax
jmp 0x140060981
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400607b6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x140060981
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140060868
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140057950
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400538c0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140060971
mov rcx, qword [rsp + 0x80]
call fcn.140063100
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14006091e
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140060919
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140060981
jmp 0x140060894
cmp qword [rsp + 0x50], 0
jbe 0x140060971
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x78
ret
Function at 0x1400631c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400631fd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140063204
mov al, 1
jmp 0x14006335c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140023850
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140023850
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140023860
movzx eax, al
test eax, eax
je 0x140063259
xor al, al
jmp 0x14006335c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400632c9
cmp dword [rsp + 0x30], 1
je 0x1400632d5
cmp dword [rsp + 0x30], 3
je 0x14006334a
jmp 0x14006335a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140063321
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140063321
xor al, al
jmp 0x14006335c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006333b
mov dword [rsp + 0x34], 1
jmp 0x140063343
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14006335c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006335c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0xa8
ret
Function at 0x140075e70
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x58]
lea rcx, [0x1402009e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x50], 0x15
mov eax, 2
imul rax, rax, 0x15
mov ecx, 0x30
mov word [rsp + rax + 0x58], cx
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x140075f22
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov al, 1
jmp 0x140075f9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jne 0x140075f6c
mov eax, 2
imul rax, rax, 0x15
movzx eax, word [rsp + rax + 0x58]
cmp eax, 0x39
jge 0x140075f6a
mov eax, 2
imul rax, rax, 0x15
movzx eax, word [rsp + rax + 0x58]
inc ax
mov ecx, 2
imul rcx, rcx, 0x15
mov word [rsp + rcx + 0x58], ax
jmp 0x140075ed2
jmp 0x140075f93
cmp dword [rsp + 0x40], 0xe7
jne 0x140075f93
mov edx, 0x2710
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140075f8e
xor al, al
jmp 0x140075f9c
jmp 0x140075ed2
xor al, al
jmp 0x140075f9c
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x98
pop rdi
pop rsi
ret

Function at 0x140076000
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x70], 0
jne 0x140076031
mov al, 1
jmp 0x14007610e
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14007605f
mov r8d, 0x4f
lea rdx, [0x140200a20]
lea rcx, [0x140200a10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
cmp qword [rsp + 0x38], 0
jne 0x14007606e
xor al, al
jmp 0x14007610e
mov rax, qword [rsp + 0x38]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x140076081
xor al, al
jmp 0x14007610e
cmp qword [rsp + 0x68], 0
jne 0x1400760a5
mov r8d, 0x56
lea rdx, [0x140200ac0]
lea rcx, [0x140200ab0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
cmp qword [rsp + 0x68], 0
jne 0x1400760b1
xor al, al
jmp 0x14007610e
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140076101
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jne 0x140076101
mov dword [rsp + 0x34], 1
jmp 0x140076109
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x58
ret