joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001e40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor ebx, ebx
lea rax, [0x1400273a0]
mov rsi, r8
mov qword [rsp + 0x30], rbx
mov r8, qword [rcx + 8]
mov r14, rcx
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov ecx, dword [r8]
test ecx, ecx
je 0x140001f5f
sub ecx, 1
je 0x140001ee3
cmp ecx, 5
jne 0x140001fe4
mov rax, qword [rdx + 8]
cmp dword [rax], ebx
jne 0x140001f0d
mov rax, qword [r14]
test rax, rax
je 0x140001ebb
mov rcx, qword [r8 + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x140001fe4
mov rax, qword [r14 + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [rdi]
mov r8d, esi
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
jmp 0x140001fe4
mov rax, qword [rdx + 8]
cmp dword [rax], ebx
jne 0x140001f0d
mov rcx, qword [r8 + 8]
mov r9, rsi
mov r8, qword [rdx]
mov rdx, qword [r14]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, eax
jmp 0x140001fe4
mov rdx, rsi
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001fe4
mov r8, rsi
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140001e40
test eax, eax
je 0x140001f4f
mov r8, rsi
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140001e40
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140001fe4
mov rdx, qword [rdx + 8]
mov ecx, dword [rdx]
test ecx, ecx
je 0x140001fd1
sub ecx, 1
je 0x140001fb2
cmp ecx, 5
jne 0x140001fe4
mov rcx, qword [rdx + 8]
xor r9d, r9d
mov edx, dword [rdi]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x140001fe4
mov rax, qword [rdi + 8]
lea r9, [rsp + 0x50]
mov rdx, qword [r14]
mov r8d, esi
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
jmp 0x140001fe4
mov rcx, qword [rdx + 8]
mov r9, rsi
mov r8, qword [r14]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, eax
jmp 0x140001fe4
mov rdx, qword [rdi]
mov r8, rsi
mov rcx, qword [r14]
call fcn.140006ba0
mov ebx, 1
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000ad74
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000aba0
Function at 0x401a50
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00402bb0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00402bb0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x401ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00440614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401c68
mov rax, qword [0x00440618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401b0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401b97
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401af0
mov rcx, r12
call fcn.00402820
mov rbp, rax
test rax, rax
je 0x401ca2
mov rax, qword [0x00440618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402950
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00440618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401cb1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401b90
sub eax, 4
and eax, 0xfffffffb
jne 0x401c20
add dword [0x00440614], 1
cmp ebx, 8
jae 0x401bc8
test bl, 4
jne 0x401c70
test ebx, ebx
je 0x401bb9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401c90
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401bb9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401bfa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00440618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401a50
nop dword [rax]
xor edi, edi
jmp 0x401b17
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401bb9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401bb9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401a50
mov rax, qword [0x00440618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401a50
nop
nop dword [rax]
Function at 0x402490
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00440900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004408e0]
test rbx, rbx
je 0x4024e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4024db
test r12, r12
je 0x4024db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4024c0
lea rcx, [0x00440900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402820
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x0043d3d0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402899
mov rcx, r10
call fcn.004026f0
test eax, eax
je 0x402899
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402896
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x40288d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402899
add r8, 0x28
cmp r8, r9
jne 0x402878
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x402d80
Capabilities:
Modify service

Disassembly:
push r13
push r12
sub rsp, 0x78
mov rax, qword [str.Manages_universal_application_core_process_that_in_Windows_8_and_continues_in_Windows_10._It_is_used_to_determine_whether_universal_apps_installed_from_the_Windows_Store_are_declaring_all_of_their_permissions__like_being_able_to_access_your_telemetry__location_or_microphone._It_helps_to_transact_records_of_your_universal_apps_with_the_trust_and_privacy_settings_of_user.]
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r13, rax
test rax, rax
je 0x402e42
mov rdx, qword [str.TransactionBrokerService]
mov r8d, 2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r12, rax
test rax, rax
jne 0x402dd9
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x402e42
mov r8d, 2
or edx, 0xffffffff
mov rcx, rax
or r9d, 0xffffffff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
nop
add rsp, 0x78
pop r12
pop r13
ret
Function at 0x403090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
xor r9d, r9d
movsxd rax, dword [rdx + 0x3c]
mov r10d, dword [rax + rdx + 0x88]
add r10, rdx
mov rbx, rcx
mov r8, rdx
mov r11d, dword [r10 + 0x20]
mov esi, dword [r10 + 0x18]
add r11, rdx
cmp esi, r9d
jbe 0x4030fc
mov ecx, dword [r11 + r9*4]
add rcx, r8
call fcn.004031f0
mov r12d, eax
lea rax, [r9 + 1]
cmp r12d, ebx
jne 0x4030f7
mov edx, dword [r10 + 0x24]
add r9, r9
mov eax, dword [r10 + 0x1c]
add r9, r8
movzx edx, word [r9 + rdx]
lea rdx, [r8 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r8
jmp 0x4030fe
mov r9, rax
jmp 0x4030bb
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x403110
Capabilities:
Parse pe header

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
cmp word [rax], 0x5a4d
jne 0x40313e
movsxd rdx, dword [rax + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x40313e
cmp dword [rax + rdx], 0x4550
je 0x403143
dec rax
jmp 0x40311d
ret

Function at 0x403180
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [rcx - 1], 0xcc
je 0x4031de
test r8d, r8d
jne 0x40318f
sub rcx, 0x20
mov r9b, byte [rcx]
cmp r9b, 0xe9
je 0x4031a2
mov r8b, byte [rcx + 3]
cmp r8b, 0xe9
jne 0x4031a9
inc edx
xor r8d, r8d
jmp fcn.00403180
xor eax, eax
cmp r9b, 0x4c
jne 0x4031e0
cmp byte [rcx + 1], 0x8b
jne 0x4031e0
cmp byte [rcx + 2], 0xd1
jne 0x4031de
cmp r8b, 0xb8
jne 0x4031de
cmp byte [rcx + 6], 0
jne 0x4031e0
movzx eax, byte [rcx + 5]
shl eax, 8
mov r8d, eax
movzx eax, byte [rcx + 4]
or eax, r8d
add eax, edx
jmp 0x4031e0
xor eax, eax
ret

Function at 0x4031f0
Capabilities:
Resolve function by brute ratel badger hash

Disassembly:
xor eax, eax
movsx edx, byte [rcx]
test dl, dl
je 0x40320b
imul eax, eax, 0x801
inc rcx
or eax, 0x2800000
add eax, edx
jmp 0x4031f2
ret
Function at 0x140006c40
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400069a4
Function at 0x140002e80
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x3a0
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rsp + 0x390], rax
cmp qword [rcx + 0x18], 0xf
mov rsi, rdx
mov r14, rcx
jbe 0x140002eb5
mov r14, qword [rcx]
cmp qword [rdx + 0x18], 0xf
jbe 0x140002ebf
mov rsi, qword [rdx]
xor r15d, r15d
lea rbx, [r15 - 1]
nop word [rax + rax]
xor edx, edx
mov ebp, r15d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, rbx
je 0x140002f65
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002f65
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x280]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x6c]
mov dword [rsp + 0x28], 0x104
mov r9d, ebx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x140002f4d
mov rdx, rsi
lea rcx, [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140002f61
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002f00
jmp 0x140002f65
mov ebp, dword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
je 0x140002ed0
mov r8d, ebp
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140003058
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x14000304f
nop dword [rax]
cmp byte [r14 + rbx + 1], r15b
lea rbx, [rbx + 1]
jne 0x140002fd0
lea r9, [rbx + 1]
mov qword [rsp + 0x20], r15
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000303a
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x14000303a
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14000c4a0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400038e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xf
jbe 0x1400038ee
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140003904
test al, 0x10
jne 0x140003904
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x140007240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x10], rax
lea rsi, [0x1401238d0]
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x30], 0x3a43
mov byte [rbp - 0x2e], 0x5c
xorps xmm0, xmm0
movdqa xmmword [0x1401238d0], xmm0
xor edi, edi
mov qword [0x1401238e0], rdi
lea ecx, [rdi + 3]
call fcn.14000c4c0
mov qword [0x1401238d0], rax
mov qword [0x1401238d8], rax
lea rbx, [rax + 3]
mov qword [0x1401238e0], rbx
lea r8d, [rdi + 3]
lea rdx, [rbp - 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x1401238d8], rbx
mov dword [rbp - 0x2c], 0x646e6957
mov word [rbp - 0x28], 0x776f
mov byte [rbp - 0x26], 0x73
mov qword [0x1401238e8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x1401238f0], xmm0
lea ecx, [rdi + 7]
call fcn.14000c4c0
mov qword [0x1401238e8], rax
mov qword [0x1401238f0], rax
lea rbx, [rax + 7]
mov qword [0x1401238f8], rbx
lea r8d, [rdi + 7]
lea rdx, [rbp - 0x2c]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x1401238f0], rbx
mov dword [rbp - 0x20], 0x7361455c
mov dword [rbp - 0x1c], 0x746e4179
mov dword [rbp - 0x18], 0x65684369
mov word [rbp - 0x14], 0x7461
mov byte [rbp - 0x12], 0x2e
xorps xmm0, xmm0
movdqa xmmword [0x140123900], xmm0
mov qword [0x140123910], rdi
lea ecx, [rdi + 0xf]
call fcn.14000c4c0
mov qword [0x140123900], rax
mov qword [0x140123908], rax
lea rbx, [rax + 0xf]
mov qword [0x140123910], rbx
lea r8d, [rdi + 0xf]
lea rdx, [rbp - 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123908], rbx
mov word [rbp - 0x30], 0x7865
mov byte [rbp - 0x2e], 0x65
mov qword [0x140123918], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140123920], xmm0
lea ecx, [rdi + 3]
call fcn.14000c4c0
mov qword [0x140123918], rax
mov qword [0x140123920], rax
lea rbx, [rax + 3]
mov qword [0x140123928], rbx
lea r8d, [rdi + 3]
lea rdx, [rbp - 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123920], rbx
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x140007aa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
lea rsi, [0x1401237e0]
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x24], 0x7468
xorps xmm0, xmm0
movdqa xmmword [0x1401237e0], xmm0
xor edi, edi
mov qword [0x1401237f0], rdi
lea ecx, [rdi + 2]
call fcn.14000c4c0
mov qword [0x1401237e0], rax
lea rdx, [rax + 2]
mov qword [0x1401237f0], rdx
movzx ecx, word [rsp + 0x24]
mov word [rax], cx
mov qword [0x1401237e8], rdx
mov word [rsp + 0x20], 0x7074
mov byte [rsp + 0x22], 0x73
mov qword [0x1401237f8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140123800], xmm0
lea ecx, [rdi + 3]
call fcn.14000c4c0
mov qword [0x1401237f8], rax
mov qword [0x140123800], rax
lea rbx, [rax + 3]
mov qword [0x140123808], rbx
lea r8d, [rdi + 3]
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123800], rbx
mov dword [rsp + 0x24], 0x6d2f2f3a
mov byte [rsp + 0x28], 0x79
xorps xmm0, xmm0
movdqa xmmword [0x140123810], xmm0
mov qword [0x140123820], rdi
lea ecx, [rdi + 5]
call fcn.14000c4c0
mov qword [0x140123810], rax
mov qword [0x140123818], rax
lea rbx, [rax + 5]
mov qword [0x140123820], rbx
lea r8d, [rdi + 5]
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123818], rbx
mov dword [rsp + 0x30], 0x65747865
mov dword [rsp + 0x34], 0x6c616e72
mov qword [0x140123828], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140123830], xmm0
lea ecx, [rdi + 8]
call fcn.14000c4c0
mov qword [0x140123828], rax
lea rdx, [rax + 8]
mov qword [0x140123838], rdx
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [0x140123830], rdx
mov word [rsp + 0x20], 0x7069
mov byte [rsp + 0x22], 0x2e
xorps xmm0, xmm0
movdqa xmmword [0x140123840], xmm0
mov qword [0x140123850], rdi
lea ecx, [rdi + 3]
call fcn.14000c4c0
mov qword [0x140123840], rax
mov qword [0x140123848], rax
lea rbx, [rax + 3]
mov qword [0x140123850], rbx
lea r8d, [rdi + 3]
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123848], rbx
mov word [rsp + 0x24], 0x6f63
mov byte [rsp + 0x26], 0x6d
mov qword [0x140123858], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140123860], xmm0
lea ecx, [rdi + 3]
call fcn.14000c4c0
mov qword [0x140123858], rax
mov qword [0x140123860], rax
lea rbx, [rax + 3]
mov qword [0x140123868], rbx
lea r8d, [rdi + 3]
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140123860], rbx
mov dword [rsp + 0x20], 0x7761722f
xorps xmm0, xmm0
movdqa xmmword [0x140123870], xmm0
mov qword [0x140123880], rdi
lea ecx, [rdi + 4]
call fcn.14000c4c0
mov qword [0x140123870], rax
lea rdx, [rax + 4]
mov qword [0x140123880], rdx
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov qword [0x140123878], rdx
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140009e90
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.0x140009eb1
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 0x140009ede
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009ee0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009f39
test ecx, ecx
jle 0x140009f19
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 0x140009f39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009f39
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
mov esi, edi
Function at 0x140009f60
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 0x140009f82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140009f91
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 0x140009fb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009fb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009ff2
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 0x14000a08e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000a02d
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 0x14000a06e
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 0x14000a08e
cmp rbx, rax
ja 0x14000a040
test rbx, rbx
je 0x14000a08e
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