joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d11b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1401d11f2
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x1401d12e4
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1401d123f
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r14, [r15 + r12]
sub r15, rbx
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140156bc0
mov qword [rsi + 8], r14
add qword [rsi + 0x10], r12
jmp 0x1401d11cf
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401d1310
lea rcx, [r12*8]
call fcn.1401536a0
lea r14, [r12*2 + 6]
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x1401d12b7
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x1401d12e4
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401d129f
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x1401d11cf
mov rcx, rbx
call fcn.1401536dc
mov r14, qword [rsi + 8]
jmp 0x1401d11cf
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140194730
call fcn.140191f00
int3
Function at 0x1401d8da0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1401d8dde
test rax, rax
je 0x1401d8ea7
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
sub rax, qword [rsi]
mov r15, rax
sar r15, 3
lea rcx, [r15 + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1401d8ed3
movabs rdx, 0x1fffffffffffffff
lea rdi, [rsi + 0x18]
mov r14, rax
sar r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r14, rdx
test r14, r14
jne 0x1401d8e9a
xor eax, eax
shl r15, 3
add r15, rax
je 0x1401d8ea7
lea rax, [rax + r14*8]
mov rcx, qword [rbx]
mov qword [r15], rcx
lea rcx, [r15 + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rdx
je 0x1401d8e68
mov r9, qword [r8 - 8]
add r8, 0xfffffffffffffff8
mov qword [r15 - 8], r9
add r15, 0xfffffffffffffff8
cmp r8, rdx
jne 0x1401d8e50
mov rdx, qword [rsi]
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov r8, qword [rsi + 0x10]
mov qword [rsi + 0x10], rax
test rdx, rdx
je 0x1401d8dd2
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401d9410
mov rcx, rdi
mov rdx, r14
call fcn.1401d99e0
jmp 0x1401d8e2d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140194730
mov rcx, rsi
call fcn.140191fd0
int3

Function at 0x1401de6e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401de71c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401de726
add rdi, rbx
sub rsi, rbx
jne 0x1401de6fa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14016dd20
int3

Function at 0x1401e71a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1401e71ee
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x1401e722c
cmp rdi, rsi
jae 0x1401e722c
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1401e71e7
jmp 0x1401e71e4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401542e0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140001ebc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f06
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f08
xor al, al
add rsp, 0x28
ret
Function at 0x140001e30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1400c7108]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x1400c710c]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x1400c70f0]
mov word [rsp + 0x6c], ax
mov eax, Ordinal_50
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x1400c7100]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140001f34
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001ee8
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x140001f57
inc ax
mov word [rsp + 0x6a], ax
jmp 0x140001f03
cmp eax, 0xe7
jne 0x140001f57
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140001f57
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140001ec8
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c20a0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x140001f39

Function at 0x140001f60
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140002010
test rcx, rcx
je 0x140002010
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140002010
xor ebp, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140001ffb
mov eax, dword [rsp + 0x30]
cmp rax, rdi
jb 0x140002010
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x34]
mov r8d, edi
mov dword [rsp + 0x34], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x140001ff1
jmp 0x140002012
mov rcx, rbx
call fcn.140001de0
jmp 0x140002010
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c20a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002030
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
test r8, r8
jne 0x140002062
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c20a0
add rsp, 0x40
pop rbx
ret
test rcx, rcx
je 0x140002097
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140002097
test rdx, rdx
je 0x140002097
xor eax, eax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140002097
cmp dword [rsp + 0x30], ebx
je 0x14000204d
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c20a0
add rsp, 0x40
pop rbx
ret
Function at 0x140002580
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002633
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x1400026fa
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x38], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400026e8
mov ecx, dword [rsp + 0x38]
cmp ecx, 1
jb 0x1400026e8
shr ecx, 1
je 0x1400026a6
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
cmp word [rax], 0x2f
jne 0x14000269c
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x140002693
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.140002410
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1400020b0
jmp 0x140002702
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.140002730
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1400c20a0
add rsp, 0xae0
pop rbx
ret
Function at 0x140002920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rbx, rcx
movsd xmm6, qword [0x1400c73d8]
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
movsd xmm1, qword [0x1400c73d0]
divsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm2, qword [0x1400c73c8]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x140002b7d
mov r8d, dword [rbx]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x48], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
movabs r14, 0x38eb3ffff6d3
mov edi, eax
cmp r8d, 0x138
jne 0x140002a02
lea r8, [rbx + 0x10]
mov r9d, 0x138
nop dword [rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1400029c0
mov r8d, dword [rbx]
jmp 0x140002ae8
cmp r8d, 0x270
jb 0x140002ae8
lea r10, [rbx + 0x9c8]
mov r11d, 0x9c
mov rax, qword [r10]
nop
mov rdx, qword [r10 + 8]
lea r8, [r10 + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x140002a20
lea r10, [rbx + 0xea8]
mov r11d, 0x9b
mov rax, qword [r10]
nop
mov rdx, rax
lea r8, [r10 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r10 - 0xea0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x140002a70
mov edx, dword [rbx + 0x1380]
mov r8d, ebp
xor edx, dword [rbx + 8]
btr edx, 0x1f
xor rdx, qword [rbx + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx + 0x9c0], rcx
mov dword [rbx], ebp
mov eax, r8d
xorps xmm0, xmm0
inc r8d
mov rcx, qword [rbx + rax*8 + 8]
mov rax, rcx
mov dword [rbx], r8d
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, r14
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x140002b3a
cvtsi2sd xmm0, rdx
jmp 0x140002b4f
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
subsd xmm0, xmm3
mulsd xmm0, xmm2
mulsd xmm2, xmm6
addsd xmm1, xmm0
sub rdi, 1
jne 0x1400029a6
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
divsd xmm1, xmm2
movaps xmm0, xmm1
add rsp, 0x30
pop rbx
ret
Function at 0x140003fd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rbx, rdx
mov rbp, rcx
lea rdx, [0x140104af4]
mov ecx, 0xb0
mov rdi, r9
mov r14d, r8d
call fcn.1400c2354
mov rsi, rax
test rax, rax
je 0x1400041b9
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsi + 8]
mov byte [rsi], 1
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
lea rcx, [rsi + 0x58]
call sub.MSVCP140.dll__Cnd_init_in_situ
mov qword [0x140251808], rsi
xorps xmm0, xmm0
movups xmmword [rsi + 0xa0], xmm0
test r14d, r14d
je 0x140004070
test rdi, rdi
je 0x140004066
cmp byte [rdi], 0
je 0x140004066
mov rdx, rdi
mov rcx, rbp
call fcn.140002580
jmp 0x140004070
xor edx, edx
mov rcx, rbp
call fcn.1400024e0
call sub.KERNEL32.dll_GetCurrentProcessId
lea rcx, [0x14022c270]
mov dword [0x14024d5f8], eax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400041e9
test rbx, rbx
je 0x1400040af
movups xmm0, xmmword [rbx]
movups xmmword [0x14024d380], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14024d390], xmm1
movups xmm0, xmmword [rbx + 0x20]
jmp 0x1400040cf
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x14024d380], xmm0
movups xmmword [0x14024d390], xmm0
movups xmmword [0x14024d3a0], xmm0
lea rcx, [0x14022c270]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x14024d3b0], xmm0
movups xmmword [0x14024d3c0], xmm0
movups xmmword [0x14024d3d0], xmm0
call sub.MSVCP140.dll__Mtx_unlock
cmp qword [0x14022d328], 0
jne 0x1400041c2
mov rcx, rbp
call fcn.140005780
mov qword [0x14022d328], rax
lea rcx, [0x140002780]
mov qword [rax + 0x10], rcx
lea rcx, [0x140002790]
mov rax, qword [0x14022d328]
mov qword [rax + 0x18], rcx
mov eax, 1
mov rdi, qword [0x140251808]
mov ecx, 8
xchg byte [rdi], al
call fcn.1400c20c0
xor ebx, ebx
test rax, rax
je 0x14000416d
mov qword [rax], rdi
jmp 0x140004170
mov rax, rbx
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400027e0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400041da
cmp dword [rdi + 0xa8], ebx
jne 0x1400041b2
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm0
jmp 0x1400041c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ebx, ebx
mov qword [0x140251808], rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 6
mov dword [rsp + 0x38], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x14000fad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140261b78]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x20d5], 0
jne 0x14000fb37
cmp byte [rbx + 0x20d6], 0
jne 0x14000fb37
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001cb00
test sil, 1
je 0x14000fc7a
jmp 0x14000fbd6
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400c8ec4]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400c8ebc]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dc0], 1
mov qword [rbx + 0x1ddc], rax
movss dword [rbx + 0x1dd4], xmm0
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd8], xmm1
mov byte [rbx + 0x1dfc], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x140261b78]
mulss xmm0, dword [0x1400c8e54]
or dword [rax + 0x1dc0], 0x40
movss dword [rax + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.14001cb00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14000fc26
lea r11, [0x1400c8250]
cmp r9b, 0x23
jne 0x14000fc09
cmp byte [r8], r9b
jne 0x14000fc09
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14000fbf6
mov rcx, qword [0x140261b78]
not edx
add rcx, 0x1cf8
call fcn.14001c630
test rax, rax
je 0x14000fc7a
cmp byte [rax + 0xcf], 0
je 0x14000fc7a
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14001cb00
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14000bef0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c20a0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b1b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001b202
lea r11, [0x1400c8250]
cmp r9b, 0x23
jne 0x14001b1e5
cmp byte [r8], r9b
jne 0x14001b1e5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001b1d2
mov r11, qword [0x140261b78]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x14001b249
lea r9, [r10 + 4]
test r9, r9
je 0x14001b249
not eax
cmp dword [r9], eax
je 0x14001b252
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3220]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001b220
mov rcx, rbx
pop rbx
jmp fcn.140011880
mov rax, r9
pop rbx
ret

Function at 0x14001b330
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001b380
lea r11, [0x1400c8250]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b363
cmp byte [r8], r9b
jne 0x14001b363
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14001b350
mov rcx, qword [0x140261b78]
not edx
add rcx, 0x1cf8
jmp fcn.14001c630

Function at 0x14001bcd0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x110]
mov r9, r8
movsxd r8, dword [rcx + 0x108]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.14001cc50
Function at 0x14001c850
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14001c86b
mov qword [r8], 0
call fcn.14001c9b0
mov rbx, rax
test rax, rax
jne 0x14001c881
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001c989
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c989
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001c989
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c989
cmp rdi, 0xffffffffffffffff
je 0x14001c989
mov rax, qword [0x140261b78]
test rax, rax
je 0x14001c902
inc dword [rax + 0x3b0]
mov rdx, qword [0x140261b98]
lea rcx, [rdi + rbp]
call qword [0x1401183e0]
mov rsi, rax
test rax, rax
je 0x14001c989
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x14001c961
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140261b78]
test rax, rax
je 0x14001c94f
dec dword [rax + 0x3b0]
mov rdx, qword [0x140261b98]
mov rcx, rsi
call qword [0x1401183e8]
jmp 0x14001c992
test ebp, ebp
jle 0x14001c973
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001c984
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001c994
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x14001cc50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001ccad
lea rbx, [0x1400c8250]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001cc94
cmp r10, 2
jb 0x14001cc94
cmp byte [r9], r8b
jne 0x14001cc94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001cc70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001ccef
lea rbx, [0x1400c8250]
cmp r8b, 0x23
jne 0x14001ccd3
cmp byte [r9], r8b
jne 0x14001ccd3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001ccc0
mov rbx, qword [rsp + 8]
not eax
ret