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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400b4250]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14006720c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14006721b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140067253
cmp eax, 0x103
je 0x14006725d
test eax, eax
js 0x140067238
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140067253
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.iB_v_
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14005f160
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140001640
mov ecx, 7
int 0x29
ud2

Function at 0x140067d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x508
movaps xmmword [rsp + 0x4f0], xmm6
mov rbx, rdx
mov rsi, rcx
mov eax, dword [rdx + 0x10]
adc bl, dh
movd dword [rdx + 0x40], mm6
movzx ebp, word [rdx + 0x44]
Function at 0x140072d50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1400608a0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x140072dc6
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.140072c70
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140072dd4
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140072df4
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x140072de5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call fcn.1400941e0
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
invalid
test rax, rax
je 0x140072de5
mov rcx, qword [0x1400d62c0]
xor edx, edx
mov r8, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
add byte [rax], al
Function at 0x1400752b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400d6380]
mov rcx, qword [0x1400d62c0]
test rcx, rcx
jne 0x1400752fc
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400753ca
mov rcx, rax
mov qword [0x1400d62c0], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400753ca
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140075490]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400753bc
mov rcx, qword [rbx]
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rax
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x20]
je 0x140075395
cmp qword [rax + 0x10], 0x11
jae 0x14007537e
mov r8, qword [rbp - 0x10]
jmp 0x140075386
mov r8, qword [rbp - 0x10]
mov r8, qword [r8 - 8]
mov rcx, qword [0x1400d62c0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1400d62c0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140099050
ud2

Function at 0x140075f60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140075fa3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140065a30]
mov qword [rbp - 0x28], rax
lea rax, str.PG_v_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.xG_v_
lea rcx, [rbp - 0x60]
call fcn.140099270
ud2
Function at 0x140078800
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140078955
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140078838
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140078918
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140078937
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x140078899
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1400788cb
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1400788cf
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1400788d3
cmp eax, 0x6d
jne 0x1400788fe
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1400788d8
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140078904
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.1400941e0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x14007890e
cmp rax, 1
je 0x140078882
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x14007888c
mov r8d, 0x10
mov rcx, rbx
call fcn.14009beb0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x140078845
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14009beb0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x140078845
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14009c220
ud2
Function at 0x14008d260
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
xor ecx, ecx
mov eax, 2
lock cmpxchg qword [rsi + 0x10], rcx
je 0x14008d3a1
mov ebx, r8d
mov r14, rdx
test rdx, rdx
jne 0x14008d2a6
test ebx, ebx
je 0x14008d3a1
lea rdi, [rsi + 0x20]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0x20], cl
jne 0x14008d3b0
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rsi + 0x10], rcx
sete cl
mov qword [rbp - 8], rdi
jne 0x14008d309
mov byte [rbp + 7], cl
mov qword [rbp - 0x20], 0
lea rdi, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14008d3bd
mov rcx, qword [rbp - 0x20]
call fcn.140060e60
lea rcx, [rsi + 0x18]
mov r9d, 0x3b9aca00
add rax, r14
jae 0x14008d33a
jmp 0x14008d36e
cmp rax, 2
jne 0x14008d3fc
xor eax, eax
xchg qword [rsi + 0x10], rax
xor ecx, ecx
mov al, 1
lock cmpxchg byte [rsi + 0x20], cl
mov rcx, qword [rbp - 8]
je 0x14008d3a1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14009abd0
add edx, ebx
cmp edx, 0x3b9aca00
jb 0x14008d34f
inc rax
je 0x14008d36e
add edx, 0xc4653600
mov r8d, edx
shr r8d, 9
imul r8, r8, 0x44b83
shr r8, 0x27
imul r8d, r8d, 0x3b9aca00
sub edx, r8d
mov r9d, edx
mov rdx, qword [rbp - 8]
mov r8, rax
call fcn.140055c10
xor eax, eax
xchg qword [rsi + 0x10], rax
lea rcx, [rax - 1]
cmp rcx, 1
ja 0x14008d453
xor edx, edx
mov al, 1
mov rcx, qword [rbp - 8]
lock cmpxchg byte [rcx], dl
je 0x14008d3a1
call fcn.14009abd0
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rcx, rdi
call fcn.14009a880
jmp 0x14008d2b9
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x50], rax
lea rax, str.library_std_src_syswindows_time.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueNulError
lea r9, fcn.1400941e0
lea r8, [rbp - 0x50]
mov edx, 0x2b
call fcn.1400997c0
jmp 0x14008d4a1
mov byte [rbp + 7], cl
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x20], rax
lea rax, [fcn.14001a3e0]
mov qword [rbp - 0x18], rax
lea rax, str.inconsistent_park_timeout_state__actual_
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x30], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.C:Usersloris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_runtimepark.rsinconsistent_park_state__actual_
lea rcx, [rbp - 0x50]
call fcn.140099270
jmp 0x14008d4a1
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x20], rax
lea rax, [fcn.14001a3e0]
mov qword [rbp - 0x18], rax
lea rax, str.inconsistent_park_timeout_state:
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 1
lea rdx, str.C:Usersloris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_runtimepark.rsinconsistent_park_state__actual_
lea rcx, [rbp - 0x50]
call fcn.140099270
ud2
Function at 0x140098b0c
Capabilities:
Parse pe header

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

Function at 0x14009afe0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14009b058
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009b058
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009b058
mov rdi, rax
xor ebx, ebx
movzx eax, byte [0x1400d6380]
mov rcx, qword [0x1400d62c0]
test rcx, rcx
jne 0x14009b10a
jmp 0x14009b0f5
lea rcx, [0x1400b0ef8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14009b175
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009b175
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009b175
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009b175
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14009b175
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1400d6380]
mov rcx, qword [0x1400d62c0]
test rcx, rcx
jne 0x14009b10a
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14009b17c
mov rcx, rax
mov qword [0x1400d62c0], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14009b17c
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1400d61c0], rcx
je 0x14009b169
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14009b153
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x1400d62c0]
xor edx, edx
mov r8, qword [rbp - 8]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.14009b200
ud2
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140099050
ud2
Function at 0x14000c620
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c66e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_take_a_snapshot_of_the_processes_n
call fcn.1400140b0
jmp 0x14000c76c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x14000c6a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_retrieve_information_about_the_first_process_n
call fcn.1400140b0
jmp 0x14000c763
mov qword [rsp + 0x170], rbx
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000c6c0
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
mov r8, qword [rdi + 0x10]
jbe 0x14000c6da
mov rcx, qword [rdi]
cmp r8, rax
jne 0x14000c745
lea rdx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000c745
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000c71a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_open_process_for_termination_n
call fcn.1400140b0
jmp 0x14000c745
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14000c73c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_terminate_process_n
call fcn.1400140b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000c6b0
mov rbx, qword [rsp + 0x170]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003e420
mov rsi, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x14000ece0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
lea rax, vtable.LoginWindow.0
mov qword [rcx], rax
mov qword [rcx + 0x14], 0x42c80000
mov qword [rcx + 0x1c], rdi
mov byte [rcx + 0x25], 1
mov dword [rcx + 0x50], 0x3e109091
mov dword [rcx + 0x54], 0x3e109091
mov dword [rcx + 0x58], 0x3e109091
mov dword [rcx + 0x5c], 0x3f800000
mov dword [rcx + 0x60], 0x3f6dedef
mov dword [rcx + 0x64], 0x3e109091
mov dword [rcx + 0x68], 0x3ee8e8ea
mov dword [rcx + 0x6c], 0x3f800000
mov byte [rcx + 0x70], dil
mov dword [rcx + 8], 0x44160000
mov dword [rcx + 0xc], 0x43960000
movaps xmm5, xmmword [0x140048270]
movss xmm1, dword [0x140047fe8]
mov dword [rbp - 0x29], edi
mov qword [rbp - 0x21], rdi
mov dword [rbp - 0x19], edi
mov word [rbp - 0x15], 0x101
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
movaps xmm3, xmmword [0x140048250]
movaps xmm4, xmmword [0x140048260]
mov dword [rbp - 0x25], 0x43f00000
movss xmm2, dword [0x140047fc8]
unpcklps xmm2, xmm1
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rbp - 9]
movsd xmm0, xmm2
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm5
movups xmmword [rcx + 0x50], xmm3
movups xmmword [rcx + 0x60], xmm4
lea rax, str.Initiating_client
mov qword [rcx + 0x28], rax
cmp byte [rcx + 0x25], 1
je 0x14000edf9
mov dword [rcx + 0x10], edi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x38], rdi
mov word [rcx + 0x24], 0x101
cmp dword [rcx + 0x20], 0x14
je 0x14000ee33
movss xmm1, dword [rcx + 0x10]
movss xmm0, dword [0x140047fb4]
comiss xmm0, xmm1
jbe 0x14000ee22
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rcx + 0x18], eax
mov dword [rcx + 0x1c], edi
mov dword [rcx + 0x10], 0x41a00000
mov dword [rcx + 0x20], 0x14
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], rdx
mov ecx, 0x10
call fcn.14003e440
movups xmm0, xmmword [rbp + 0x37]
movups xmmword [rax], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140016490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14000eec7
cmp dword [rbp - 0x31], 0
je 0x14000eebb
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000eebb
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003e420
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140012590
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.0x1400125b1
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 0x1400125de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400125e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012639
test ecx, ecx
jle 0x140012619
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 0x140012639
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140012639
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
xor byte [rbx], dl
sbb al, byte [rax]
add byte [rdx], al
add byte [rdx], al
add byte [rax], al
lahf
add esp, dword [rbx]
or dword [rax], eax
or eax, 0x22130000
xor al, 0x36
xor esi, dword [rdx]
invalid
Function at 0x140012660
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 0x140012682
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140012691
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 0x1400126b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400126b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400126f2
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 0x14001278e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001272d
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 0x14001276e
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 0x14001278e
cmp rbx, rax
ja 0x140012740
test rbx, rbx
je 0x14001278e
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
jmp [0xfc0bcf9a]
Function at 0x140012bf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140012c1d
xor eax, eax
jmp 0x140012d89
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140012c57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140012c57
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 0x140012d89
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140012d7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140012c9a
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 0x140012cc5
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 0x140012d81
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 0x140012d34
sub eax, 1
je 0x140012d34
cmp eax, 2
jne 0x140012d7c
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 0x140012d81
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140012d62
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 0x140012d7c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140012d81
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003e420
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret