joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fa70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14002faa0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002fb22
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14002faee
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002faf6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002fa95
mov qword [rsp + 8], 0xe3
jmp 0x14002fb3a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002fbc1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14002fb8b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002fb93
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002fb2d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002fc15
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002fc1d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140032030
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
vmovss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140032066
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x1400320cb
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x1400320cb
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
add rsp, 0x28
ret
Function at 0x140032100
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x1402127d8]
test eax, eax
jne 0x140032114
jmp 0x14003236e
mov dword [rsp + 0x24], 0x20
vmovss xmm0, dword [0x14013534c]
call fcn.14005f1d0
nop
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x140135804]
lea rcx, [rsp + 0x28]
call fcn.14000c380
xor edx, edx
mov rcx, rax
call fcn.14005f0c0
nop
mov r8d, dword [rsp + 0x24]
xor edx, edx
lea rcx, str.Cheats_List
call fcn.140059f40
nop
movzx eax, byte [0x14021248a]
test eax, eax
je 0x140032193
movzx eax, byte [0x140212498]
test eax, eax
jne 0x140032186
mov ecx, dword [0x14019d078]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140032193
lea rcx, str.Aimbot__Toggle_
call fcn.14009f140
nop
movzx edx, byte [0x140212497]
lea rcx, str.Anti_Record
call fcn.140031fb0
movzx edx, byte [0x1402127cd]
lea rcx, str.Bhop
call fcn.140031fb0
movzx edx, byte [0x1402127db]
lea rcx, str.Bomb_Timer
call fcn.140031fb0
movzx edx, byte [0x14021246b]
lea rcx, str.Crosshair
call fcn.140031fb0
movzx edx, byte [0x1402127f6]
lea rcx, str.Enemy_Sensor
call fcn.140031fb0
movzx edx, byte [0x1401473c1]
lea rcx, [0x14012c1a8]
call fcn.140031fb0
movzx edx, byte [0x1402127df]
lea rcx, str.External_Radar
call fcn.140031fb0
movzx edx, byte [0x1402127cc]
lea rcx, str.Fake_Duck
call fcn.140031fb0
movzx edx, byte [0x1402127dd]
lea rcx, str.Fast_Stop
call fcn.140031fb0
nop
vmovss xmm0, dword [0x1402127c4]
vucomiss xmm0, dword [0x1401351f8]
je 0x14003225e
lea rcx, str.Flash_Immunity
call fcn.14009f140
nop
movzx edx, byte [0x1402127d9]
lea rcx, str.Force_Scope
call fcn.140031fb0
nop
cmp dword [0x14019d054], 0x5a
je 0x140032288
lea rcx, str.Fov_Changer
call fcn.14009f140
nop
movzx edx, byte [0x140212481]
lea rcx, str.Headshot_Line
call fcn.140031fb0
cmp dword [0x1402127d4], 0
je 0x1400322ab
mov byte [rsp + 0x20], 1
jmp 0x1400322b0
mov byte [rsp + 0x20], 0
movzx edx, byte [rsp + 0x20]
lea rcx, str.HitSound
call fcn.140031fb0
movzx edx, byte [0x1402127ce]
lea rcx, str.Money_Service
call fcn.140031fb0
movzx edx, byte [0x1402127f4]
lea rcx, str.No_Smoke
call fcn.140031fb0
movzx edx, byte [0x1402127f5]
lea rcx, str.Radar_Hack
call fcn.140031fb0
movzx edx, byte [0x140212489]
lea rcx, [0x14012c200]
call fcn.140031fb0
movzx edx, byte [0x1402127f7]
lea rcx, str.Smoke_Color
call fcn.140031fb0
movzx edx, byte [0x1402127da]
lea rcx, str.Spec_List
call fcn.140031fb0
nop
movzx eax, byte [0x140212478]
test eax, eax
je 0x140032368
movzx eax, byte [0x140212482]
test eax, eax
jne 0x14003235b
mov ecx, dword [0x14021249c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140032368
lea rcx, str.TriggerBot__Toggle_
call fcn.14009f140
nop
call fcn.14005d9d0
nop
add rsp, 0x38
ret
Function at 0x140032f10
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x1402127dd]
test eax, eax
jne 0x140032f24
jmp 0x140032fd2
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140032f3e
jmp 0x140032fd2
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140032f55
jmp 0x140032fd2
vmovss xmm3, dword [0x140135768]
mov r8d, 0x44
lea rdx, [0x1402109d6]
mov ecx, 0x41
call fcn.140032030
vmovss xmm3, dword [0x140135768]
mov r8d, 0x41
lea rdx, [0x140210a2c]
mov ecx, 0x44
call fcn.140032030
vmovss xmm3, dword [0x140135768]
mov r8d, 0x53
lea rdx, [0x1402109d7]
mov ecx, 0x57
call fcn.140032030
vmovss xmm3, dword [0x140135768]
mov r8d, 0x57
lea rdx, [0x1402109d5]
mov ecx, 0x53
call fcn.140032030
nop
add rsp, 0x28
ret

Function at 0x1400334a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140147340]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x1402127cd]
test eax, eax
jne 0x1400334c8
jmp 0x14003359e
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400334df
mov byte [rsp + 0x21], 1
jmp 0x1400334e4
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000e420
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x140212a10]
call fcn.140038460
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140033553
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140033553
mov dword [rsp + 0x24], 0x10
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.1400270d0
mov rcx, rax
call fcn.1400270f0
nop
mov edx, 0x10001
lea rcx, [0x140212a10]
call fcn.140038420
nop
jmp 0x14003359e
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140033579
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140033579
mov edx, 0x100
lea rcx, [0x140212a10]
call fcn.140038420
nop
jmp 0x14003359e
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003359e
cmp dword [rsp + 0x30], 0x10001
jne 0x14003359e
mov edx, 0x100
lea rcx, [0x140212a10]
call fcn.140038420
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011cfd0
add rsp, 0x48
ret
Function at 0x140037e60
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4d0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140147340]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
mov dword [rbp + 0x60], 0x438
mov rax, qword [rbp + 0x4c0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
call fcn.140037dc0
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x140037edd
mov qword [rbp + 0x30], 0
jmp 0x140037f7b
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140037eed
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140037f1c
mov qword [rbp + 0x28], 0
jmp 0x140037f73
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x40], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140037f44
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14011e2f0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140037dd0
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140024cd0
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140037fa1
inc rcx
test dl, dl
jne 0x140037f8e
xor eax, eax
jmp 0x140037fa6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140037fd2
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140008f60
mov rax, qword [rbp + 0x48]
jmp 0x14003800b
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140037ebe
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140008f60
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.14011cfd0
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x140039d10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140147340]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.140037dc0
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140039d82
mov qword [rbp + 0x38], 0
jmp 0x140039e20
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140039d92
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140039dc1
mov qword [rbp + 0x30], 0
jmp 0x140039e18
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140039de9
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14011e2f0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.140037dd0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140024cd0
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140039e46
inc rcx
test dl, dl
jne 0x140039e33
xor eax, eax
jmp 0x140039e4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140039e71
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140008f60
mov eax, dword [rbp + 0x1c]
jmp 0x140039ea8
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140039d66
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140008f60
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.14011cfd0
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x14003b480
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140147340]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140131194]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, 0xf8
lea rcx, [rsp + 0x60]
call fcn.140008320
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140033e90
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.140033db0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.1400333a0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14011cfd0
add rsp, 0x178
ret

Function at 0x14003bc70
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._C_taskkill__F__IM_cs2.exe
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
add rsp, 0x38
ret

Function at 0x14003bcb0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add rsp, 0x28
ret

Function at 0x14003bcd0
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140147340]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x2c], 0x19
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz__________.____:_
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x14003bd21
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x19
je 0x14003bd6b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x5f
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x38]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
add eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov word [rsp + rcx*2 + 0x38], ax
jmp 0x14003bd17
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14011cfd0
add rsp, 0x80
pop rdi
ret
Function at 0x14003def0
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 0x14003df29
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 0x14003e018
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 0x14003dfc0
cmp qword [rsp + 0x20], 0
jle 0x14003dfc0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14003df69
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.140009880
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 0x14003e008
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14003e008
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 0x14003e020
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 [0x140147340]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x14003e054
xor eax, eax
jmp 0x14003e251
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x14003e086
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 0x14003e251
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 0x14003e138
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140008e50
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.140009880
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 0x14003e241
mov rcx, qword [rsp + 0x80]
call fcn.14003f8f0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14003e1ee
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 0x14003e1e9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14003e251
jmp 0x14003e164
cmp qword [rsp + 0x50], 0
jbe 0x14003e241
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.14011cfd0
add rsp, 0x78
ret
Function at 0x14003f9b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140147340]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14003f9ed
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003f9f4
mov al, 1
jmp 0x14003fb4c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140024f60
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.140024f60
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140026210
movzx eax, al
test eax, eax
je 0x14003fa49
xor al, al
jmp 0x14003fb4c
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 0x14003fab9
cmp dword [rsp + 0x30], 1
je 0x14003fac5
cmp dword [rsp + 0x30], 3
je 0x14003fb3a
jmp 0x14003fb4a
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 0x14003fb11
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 0x14003fb11
xor al, al
jmp 0x14003fb4c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003fb2b
mov dword [rsp + 0x34], 1
jmp 0x14003fb33
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14003fb4c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14003fb4c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14011cfd0
add rsp, 0xa8
ret