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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140009793
mov r8d, 0x773
lea rdx, [0x140164ce0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x120]
lea r10, [0x14016a5d0]
movsxd rcx, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x124]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x1400193a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140399fa0]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x1400193f2
cmp byte [rbx + 0x4d22], 0
jne 0x1400193f2
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400056a0
test dil, 2
je 0x14001951f
jmp 0x14001947d
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140177bec]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140177bdc]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a00], rax
mov dword [rbx + 0x49ec], 1
movss dword [rbx + 0x49f8], xmm0
movss dword [rbx + 0x49fc], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x140177b48]
or dword [rbx + 0x49e8], 0x41
movss dword [rbx + 0x4a48], xmm0
movsx r9d, word [rbx + 0x5e68]
call fcn.1400056a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400194d0
lea r11, [0x14016a5d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400194b3
cmp byte [r8], r9b
jne 0x1400194b3
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 0x1400194a0
not ecx
call fcn.14000d830
test rax, rax
je 0x14001951f
cmp byte [rax + 0xbe], 0
je 0x14001951f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.1400056a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400109f0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ee80
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 + 0x5fc0], 0
lea rbx, [rcx + 0x5fc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ef27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001eeda
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.1400218c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140006020
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140399f98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ef2f
mov rcx, rbx
call fcn.140006020
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f190
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140399fa0]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14001f28c
cmp dword [rbx + 0x5f40], ebp
je 0x14001f1d7
mov r8d, 0x339a
lea rdx, str.C:UsersgaminOneDriveDesktopgrey_spoofer_imgui_fixedimgui.cpp
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 0x14001f285
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140005a30
mov rdi, rax
test rax, rax
je 0x14001f285
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001f211
mov rcx, rax
call fcn.14001f3e0
mov r8, qword [0x140399fa0]
test r8, r8
je 0x14001f27c
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001f271
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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001f329
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x14001f329
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001f317
mov rax, qword [0x140399fa0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.14001f660
lea rdx, [0x140169dbc]
mov rcx, rdi
mov rsi, rax
call fcn.140005940
mov rdi, rax
test rax, rax
je 0x14001f31e
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 0x14001f31e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f340
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140399fa0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f3a3
mov qword [rsp], rbx
lea rbx, [0x14016a5d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f383
cmp byte [r8], r9b
jne 0x14001f383
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 0x14001f370
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001f3cf
cmp dword [r8 + 8], eax
je 0x14001f3d6
add r8, 0x48
cmp r8, rcx
jne 0x14001f3c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140041020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x24]
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400410c5
mov byte [rax], 0xc3
mov edx, dword [rsp + 0x24]
lea r9, [rsp + 0x60]
mov r8d, pe_nt_image_headers64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400410c5
call rbx
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
add rsp, 0x50
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x140046f40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r14d, 3
mov rax, qword gs:[0x58]
mov r12, qword [rax]
mov esi, 0x13a8
mov eax, dword [rsi + r12]
mov r13d, 0x13c0
test al, 1
jne 0x140046fe8
or eax, 1
mov dword [rsi + r12], eax
mov ebx, r13d
add rbx, r12
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140046fc0
mov dword [rbx], 0x270
mov eax, dword [rsi + r12]
mov r15d, 0x2748
test al, 2
jne 0x14004700a
or eax, 2
mov dword [rsi + r12], eax
mov qword [r12 + r15], rbp
mov qword [r12 + r15 + 8], 0x3d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov rdx, r14
mov rcx, rdi
call fcn.140062430
mov ebx, r13d
add rbx, r12
mov qword [rsp + 0x78], rbx
lea r13, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop dword [rax]
nop dword [rax + rax]
dec r14
mov rbp, qword [r15 + r12]
mov rdx, qword [r15 + r12 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140047082
mov rcx, rbx
call fcn.1400676b0
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.1400676b0
mov eax, eax
or rsi, rax
jmp 0x140047092
inc rdx
lea rcx, [rsp + 0x78]
call fcn.140067440
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r13]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400470c7
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400470bc
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400470cf
mov rcx, rdi
call fcn.140065800
test r14, r14
jne 0x140047050
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140047100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x2758
mov eax, dword [r15 + rsi]
mov r12d, reloc.WLDAP32.dll_Ordinal_32
test al, 1
jne 0x140047198
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140047170
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ebx, 0x13b0
test al, 2
jne 0x1400471b9
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rbx], rbp
mov qword [rsi + rbx + 8], 9
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov rdx, r14
mov rcx, rdi
call fcn.140062430
test r14, r14
je 0x140047286
lea r15, [rsi + rbx]
mov ebx, r12d
add rbx, rsi
mov qword [rsp + 0x68], rbx
lea r12, str.0123456789
dec r14
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140047230
mov rcx, rbx
call fcn.1400676b0
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.1400676b0
mov eax, eax
or rsi, rax
jmp 0x140047240
inc rdx
lea rcx, [rsp + 0x68]
call fcn.140067440
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140047275
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14004726a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004727d
mov rcx, rdi
call fcn.140065800
test r14, r14
jne 0x140047200
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140056fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rsi
mov eax, 0x13c8
call fcn.1401351a0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140056fd0
mov rax, qword [0x14039a098]
xor ebp, ebp
mov rsi, qword [0x14039a090]
sub rax, rsi
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x14005722d
movss xmm4, dword [0x140177f70]
xorps xmm5, xmm5
mov qword [rsp + 0x13e0], rbx
mov ebx, ebp
mov qword [rsp + 0x13e8], rdi
mov qword [rsp + 0x13f0], r13
mov r13, qword [0x140399fa0]
mov qword [rsp + 0x13f8], r14
mov qword [rsp + 0x13c0], r15
mov r15d, ebp
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x140177b90]
mov rdi, qword [0x14039a0a8]
xorps xmm2, xmm2
mov rax, qword [0x14039a640]
movss xmm0, dword [rbx + rsi]
cvtps2pd xmm0, xmm0
mov r14d, dword [r15 + rax]
movss xmm1, dword [rbx + rdi]
cvtps2pd xmm1, xmm1
cvtsi2ss xmm2, r14d
mulsd xmm1, xmm6
addsd xmm1, xmm0
movss xmm0, dword [rbx + rsi + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [rbx + rsi], xmm3
movss xmm1, dword [rbx + rdi + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [rbx + rsi + 4], xmm0
comiss xmm5, xmm1
ja 0x1400570ea
mov rax, qword [r13 + 0x4038]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x30]
ja 0x1400570ea
movss xmm2, dword [rbx + rdi + 4]
jmp 0x140057143
movss xmm0, dword [rbx + rdi]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rbx + rdi], xmm0
call fcn.1400676b0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x140057128
nop
lea rcx, [rsp + 0x20]
call fcn.1400676b0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x140057110
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rbx + rdi + 4], xmm2
movss xmm3, dword [rbx + rsi + 4]
movd xmm0, r14d
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm5, xmm1
ja 0x140057176
mov rax, qword [r13 + 0x4038]
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x34]
jbe 0x1400571d2
xorps xmm2, xmm4
lea rcx, [rsp + 0x20]
movss dword [rbx + rdi + 4], xmm2
call fcn.1400676b0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x1400571b8
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400676b0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x1400571a0
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rdi], xmm0
mov rcx, qword [0x14039a098]
inc ebp
mov rsi, qword [0x14039a090]
add rbx, 8
sub rcx, rsi
movsxd rax, ebp
sar rcx, 3
add r15, 4
cmp rax, rcx
jb 0x140057066
movaps xmm6, xmmword [rsp + 0x13b0]
mov r15, qword [rsp + 0x13c0]
mov r14, qword [rsp + 0x13f8]
mov r13, qword [rsp + 0x13f0]
mov rdi, qword [rsp + 0x13e8]
mov rbx, qword [rsp + 0x13e0]
add rsp, 0x13c8
pop rsi
pop rbp
ret
Function at 0x140061790
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.0x1400617b1
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 0x1400617de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400617e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140061839
test ecx, ecx
jle 0x140061819
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 0x140061839
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140061839
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
fnstenv [rbp - 0x18caee4b]
in eax, 0
fisttp word [rsi]
and al, 0xaf
fucomp st(7)
in eax, dx
je 0x1402cd07e
xchg byte [r11 + 0x1861d555], dl
mov al, 0xa5
in al, 0x2f
jrcxz case.0x14006124d.14
xor esi, esi
Function at 0x140061860
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140061891
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400618a8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400618cb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400618cd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140061909
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006199e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140061944
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 0x14006197e
nop dword [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 0x14006199e
cmp rbx, rax
ja 0x140061950
test rbx, rbx
je 0x14006199e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov byte [rbp + 0x75], sil
int3
Function at 0x140061de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140061e04
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140061e47
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140061e47
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140061f78
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140061e8a
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 0x140061eb5
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
cmove edi, ecx
mov eax, edi
jmp 0x140061f7d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x140061f2a
sub eax, 1
je 0x140061f2a
cmp eax, 2
jne 0x140061f78
movsx ecx, byte [rsp + 0x40]
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
cmove edi, ecx
mov eax, edi
jmp 0x140061f7d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x140061f5b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140061f78
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140061f7d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret