joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d400
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
call fcn.140057170
mov dword [rsp + 0x30], 2
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxxxxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x1401610e8]
xor edx, edx
movabs r8, 0x7fffffffffff
mov rcx, rax
call fcn.1400571c0
mov ebp, r14d
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14003d53f
mov esi, r14d
mov dword [rsp + 0x88], 0xe3430f79
mov rbx, qword [rsi + r8]
call fcn.140057170
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsi + rax]
call fcn.140057170
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x88]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsi + rax]
call fcn.140057170
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8d, 8
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc ebp
lea rsi, [rsi + 8]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x14003d481
test r8, r8
je 0x14003d580
mov rdx, qword [rsp + 0x50]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14003d578
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d578
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140121be4
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003d5a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor r15d, r15d
mov qword [rbp - 0x10], r15
call fcn.140057170
mov dword [rsp + 0x30], 0x64
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x1401610d8]
xor edx, edx
movabs r8, 0x7fffffffffff
mov rcx, rax
call fcn.1400571c0
mov r14d, r15d
mov rax, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14003d6e5
mov esi, r15d
nop word [rax + rax]
mov dword [rbp - 0x30], 0x3dfa309a
mov dword [rbp - 0x2c], 0x447a0000
mov dword [rbp - 0x28], 0x3f50da6b
mov rbx, qword [rsi + r8]
call fcn.140057170
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbp - 0x20]
mov rbx, qword [rsi + rax]
call fcn.140057170
mov qword [rsp + 0x20], r15
mov r9d, recv
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [rbp + 0x28]
mov rax, qword [rbp - 0x20]
mov rdi, qword [rsi + rax]
call fcn.140057170
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8d, 8
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r14d
lea rsi, [rsi + 8]
mov rcx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
sub rcx, r8
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
jb 0x14003d630
test r8, r8
je 0x14003d725
mov rdx, qword [rbp - 0x10]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14003d71d
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d71d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140121be4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14003d740
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor r15d, r15d
mov qword [rbp - 0x10], r15
call fcn.140057170
mov dword [rsp + 0x30], 0x64
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x1401610c8]
xor edx, edx
movabs r8, 0x7fffffffffff
mov rcx, rax
call fcn.1400571c0
mov r14d, r15d
mov rax, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14003d885
mov esi, r15d
nop word [rax + rax]
mov dword [rbp - 0x30], 0xbf456c0c
mov dword [rbp - 0x2c], 0x447a0000
mov dword [rbp - 0x28], 0x3a7e9cc0
mov rbx, qword [rsi + r8]
call fcn.140057170
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbp - 0x20]
mov rbx, qword [rsi + rax]
call fcn.140057170
mov qword [rsp + 0x20], r15
mov r9d, recv
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [rbp + 0x28]
mov rax, qword [rbp - 0x20]
mov rdi, qword [rsi + rax]
call fcn.140057170
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8d, 8
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r14d
lea rsi, [rsi + 8]
mov rcx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
sub rcx, r8
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
jb 0x14003d7d0
test r8, r8
je 0x14003d8c5
mov rdx, qword [rbp - 0x10]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14003d8bd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d8bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140121be4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14003d8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
call fcn.140057170
mov dword [rsp + 0x30], 5
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x1401610a0]
xor edx, edx
movabs r8, 0x7fffffffffff
mov rcx, rax
call fcn.1400571c0
mov ebp, r14d
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14003da2a
mov esi, r14d
mov dword [rsp + 0x90], 0x3f800000
mov dword [rsp + 0x94], 0x3f800000
mov rbx, qword [rsi + r8]
call fcn.140057170
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsi + rax]
call fcn.140057170
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [rsp + 0x88]
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsi + rax]
call fcn.140057170
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8d, 8
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc ebp
lea rsi, [rsi + 8]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x14003d961
test r8, r8
je 0x14003da6b
mov rdx, qword [rsp + 0x50]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14003da63
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003da63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140121be4
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003da80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
call fcn.140057170
mov dword [rsp + 0x30], 0x64
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x140161088]
xor edx, edx
movabs r8, 0x7fffffffffff
mov rcx, rax
call fcn.1400571c0
mov ebp, r14d
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14003dbbc
mov esi, r14d
mov byte [rsp + 0x88], 0
mov rbx, qword [rsi + r8]
call fcn.140057170
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsi + rax]
call fcn.140057170
mov qword [rsp + 0x20], r14
mov r9d, 1
lea r8, [rsp + 0x88]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsi + rax]
call fcn.140057170
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8d, 8
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc ebp
lea rsi, [rsi + 8]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x14003db01
test r8, r8
je 0x14003dbfd
mov rdx, qword [rsp + 0x50]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14003dbf5
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dbf5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140121be4
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003dc70
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov eax, dword [0x140161130]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x140161134]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x140161118]
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 [0x140161128]
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 0x14003dd62
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14003dd16
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x14003dd75
inc ax
mov word [rsp + 0x6a], ax
jmp 0x14003dd31
cmp eax, 0xe7
jne 0x14003dd75
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14003dd75
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 0x14003dcf6
mov byte [rbx], 1
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rsp + 0x80]
xor al, al
add rsp, 0x70
pop rdi
ret
Function at 0x14003dd90
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 0x14003ddc8
lea r8d, [rdx + 0x62]
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, [0x1401612e0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
jne 0x14003ddef
lea r8d, [rbx + 0x67]
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x50], rbp
cmp rcx, 0xffffffffffffffff
je 0x14003deae
xor ebp, ebp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14003de99
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x14003deae
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 0x14003de82
cmp edi, dword [rsp + 0x68]
je 0x14003de73
lea r8d, [rbp + 0x74]
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, str.bytesToRead__bytesRead
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [rsp + 0x50]
mov al, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.14003dc20
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
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003dec0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
test r8, r8
je 0x14003df43
test rcx, rcx
jne 0x14003def3
lea r8d, [rcx + 0x4f]
lea rcx, str.self
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14003deeb
test rdx, rdx
jne 0x14003df22
lea r8d, [rdx + 0x56]
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, [0x1401612e0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
add rsp, 0x30
pop rbx
ret
xor eax, eax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14003deeb
cmp dword [rsp + 0x50], ebx
jne 0x14003deeb
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14003e400
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xac0
mov rbx, rdx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x70]
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 + 0x30]
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 + 0xae8]
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 0x14003e4ad
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_opening_Steam_key_n
call fcn.14003e5a0
add rsp, 0xac0
pop rbx
ret
mov rcx, qword [rsp + 0xae8]
lea rax, [rsp + 0xae0]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xb0]
mov dword [rsp + 0xae0], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0xae8]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14003e57b
mov ecx, dword [rsp + 0xae0]
cmp ecx, 1
jb 0x14003e57b
shr ecx, 1
je 0x14003e535
lea rax, [rsp + 0xb0]
nop dword [rax]
cmp word [rax], 0x2f
jne 0x14003e52b
mov word [rax], 0x5c
add rax, 2
sub rcx, 1
jne 0x14003e520
lea rax, [rsp + 0x30]
mov edx, 0x800
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2c0]
call fcn.14003e2b0
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x70]
call fcn.14003df50
add rsp, 0xac0
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_reading_SteamExe_key_n
call fcn.14003e5a0
add rsp, 0xac0
pop rbx
ret
Function at 0x14003e890
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov edx, dword [rcx]
mov r9d, 0x138
mov r10, rcx
xorps xmm1, xmm1
cmp edx, r9d
jne 0x14003e8fa
lea r8, [rcx + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x14003e8b5
mov edx, dword [r10]
jmp 0x14003ea0a
cmp edx, 0x270
jb 0x14003ea0a
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [rcx + 0x9c8]
mov qword [rsp], rdi
mov r9, qword [rbx]
mov edi, 0x9c
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx + 0x4e0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x14003e930
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x14003e982
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
xor edx, edx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], edx
mov eax, edx
xorps xmm0, xmm0
mov rcx, qword [r10 + rax*8 + 8]
lea eax, [rdx + 1]
mov dword [r10], eax
movabs rdx, 0x38eb3ffff6d3
mov rax, rcx
shr rax, 0x1d
and rax, qword [r10 + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rdx
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 0x14003ea65
cvtsi2sd xmm0, rdx
jmp 0x14003ea7a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
subsd xmm0, xmm1
addsd xmm0, xmm1
mulsd xmm0, qword [0x140161850]
add rsp, 8
ret
Function at 0x140046910
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.140121ba8
test rax, rax
je 0x140046932
mov qword [rax], rdi
mov qword [rsp + 0x40], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140047ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140046972
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x140048600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
xor esi, esi
mov dword [rsp + 0x20], 0
mov qword [rcx], rsi
mov rdi, rcx
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov ecx, 0xdc
mov qword [rsp + 0x24], 0x43a50000
mov qword [rbp - 0x7d], 0x3f3f3f3f
mov dword [rbp - 0x75], 0
mov dword [rbp - 0x71], 0x3f3f3f3f
mov dword [rbp - 0x6d], 0x3f3f3f3f
mov dword [rbp - 0x69], 0x3f3f3f3f
mov dword [rbp - 0x65], 0x3f3f3f3f
mov dword [rbp - 0x61], 0x3f3f3f3f
mov dword [rbp - 0x5d], 0x3f3f3f3f
mov dword [rbp - 0x59], 0x3f3f3f3f
mov dword [rbp - 0x55], 0x3f3f3f3f
mov dword [rbp - 0x51], 0x3f3f3f3f
mov dword [rbp - 0x4d], 0x3f3f3f3f
mov dword [rbp - 0x49], 0x3f3f3f3f
mov dword [rbp - 0x45], 0x3f3f3f3f
mov dword [rbp - 0x41], 0x3f3f3f3f
mov dword [rbp - 0x3d], 0x3f3f3f3f
mov dword [rbp - 0x39], 0x3f3f3f3f
mov dword [rbp - 0x35], 0x3f3f3f3f
mov dword [rbp - 0x31], 0x3f3f3f3f
mov dword [rbp - 0x2d], 0x3f3f3f3f
mov dword [rbp - 0x29], 0x3f3f3f3f
mov dword [rbp - 0x25], 0x3f3f3f3f
mov dword [rbp - 0x21], 0x3f3f3f3f
mov dword [rbp - 0x1d], 0x3f3f3f3f
mov dword [rbp - 0x19], 0x3f3f3f3f
mov dword [rbp - 0x15], 0x3f3f3f3f
mov dword [rbp - 0x11], 0x3f3f3f3f
mov dword [rbp - 0xd], 0x3f3f3f3f
mov dword [rbp - 9], 0x3f3f3f3f
mov dword [rbp - 5], 0x3f3f3f3f
mov qword [rbp - 1], 0x3f3f3f3f
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
mov qword [rbp + 0x17], 0
mov qword [rbp + 0x1f], 0
mov qword [rbp + 0x27], 0
mov qword [rbp + 0x2f], 0
mov dword [rbp + 0x37], 0x3f3f0000
mov qword [rbp + 0x3b], 0x3f3f
mov qword [rbp + 0x43], 0
mov dword [rbp + 0x4b], 0
mov dword [rbp + 0x4f], 0xbf800000
call fcn.140121ba8
mov qword [rdi], rax
lea rdx, [rsp + 0x20]
mov qword [rdi + 8], rax
mov r8d, 0xdc
mov rbx, rax
lea rcx, [rax + 0xdc]
mov qword [rdi + 0x10], rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0xdc]
mov qword [rdi + 8], rax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rax, rdi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
mov dword [rdi + 0x30], esi
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret