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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9, qword [0x1401cd5d0]
mov r14, r8
movaps xmmword [rsp + 0x30], xmm6
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x4038]
test edx, edx
jne 0x14000fd55
mov r8d, 0x1550
lea rdx, str.C:UsersSw7venDesktopDesktopOthers__ProjectHwidSpooferrlibsimguiimgui.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x1401cd5d0]
or dword [rdi + 0x49e8], 0x100
mov dword [rdi + 0x4a20], 1
mov rdx, qword [r9 + 0x4038]
cmp qword [rdx + 0x1b8], 0
jne 0x14000fd89
cmp qword [r9 + 0x4dd8], 0
mov eax, 0x260
je 0x14000fd8e
mov eax, 0x230
movss xmm2, dword [rdx + rax]
lea rcx, [rsp + 0x60]
movss xmm3, dword [rdx + rax + 4]
subss xmm3, dword [rdx + 0x114]
subss xmm2, dword [rdx + 0x110]
mov rdx, qword [r14]
call fcn.14001ae70
or dword [r9 + 0x49e8], 2
lea rcx, [rsp + 0x60]
movsd xmm0, qword [rsp + 0x60]
xor edx, edx
movsd qword [r9 + 0x4a08], xmm0
mov dword [r9 + 0x49f0], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x14000fdff
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.1400077e0
jmp 0x14000fe0f
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400077e0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x3920]
mov r8d, 0x1000107
call fcn.1400133b0
mov rsi, qword [rdi + 0x4038]
movzx r14d, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14000fe59
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x140137409]
not r9d
lea r10, [0x14013b850]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000fe86
cmp byte [rdx], r8b
jne 0x14000fe86
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000fe73
not ebx
cmp dword [rdi + 0x409c], ebx
jne 0x14000feb6
xor edx, edx
xor ecx, ecx
call fcn.14000bd30
cmp dword [rdi + 0x4b18], ebp
jne 0x14000fefb
cmp word [rsi + 0x16c], 0
jne 0x14000fed1
cmp byte [rsi + 0x172], 0
je 0x14000fefb
xor edx, edx
mov rcx, rsi
call fcn.1400166e0
xor edx, edx
mov rcx, rsi
call fcn.14001dfd0
mov rdx, rsi
mov ecx, ebx
call fcn.14000bd30
mov eax, dword [rdi + 0x4b3c]
mov dword [rdi + 0x40c0], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14001bfe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401cd5d0]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x14001c032
cmp byte [rbx + 0x4d22], 0
jne 0x14001c032
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140007760
test dil, 2
je 0x14001c15f
jmp 0x14001c0bd
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140142b8c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140142b7c]
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 [0x140142ae8]
or dword [rbx + 0x49e8], 0x41
movss dword [rbx + 0x4a48], xmm0
movsx r9d, word [rbx + 0x5e68]
call fcn.140007760
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001c110
lea r11, [0x14013b850]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001c0f3
cmp byte [r8], r9b
jne 0x14001c0f3
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 0x14001c0e0
not ecx
call fcn.140010240
test rax, rax
je 0x14001c15f
cmp byte [rax + 0xbe], 0
je 0x14001c15f
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.140007760
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400133b0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140021d10
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 0x140021db7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140021d6a
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.140024750
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400080e0
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, [0x1401cd5c8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140021dbf
mov rcx, rbx
call fcn.1400080e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140022020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1401cd5d0]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14002211c
cmp dword [rbx + 0x5f40], ebp
je 0x140022067
mov r8d, 0x339a
lea rdx, str.C:UsersSw7venDesktopDesktopOthers__ProjectHwidSpooferrlibsimguiimgui.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 0x140022115
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140007af0
mov rdi, rax
test rax, rax
je 0x140022115
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400220a1
mov rcx, rax
call fcn.140022270
mov r8, qword [0x1401cd5d0]
test r8, r8
je 0x14002210c
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140022101
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 0x1400221b9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x1400221b9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x1400221a7
mov rax, qword [0x1401cd5d0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.1400224f0
lea rdx, [0x14013b06c]
mov rcx, rdi
mov rsi, rax
call fcn.140007a00
mov rdi, rax
test rax, rax
je 0x1400221ae
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 0x1400221ae
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 0x1400221d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401cd5d0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140022233
mov qword [rsp], rbx
lea rbx, [0x14013b850]
nop dword [rax]
cmp r9b, 0x23
jne 0x140022213
cmp byte [r8], r9b
jne 0x140022213
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 0x140022200
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 0x14002225f
cmp dword [r8 + 8], eax
je 0x140022266
add r8, 0x48
cmp r8, rcx
jne 0x140022250
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140044010
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x910
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x1400441c5
cmp qword [rbx + 0x18], 0xf
jbe 0x14004405e
mov rbx, qword [rbx]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x1400441c5
cmp qword [rdi + 0x18], 0xf
jbe 0x140044097
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140050d80
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rdi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140044178
nop dword [rax + rax]
lea r9, [rsp + 0x930]
mov r8d, 0x7d0
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r8d, dword [rsp + 0x930]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
cmp dword [rsp + 0x930], 0
jne 0x1400440f0
lea rcx, [rsp + 0x38]
call fcn.140050cc0
test rax, rax
jne 0x140044162
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, 1
jmp 0x14004417a
xor bl, bl
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x30], rdi
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xa8]
mov dword [rsp + rdx + 0x2c], r8d
lea rcx, [rsp + 0x38]
call fcn.140050720
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
jmp 0x1400441c7
xor al, al
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140044720
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
xor eax, eax
lea r9, [r11 + 0x18]
mov dword [rsp + 0x38], eax
mov rbx, rcx
mov qword [r11 - 0x38], rax
lea rcx, [0x140142870]
mov qword [r11 - 0x40], rax
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400447b8
mov r8d, dword [rsp + 0x80]
lea r10, [rsp + 0x5d]
nop dword [rax]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140044770
lea r9, [rsp + 0x78]
mov rdx, r10
lea r8, [rsp + 0x5d]
mov rcx, rbx
call fcn.140052070
mov rax, rbx
add rsp, 0x60
pop rbx
ret
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x48]
call fcn.140043ec0
lea rdx, [0x14015f3e8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400447e0
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x140
mov rbx, rcx
mov dword [rax + 0x10], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
lea rdx, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140044848
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Kullan
call fcn.140051700
lea rdx, [0x1400518e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
jmp 0x140044878
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
inc r8
cmp byte [rax + r8], dil
jne 0x140044862
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140035bd0
mov rax, rbx
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400495c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push r15
mov eax, 0x13d8
call fcn.14010a010
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 dword [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 0x1400495f0
mov r15, qword [0x1401cd750]
xor esi, esi
mov rax, qword [0x1401cd758]
sub rax, r15
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x140049858
movss xmm4, dword [0x140142df0]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, esi
mov qword [rsp + 0x13f8], rbp
mov qword [rsp + 0x1400], rdi
mov rdi, qword [0x1401cd768]
mov qword [rsp + 0x13d0], r12
mov r12, qword [0x1401cd780]
mov qword [rsp + 0x13c8], r13
mov r13, qword [0x1401cd5d0]
mov qword [rsp + 0x13c0], r14
mov r14d, esi
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x140142b30]
nop dword [rax]
movss xmm1, dword [rdi + rbx]
xorps xmm2, xmm2
mov ebp, dword [r14 + r12]
movss xmm0, dword [r15 + rbx]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, ebp
addsd xmm1, xmm0
movss xmm0, dword [r15 + rbx + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [r15 + rbx], xmm3
movss xmm1, dword [rdi + rbx + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [r15 + rbx + 4], xmm0
comiss xmm5, xmm1
ja 0x140049719
mov rax, qword [r13 + 0x4038]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x30]
ja 0x140049719
movss xmm2, dword [rdi + rbx + 4]
jmp 0x140049773
movss xmm0, dword [rdi + rbx]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rdi + rbx], xmm0
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x140049758
nop
lea rcx, [rsp + 0x20]
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x140049740
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + rbx + 4], xmm2
movss xmm3, dword [r15 + rbx + 4]
movd xmm0, ebp
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm5, xmm1
ja 0x1400497a5
mov rax, qword [r13 + 0x4038]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x34]
jbe 0x1400497f8
xorps xmm2, xmm4
lea rcx, [rsp + 0x20]
movss dword [rdi + rbx + 4], xmm2
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x1400497de
lea rcx, [rsp + 0x20]
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x1400497c6
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
mov rcx, qword [0x1401cd758]
inc esi
sub rcx, qword [0x1401cd750]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, esi
cmp rax, rcx
jb 0x1400496a0
movaps xmm6, xmmword [rsp + 0x13b0]
mov r14, qword [rsp + 0x13c0]
mov r13, qword [rsp + 0x13c8]
mov r12, qword [rsp + 0x13d0]
mov rdi, qword [rsp + 0x1400]
mov rbp, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
add rsp, 0x13d8
pop r15
pop rsi
ret
Function at 0x140049bb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13b0
call fcn.14010a010
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 dword [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 0x140049be0
mov dword [rsp + 0x20], 0x270
mov ebx, __WSAFDIsSet
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x140049c4a
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140049c30
shr rax, 0x20
lea rcx, [rsp + 0x20]
add eax, 0x80000000
xor eax, 0x80000000
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x32f
ja 0x140049c9a
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400525a0
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x140049c80
mov rdx, qword [0x1401cd758]
shr rax, 0x20
add eax, 0x80000000
movss dword [rsp + 0x13cc], xmm1
xor eax, 0x80000000
cmp rdx, qword [0x1401cd760]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13c8], xmm0
je 0x140049ceb
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401cd758], 8
movsd qword [rsp + 0x13c8], xmm0
jmp 0x140049cff
lea r8, [rsp + 0x13c8]
lea rcx, [0x1401cd750]
call fcn.140052360
lea rcx, [rsp + 0x20]
call fcn.1400525a0
sar eax, 0x1f
lea rcx, [rsp + 0x20]
and eax, 2
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1400525a0
mov rdx, qword [0x1401cd770]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x13d4], xmm1
cmp rdx, qword [0x1401cd778]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13d0], xmm0
je 0x140049d6d
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401cd770], 8
movsd qword [rsp + 0x13d0], xmm0
jmp 0x140049d81
lea r8, [rsp + 0x13d0]
lea rcx, [0x1401cd768]
call fcn.140052360
mov rdx, qword [0x1401cd788]
cmp rdx, qword [0x1401cd790]
mov dword [rsp + 0x13c0], 3
je 0x140049dac
mov dword [rdx], 3
add qword [0x1401cd788], 4
jmp 0x140049db9
lea r8, [rsp + 0x13c0]
call fcn.1400521b0
sub rbx, 1
jne 0x140049c10
add rsp, 0x13b0
pop rbx
ret
Function at 0x14004fec0
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 0x14004fee8
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 0x14004ff0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004ff10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004ff69
test ecx, ecx
jle 0x14004ff49
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 0x14004ff69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004ff69
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
Function at 0x14004ff90
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 0x14004ffc1
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 0x14004ffdf
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 0x14004fffb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004fffd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140050039
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 0x1400500ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140050074
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 0x1400500ae
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 0x1400500ce
cmp rbx, rax
ja 0x140050080
test rbx, rbx
je 0x1400500ce
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