joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ff0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14001402c
mov r8d, 0x832
lea rdx, [0x140057790]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x110]
lea rdx, [0x14005dcd0]
movsxd r8, dword [rsi + 0x108]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x1400140a7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140021c80
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400186c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x14009a1f8]
lea r8, [0x14005c2b1]
mov r10d, 0xffffffff
lea r11, [0x14005dcd0]
mov ecx, r10d
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140018703
cmp byte [r8], r9b
jne 0x140018703
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400186f0
not ecx
call fcn.14000c9e0
cmp byte [rbx + 0xfc], 0
je 0x140018743
test rax, rax
je 0x140018743
cmp byte [rax + 0xcb], 0
je 0x140018743
mov dil, 1
jmp 0x140018746
xor dil, dil
movss xmm3, dword [0x140067b14]
lea rcx, [rbx + 0x4b38]
movss xmm1, dword [rbx + 0x3a58]
lea rdx, [rsp + 0x30]
movss xmm4, dword [0x140067b74]
xorps xmm2, xmm2
movaps xmm0, xmm4
mov dword [rsp + 0x30], 4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a5c]
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a60]
subss xmm2, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rbx + 0x3a64]
subss xmm4, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [rsp + 0x28], xmm2
movups xmm0, xmmword [rbx + 0x3a58]
movups xmmword [rsp + 0x34], xmm0
movss dword [rsp + 0x2c], xmm4
call fcn.140022c00
cmp dword [rbx + 0x4b34], 4
je 0x140018801
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x3a58], xmm0
test dil, dil
je 0x140018837
mov rax, qword [0x14009a1f8]
or dword [rax + 0x4ac0], 1
movsd xmm0, qword [rbx + 0x53a8]
xor ecx, ecx
mov qword [rax + 0x4ad8], rcx
movsd qword [rax + 0x4ad0], xmm0
mov dword [rax + 0x4ac4], 1
xor edx, edx
lea rcx, str.Tooltip_Error
mov r8d, 0x200016f
call fcn.14000fe60
mov ecx, 1
movzx edi, al
call fcn.140003620
test dil, dil
je 0x140018925
mov rcx, qword [rbx + 0x40a0]
cmp word [rcx + 0xd8], 1
jne 0x14001892a
mov rax, qword [0x14009a1f8]
mov rcx, qword [rax + 0x40a0]
mov byte [rcx + 0xcc], 1
mov rax, qword [rax + 0x40a0]
cmp byte [rax + 0xcf], 0
jne 0x1400188d6
lea rdx, str.MESSAGE_FROM_DEAR_IMGUI
mov r8, rdx
cmp rdx, 0xffffffffffffffff
jae 0x1400188ce
nop dword [rax + rax]
movzx ecx, byte [r8]
test cl, cl
je 0x1400188ce
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1400188c5
cmp byte [rax], cl
je 0x1400188ce
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1400188b0
xorps xmm3, xmm3
call fcn.1400418e0
mov rcx, qword [rbx + 0x40a0]
call fcn.140012b20
mov rcx, qword [rbx + 0x40a0]
call fcn.1400128c0
mov rax, qword [0x14009a1f8]
mov rcx, qword [rax + 0x40a0]
movzx eax, dil
movss xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movss dword [rbx + 0x53a8], xmm0
movss dword [rbx + 0x53ac], xmm1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140012630
mov rbx, qword [rsp + 0x60]
movzx eax, dil
add rsp, 0x50
pop rdi
ret
Function at 0x14001a090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14009a1f8]
mov edi, ecx
cmp byte [rbx + 0x4df5], 0
jne 0x14001a0e2
cmp byte [rbx + 0x4df6], 0
jne 0x14001a0e2
movsx r9d, word [rbx + 0x51f0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400026e0
test dil, 2
je 0x14001a21f
jmp 0x14001a17c
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x140067bcc]
mulss xmm0, dword [0x140067bc4]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14001a13d
xor ecx, ecx
movss dword [rbx + 0x4ad0], xmm1
mov qword [rbx + 0x4ad8], rcx
or eax, 1
movss dword [rbx + 0x4ad4], xmm0
mov dword [rbx + 0x4ac4], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x140067b40]
lea rcx, [rsp + 0x20]
or eax, 0x40
mov edx, 0x10
mov dword [rbx + 0x4ac0], eax
movss dword [rbx + 0x4b20], xmm0
movsx r9d, word [rbx + 0x51f0]
call fcn.1400026e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a1d0
lea r11, [0x14005dcd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a1b3
cmp byte [r8], r9b
jne 0x14001a1b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001a1a0
not ecx
call fcn.14000c9e0
test rax, rax
je 0x14001a21f
cmp byte [rax + 0xca], 0
je 0x14001a21f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x51f0]
movsx r9d, word [rbx + 0x51f0]
call fcn.1400026e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000fe60
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140020440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400204e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002049a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023250
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400032f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009a1f0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400204ef
mov rcx, rbx
call fcn.1400032f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140020830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14009a1f8]
xor ebp, ebp
cmp byte [rbx + 0x52a0], bpl
jne 0x14002092c
cmp dword [rbx + 0x52c8], ebp
je 0x140020877
mov r8d, 0x3828
lea rdx, [0x140057940]
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020925
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140002b40
mov rdi, rax
test rax, rax
je 0x140020925
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400208b1
mov rcx, rax
call fcn.140020a80
mov r8, qword [0x14009a1f8]
test r8, r8
je 0x14002091c
movsx rdx, word [r8 + 0x5480]
lea rcx, [r8 + 0x5484]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140020911
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5480], cx
movsx rax, cx
lea rcx, [r8 + 0x5484]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x547c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a0], 1
movss xmm0, dword [rbx + 0x52a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400209c9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52a4], xmm0
jb 0x1400209c9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x1400209b7
mov rax, qword [0x14009a1f8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52a4], ebp
call fcn.140020d00
lea rdx, [0x14005d45c]
mov rcx, rdi
mov rsi, rax
call fcn.1400029b0
mov rdi, rax
test rax, rax
je 0x1400209be
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400209be
mov byte [rbx + 0xb4], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x52a4], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400209e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14009a1f8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020a43
mov qword [rsp], rbx
lea rbx, [0x14005dcd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020a23
cmp byte [r8], r9b
jne 0x140020a23
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140020a10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140020a6f
cmp dword [r8 + 8], eax
je 0x140020a76
add r8, 0x48
cmp r8, rcx
jne 0x140020a60
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003c2b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14009a1f8]
mov ebx, ecx
mov rdi, qword [rax + 0x4ec0]
cmp ecx, 0xffffffff
jne 0x14003c2d6
cmp dword [rdi + 0x74], ecx
cmovne ebx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x6c]
cmp ebx, eax
jne 0x14003c2e4
mov ebx, 0xffffffff
jmp 0x14003c2e9
cmp ebx, 0xffffffff
jl 0x14003c2ed
cmp ebx, eax
jl 0x14003c307
mov r8d, 0xd43
lea rdx, [0x140064170]
lea rcx, str.column_n____1__column_n___table__ColumnsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 4], 7
je 0x14003c377
mov r10d, dword [rdi]
lea r8, [0x140064f49]
movzx eax, word [rdi + 0x78]
lea r11, [0x14005dcd0]
not r10d
mov byte [rdi + 0x23b], 1
mov ecx, r10d
mov word [rdi + 0x224], bx
mov word [rdi + 0x7a], ax
mov r9b, 0x23
nop dword [rax]
cmp r9b, 0x23
jne 0x14003c353
cmp byte [r8], r9b
jne 0x14003c353
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003c340
not ecx
call fcn.14001a490
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140052650
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.Ark_Helper
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rdx, str.ArkAscended
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x14009a268], rax
mov ecx, 8
call fcn.140055108
lea rcx, [0x140054460]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140052760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140052727
cmp byte [0x14009a271], 0
jne 0x140052712
nop dword [rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140052709
cmp byte [0x140071050], 1
setne byte [0x140071050]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14009a271], 0
je 0x1400526e0
cmp dword [rsp + 0x38], 0
je 0x140052720
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
add rsp, 0x48
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14005554c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call fcn.140163000
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140019ad0
add rsp, 0x28
jmp 0x14001943c
Function at 0x140001be0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001c01
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001c2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001c30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001c89
test ecx, ecx
jle 0x140001c69
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001c89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001c89
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001cb0
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 0x140001cd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001ce1
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 0x140001d04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001d06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001d42
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001dde
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001d7d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001dbe
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001dde
cmp rbx, rax
ja 0x140001d90
test rbx, rbx
je 0x140001dde
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000226d
xor eax, eax
jmp 0x1400023d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400022a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400022a7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400023d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400023cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400022ea
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x140002315
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 0x1400023d1
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 0x140002384
sub eax, 1
je 0x140002384
cmp eax, 2
jne 0x1400023cc
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 0x1400023d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400023b2
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 0x1400023cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400023d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003090
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret