joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006b790
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1801ef8e8]
mov rdi, rcx
mov rdx, qword [rax + 0x30]
mov r8, qword [rdx + 0x30]
cmp dword [r8 + 0x35e8], 0xffffffff
jne 0x18006b80e
mov dword [r8 + 0x35f8], 0xffffffff
mov rax, qword [0x1801ef8e8]
mov rdx, qword [rax + 0x30]
mov rax, qword [rdx + 0x30]
mov dword [rax + 0x35e8], 1
mov rbx, qword [0x1801ed5f0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x15]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rax, qword [0x1801ef8e8]
mov rcx, qword [rax + 0x30]
mov eax, dword [rdi + 8]
mov rdx, qword [rcx + 0x30]
mov dword [rdx + 0x35e8], eax
jmp 0x18006b84b
mov eax, dword [rcx + 8]
mov dword [r8 + 0x4338], eax
mov rax, qword [0x1801ef8e8]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x35e8], 1
mov rbx, qword [0x1801ed5f0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x15]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rax, qword [0x1801ef8e8]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x35e8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1800c8480
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
call fcn.180078130
mov rcx, qword [0x1801ef8e0]
call fcn.180006370
mov rcx, qword [0x1801ef8e0]
lea rdx, str.STRING
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x202709f4c58a0424
inc dword [rcx + 8]
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
mov rcx, qword [0x1801ef8e0]
call fcn.180006370
mov rcx, qword [0x1801ef8e0]
lea rdx, str.Your_Rank_Is_Set.
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x6c188be134e074aa
inc dword [rcx + 8]
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
movss xmm0, dword [0x180199fe0]
movss dword [rsp + 0x30], xmm0
call fcn.18006f0b0
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800c85fb
mov ecx, 0x65
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800c85fb
lea rdx, str.Input
mov dword [rsp + 0x38], reloc.WS2_32.dll_sendto
mov ecx, 1
call fcn.1800d7f70
mov rcx, qword [0x1801ef8e0]
movabs rbx, 0xcf2b696bbf945ae
nop
call fcn.180006370
mov rcx, qword [0x1801ef8e0]
mov rdx, rbx
call fcn.1800063f0
mov rcx, qword [0x1801ef8e0]
mov rax, qword [rcx]
cmp dword [rax], 0
je 0x1800c8570
call fcn.180006370
mov rcx, qword [0x1801ef8e0]
movabs rdx, 0x8362b09b91893647
call fcn.1800063f0
mov rax, qword [0x1801ef8e0]
mov rcx, qword [rax]
cmp qword [rcx], 0
je 0x1800c85e7
mov eax, dword [rsp + 0x68]
mov dword [0x1802632c4], eax
cmp eax, 0x1f40
jle 0x1800c85e3
mov dword [0x1802632c4], 0x1f40
add rsp, 0x50
pop rbx
jmp fcn.180078130
test eax, eax
jns 0x1800c85f1
mov dword [0x1802632c4], 0
add rsp, 0x50
pop rbx
jmp fcn.180078130
add rsp, 0x50
pop rbx
ret

Function at 0x1800ca480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdi, str.Yellow_Blue_Robot_Bodysuit
mov qword [rsp + 0x60], rbx
lea r15, str._ARENAWARSPSTAT_BOOL
lea r14, str.Refuse_Collectors
nop dword [rax]
mov esi, dword [rdi + 8]
lea ebp, [rsi - 0x6182]
cmp ebp, 0x23f
ja 0x1800ca573
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop dword [rax]
nop word [rax + rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x1800ca4f0
lea eax, [r9 + r9*8]
mov r8d, 0xffffffff
mov edx, eax
shr edx, 0xb
xor edx, eax
imul ecx, edx, 0x8001
lea rdx, [rsp + 0x30]
call fcn.18006d4a0
mov r9d, dword [rsp + 0x30]
mov ecx, ebp
mov qword [rsp + 0x20], r15
call fcn.18006d3b0
mov ecx, ebp
mov ebx, eax
call fcn.18006d340
shl eax, 6
mov ecx, ebx
sub esi, eax
lea r8d, [rsi - 0x6182]
call fcn.18006d260
add rdi, 0x10
cmp rdi, r14
jne 0x1800ca4c0
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800f6320
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1800ca5d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdi, str.Refuse_Collectors
mov qword [rsp + 0x60], rbx
lea r15, str._CASINOHSTPSTAT_BOOL
lea r14, str.APC_Sam_Battery
nop dword [rax]
mov esi, dword [rdi + 8]
lea ebp, [rsi - 0x6dc2]
cmp ebp, 0xff
ja 0x1800ca6c3
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop dword [rax]
nop word [rax + rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x1800ca640
lea eax, [r9 + r9*8]
mov r8d, 0xffffffff
mov edx, eax
shr edx, 0xb
xor edx, eax
imul ecx, edx, 0x8001
lea rdx, [rsp + 0x30]
call fcn.18006d4a0
mov r9d, dword [rsp + 0x30]
mov ecx, ebp
mov qword [rsp + 0x20], r15
call fcn.18006d3b0
mov ecx, ebp
mov ebx, eax
call fcn.18006d340
shl eax, 6
mov ecx, ebx
sub esi, eax
lea r8d, [rsi - 0x6dc2]
call fcn.18006d260
add rdi, 0x10
cmp rdi, r14
jne 0x1800ca610
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800f6320
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1800dc3e0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x1800dc41f
mov rcx, qword [rcx]
mov rdx, rbx
cmp qword [r9 + 0x18], 0x10
jb 0x1800dc42c
mov rdx, qword [r9]
mov rax, rdi
cmp qword [r8 + 0x18], 0x10
jb 0x1800dc439
mov rax, qword [r8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x50]
lea r8, str.NULL
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800dc480
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18000de60
nop
mov rcx, rdi
call fcn.18000cdb0
nop
mov rcx, rbx
call fcn.18000cdb0
mov rax, rsi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800f6320
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800ddc40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx edi, cl
xor esi, esi
test cl, cl
je 0x1800ddcad
mov rax, qword [0x1801ef8d0]
mov dword [rax + 0x168], esi
mov rax, qword [0x1801ef8d0]
mov dword [rax + 0x12c], esi
mov rax, qword [0x1801ef8d0]
mov dword [rax + 0x1d4], esi
mov rax, qword [0x1801ef8d0]
mov dword [rax + 0x198], esi
mov rax, qword [0x1801ef8d0]
mov dword [rax + 0x1f4], esi
mov ebx, esi
lea rbp, [0x1800ddd70]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800f6468
mov byte [rax], dil
mov dword [rax + 4], ebx
mov qword [rax + 8], rbp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1800e3730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800ddd5d
cmp dword [rsp + 0x38], 0
je 0x1800ddd51
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800ddd51
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
inc ebx
cmp ebx, 3
jle 0x1800ddcb6
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800f6320
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1800ddfb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov dword [rcx + 0xf38], 0
mov rdi, rcx
mov word [rcx + 0xf3c], 0
mov byte [rcx + 0xf3e], 0
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800ddffe
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800ddffe
mov al, 1
jmp 0x1800de000
xor al, al
mov byte [rdi + 0xf38], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de02d
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de02d
mov al, 1
jmp 0x1800de02f
xor al, al
mov byte [rdi + 0xf39], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de05c
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de05c
mov al, 1
jmp 0x1800de05e
xor al, al
mov byte [rdi + 0xf3a], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de08b
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de08b
mov al, 1
jmp 0x1800de08d
xor al, al
mov byte [rdi + 0xf3b], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de0ba
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de0ba
mov al, 1
jmp 0x1800de0bc
xor al, al
mov byte [rdi + 0xf3c], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de0e9
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de0e9
mov al, 1
jmp 0x1800de0eb
xor al, al
mov byte [rdi + 0xf3d], al
mov rbx, qword [0x1801ef8e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800de126
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800de126
mov byte [rdi + 0xf3e], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0xf3e], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1800ee1f0
Capabilities:
Log keystrokes via polling

Disassembly:
test cl, cl
je 0x1800ee3c2
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov edi, r9d
mov esi, r8d
mov ebp, edx
xor ebx, ebx
mov rcx, qword [0x1801ef8e0]
call fcn.180006370
movabs r14, 0xd80958fc74e988a6
mov rdx, r14
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
mov rax, qword [0x1801ef8e0]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call fcn.1800f43e0
test eax, eax
je 0x1800ee3ab
mov rcx, qword [0x1801ef8e0]
call fcn.180006370
mov r8, qword [0x1801ef8e0]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x20], ebp
mov ecx, dword [r8 + 8]
mov rax, qword [rsp + 0x20]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
movabs rdx, 0x963d27a58df860ac
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
mov rcx, qword [0x1801ef8e0]
call fcn.180006370
mov rdx, r14
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
lea edx, [rbx + 2]
movabs rcx, 0xf3a21bcd95725a4a
mov r8d, Ordinal_211
call fcn.18006cf20
test eax, eax
jne 0x1800ee2e5
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800ee3ab
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], edi
mov rdi, qword [0x1801ef920]
mov ecx, Ordinal_79
call fcn.1800f6468
mov rsi, rax
mov qword [rsp + 0x20], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_VX::PickupGun_bool__unsigned_int__unsigned_int__int_::_11::_lambda_1___void___.0
mov qword [rsp + 0x38], rax
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], ebp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rax, vtable.VX::ModelCallback.0
mov qword [rsi], rax
mov dword [rsi + 8], ebp
lea rcx, [rsi + 0xc]
mov qword [rcx + 0x38], rbx
lea rdx, [rsp + 0x38]
call fcn.180011e30
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800ee367
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov rdx, qword [rdi + 0x11]
cmp rdx, qword [rdi + 0x19]
je 0x1800ee385
mov qword [rdx], rsi
add qword [rdi + 0x11], 8
jmp 0x1800ee398
lea r8, [rsp + 0x20]
lea rcx, [rdi + 9]
call fcn.18006b990
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x1800ee3ab
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800f5600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1802638c0]
cmp eax, 0x64
jb 0x1800f56fb
movss xmm3, dword [rbx + 0x1c]
movss xmm2, dword [rbx + 0x14]
subss xmm3, dword [0x180199fe0]
subss xmm2, dword [0x180199fe0]
movss xmm1, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x20], 1
call fcn.18006e050
mov rcx, qword [0x1801ef8e0]
mov edi, eax
call fcn.180006370
mov rcx, qword [0x1801ef8e0]
movabs rdx, 0xd80958fc74e988a6
call fcn.1800063f0
mov rcx, qword [0x1801ef8e0]
mov rdx, qword [rcx]
mov ebx, dword [rdx]
call fcn.180006370
mov rdx, qword [0x1801ef8e0]
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x50], ebx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0xe83d4f9ba2a38914
mov rcx, qword [0x1801ef8e0]
call fcn.1800063f0
mov rax, qword [0x1801ef8e0]
mov edx, edi
mov rcx, qword [rax]
movss xmm2, dword [rcx]
movabs rcx, 0x8e2530aa8ada980e
call fcn.18006eac0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdi, qword [rsp + 0x58]
mov dword [0x1802638c0], eax
add rsp, 0x40
pop rbx
ret

Function at 0x1800f6224
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800f62a8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800f62a8
dec r8
sub rdx, 1
jne 0x1800f628e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800f7790
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov eax, gethostname
movaps xmmword [rsp + 0x30], xmm7
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rcx
movsd xmm8, qword [0x180159538]
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1800f77c9
addsd xmm6, xmm8
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm6, qword [0x18019a0a0]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm7, xmm7
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x1800f7903
mov qword [rsp + 0x60], rbp
movabs rbp, 0x38eb3ffff6d3
mov qword [rsp + 0x68], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x70], rdi
mov edi, eax
mov eax, dword [rbx]
cmp eax, 0x138
jne 0x1800f787c
lea r8, [rbx + 0x10]
mov r9d, eax
nop word [rax + 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 0x1800f7840
jmp 0x1800f788b
cmp eax, 0x270
jb 0x1800f788b
mov rcx, rbx
call fcn.1800f8b80
mov eax, dword [rbx]
xorps xmm1, xmm1
mov rcx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rax, rcx
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rbp
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
cvtsi2sd xmm1, rax
jns 0x1800f78dd
addsd xmm1, xmm8
mulsd xmm1, xmm6
mulsd xmm6, xmm8
addsd xmm7, xmm1
sub rdi, 1
jne 0x1800f7825
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret

Function at 0x1800f8b80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
lea r9, [rcx + 0x9c8]
movabs rbx, 0xb5026f5aa96619e9
mov r11d, 0x9c
nop
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 + 0x4d8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800f8ba0
lea r9, [r10 + 0xea8]
mov r11d, 0x9b
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 - 0xea8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800f8bf0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], r11d
ret
Function at 0x1800f9720
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x1801d1038]
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
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
or 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 + 0x38]
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 0x1800f97cf
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 0x1800f9897
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1800f9885
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jb 0x1800f9885
shr ecx, 1
je 0x1800f9843
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
nop
cmp word [rax], 0x2f
jne 0x1800f9839
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x1800f9830
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.1800f95b0
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1800f9210
jmp 0x1800f989f
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.1800f98c0
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1800f6320
add rsp, 0xae0
pop rbx
ret
Function at 0x1800f99a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x180159790]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x180159794]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x180159778]
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 [0x180159788]
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 0x1800f9aa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1800f9a58
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x1800f9ac7
inc ax
mov word [rsp + 0x6a], ax
jmp 0x1800f9a73
cmp eax, 0xe7
jne 0x1800f9ac7
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1800f9ac7
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 0x1800f9a38
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800f6320
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x1800f9aa9

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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1800f9af0
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1800f9ae6
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800f9ae6
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1800f9b7b
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x1800f9b90
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, edi
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1800f9b64
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.1800f9910
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
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 rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800f9ba0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x1800f9bb6
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x1800f9bc3
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800f9bbb
test rdx, rdx
je 0x1800f9bbb
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1800f9bfa
cmp dword [rsp + 0x50], edi
jne 0x1800f9bfa
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret