joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, qword [0x1400d9100]
mov r14, rcx
mov r15, qword [rsp + 0x300]
mov edi, 1
mov r8d, 0xf0
mov qword [rsp + 0x30], r15
mov rcx, rbx
lea edx, [rdi + 0x6a]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r12d, r12d
test rax, rax
je 0x140048cc6
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140048cc6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140048cc6
mov qword [rsp + 0x2f0], rsi
mov r15d, 0x403
mov qword [rsp + 0x2f8], r13
mov r13d, 0x1234
mov qword [rsp + 0x2e8], rbp
nop word [rax + rax]
movzx esi, word [rbx]
cmp r12w, si
je 0x140048ca9
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r15w, ax
jne 0x140048c2a
xor edx, edx
lea rcx, [rsp + 0x190]
mov r8d, 0x108
call fcn.140054000
mov rdx, rbx
lea rcx, [rsp + 0x190]
call fcn.1400424e0
mov rax, qword [rsp + 0x190]
xor r9d, r9d
mov rcx, qword [r14 + 8]
mov r8d, 0x143
movzx edx, si
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rsp + 0x190]
cmp rax, 0xffffffffffffffff
lea rax, [rsp + 0x198]
cmove edi, r12d
cmp rcx, rax
je 0x140048c9e
call fcn.14005cb54
jmp 0x140048c9e
cmp r13w, ax
jne 0x140048c9e
mov rdx, rbx
mov dword [rsp + 0x150], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x158], 0xffffffffffffffff
call fcn.1400424e0
mov rcx, qword [rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x160], rcx
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140048c73
call fcn.14005cb54
mov rcx, qword [r14 + 8]
lea rax, [rsp + 0x150]
movzx edx, si
xor r9d, r9d
mov r8d, 0x40b
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r12d
add rbx, rbp
test edi, edi
jne 0x140048ba0
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x2f0]
mov rbp, qword [rsp + 0x2e8]
mov dword [r15], r12d
mov eax, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14004e4a0
add rsp, 0x2b0
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret
Function at 0x14004bbe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [rcx + 0x78]
mov rdi, rcx
test rsi, rsi
je 0x14004bda4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov rax, qword [rsi]
mov rbx, qword [rax + 0x448]
mov rcx, rbx
call qword [fcn.14000dba0]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call rbx
test eax, eax
js 0x14004bd9a
cmp dword [rsp + 0x30], ebp
je 0x14004bd9a
mov rsi, qword [rdi + 0x78]
mov dword [rsp + 0x34], ebp
test rsi, rsi
je 0x14004bdbc
mov rax, qword [rsi]
mov rbx, qword [rax + 0x4d0]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
call rbx
test eax, eax
js 0x14004bd9a
cmp dword [rsp + 0x34], 1
jne 0x14004bd9a
lea r9, str.GlobalSmartFrameOperation
mov byte [0x1400d7b3d], 1
xor r8d, r8d
mov byte [0x1400cfdd8], bpl
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r9, str.LocalExitSmartFrameThread
xor r8d, r8d
xor edx, edx
mov qword [0x1400d8340], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400d8348], rax
mov qword [rdi + 0xa98], rbp
mov rax, qword [0x1400d8340]
mov rcx, qword [0x1400d8348]
test rax, rax
je 0x14004bd3a
test rcx, rcx
je 0x14004bd3a
lea rax, [rdi + 0xaa0]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14004b800]
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rdi
mov qword [rdi + 0xa98], rax
call fcn.14004b4f0
mov rcx, qword [rdi + 8]
mov edx, 0xc9
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, str.SmartFrame_monitor_started_successfully
jmp 0x14004bd85
mov byte [0x1400cfdd8], 1
test rax, rax
je 0x14004bd5d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400d8348]
mov qword [0x1400d8340], rbp
test rcx, rcx
je 0x14004bd6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400d8348], rbp
mov rcx, qword [rdi + 8]
mov edx, 0xc9
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, str.SmartFrame_failed_to_start
mov r8, 0xffffffffffffffff
mov edx, 0x181
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004e4a0
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004003
call fcn.14004ebc0
int3
Function at 0x140050e3c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x140050fd9
cmp byte [rcx + 0x72], r15b
je 0x140050fd9
mov rax, qword [rcx]
mov edi, 0xffff
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14004e518
movzx edx, di
mov rcx, r12
call rbx
cmp di, ax
jne 0x140050eb3
xor al, al
jmp 0x140050fde
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140050054
nop
mov r13d, 1
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
lea r14, [rbp - 0x30]
cmovae r14, qword [rbp - 0x30]
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.14004e518
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x140050f27
sub ecx, r13d
je 0x140050f2c
cmp ecx, 2
jne 0x140050f9a
jmp 0x140050f97
mov byte [r12 + 0x72], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140050f6d
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.1400699ac
cmp rbx, rax
jne 0x140050f94
cmp byte [r12 + 0x72], r15b
je 0x140050f91
test rbx, rbx
jne 0x140050eca
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.14003f490
jmp 0x140050eca
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140050fd4
inc rdx
mov r8, qword [rbp - 0x30]
mov rax, r8
cmp rdx, 0x1000
jb 0x140050fcc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051008
mov rcx, r8
call fcn.14004d92c
mov al, r15b
jmp 0x140050fde
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004e4a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005cd9c
int3

Function at 0x140054808
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1400a4ba0]
xor ecx, ecx
lea r8, [0x1400a4b98]
lea rdx, [0x1400a11e8]
call fcn.140054630
mov rbx, rax
test rax, rax
je 0x140054848
mov rcx, rax
call fcn.14004e518
mov rcx, rdi
call rbx
jmp 0x14005484e
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400548b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400a4bb0]
mov ecx, 2
lea r8, [0x1400a4ba8]
lea rdx, [0x1400a1200]
call fcn.140054630
mov rdi, rax
test rax, rax
je 0x1400548f1
mov rcx, rax
call fcn.14004e518
mov ecx, ebx
call rdi
jmp 0x1400548f9
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140054904
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400a4bb8]
mov edi, ecx
lea rdx, [0x1400a1210]
mov ecx, 3
lea r8, [0x1400a4bb0]
call fcn.140054630
mov rsi, rax
test rax, rax
je 0x140054950
mov rcx, rax
call fcn.14004e518
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14005495b
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140079304
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14007902a
call fcn.14005cecc
mov dword [rax], 0x16
call fcn.14005cd7c
jmp 0x140079175
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140079175
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140079175
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140079059
lock or dword [rcx + 0x14], 0x10
jmp 0x140079175
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14007906d
call fcn.14007e1a4
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14007907d
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x140079080
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1400768a4
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140078a80
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140079163
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140079111
mov rcx, rbx
call fcn.1400768a4
cmp eax, 0xffffffff
je 0x1400790fc
mov rcx, rbx
call fcn.1400768a4
cmp eax, 0xfffffffe
je 0x1400790fc
mov rcx, rbx
call fcn.1400768a4
movsxd rdi, eax
lea r14, [0x1400da640]
mov rcx, rbx
sar rdi, 6
call fcn.1400768a4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140079103
lea rdx, [0x1400d0230]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140079111
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140079135
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140079135
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140079135
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140079153
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14007915e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14007917a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140078ff4
Function at 0x1400069e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14017d300]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x140135c88]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x140135c8c]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x140135c70]
mov word [rsp + 0x6c], ax
mov eax, gethostbyname
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x140135c80]
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 0x140006ae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140006a98
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x140006b07
inc ax
mov word [rsp + 0x6a], ax
jmp 0x140006ab3
cmp eax, 0xe7
jne 0x140006b07
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140006b07
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 0x140006a78
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14011ce50
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x140006ae9

Function at 0x140006b10
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 [0x14017d300]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140006bc0
test rcx, rcx
je 0x140006bc0
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140006bc0
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 0x140006bab
mov eax, dword [rsp + 0x30]
cmp rax, rdi
jb 0x140006bc0
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 0x140006ba1
jmp 0x140006bc2
mov rcx, rbx
call fcn.140006990
jmp 0x140006bc0
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.14011ce50
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006be0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14017d300]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
test r8, r8
jne 0x140006c12
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011ce50
add rsp, 0x40
pop rbx
ret
test rcx, rcx
je 0x140006c47
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140006c47
test rdx, rdx
je 0x140006c47
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 0x140006c47
cmp dword [rsp + 0x30], ebx
je 0x140006bfd
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011ce50
add rsp, 0x40
pop rbx
ret
Function at 0x140007130
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x14017d300]
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 0x1400071e3
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 0x1400072a9
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 0x140007297
mov ecx, dword [rsp + 0x38]
cmp ecx, 1
jb 0x140007297
shr ecx, 1
je 0x140007255
lea rax, [rsp + 0xc0]
cmp word [rax], 0x2f
jne 0x14000724b
mov word [rax], 0x5c
add rax, 2
sub rcx, 1
jne 0x140007240
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.140006fc0
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.140006c60
jmp 0x1400072b1
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.1400072e0
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.14011ce50
add rsp, 0xae0
pop rbx
ret
Function at 0x1400074e0
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 0x14000754a
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 0x140007505
mov edx, dword [r10]
jmp 0x140007655
cmp edx, 0x270
jb 0x140007655
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]
lea rbx, [rbx + 8]
xor r9, r8
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 [rbx + 0x4d8]
xor rcx, r9
mov r9, r8
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x140007580
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop
mov r8, qword [rbx + 8]
lea rbx, [rbx + 8]
xor r9, r8
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 [rbx - 0xea8]
xor rcx, r9
mov r9, r8
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x1400075d0
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 0x1400076b0
cvtsi2sd xmm0, rdx
jmp 0x1400076c5
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 [0x140135f48]
add rsp, 8
ret
Function at 0x14000fba0
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x1401bab00]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x14000fbbc
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x14000fbca
bts eax, 6
shr ecx, 1
test cl, 1
je 0x14000fbd5
bts eax, 5
shr ecx, 1
test cl, 1
je 0x14000fbe0
bts eax, 4
shr ecx, 1
test cl, 1
je 0x14000fbeb
bts eax, 3
shr ecx, 1
test cl, 1
je 0x14000fbf6
bts eax, 2
shr ecx, 1
test cl, 1
je 0x14000fc01
bts eax, 1
test cl, 2
je 0x14000fc0a
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x14000fca1
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x14000fcad
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x14000fc95
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14000fbb0
mov dword [0x1401baaf0], 1
ret
Function at 0x140012ad0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140012aff
xor eax, eax
jmp 0x140012cb7
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x140012c78
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x140012c78
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x140012c78
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x140012c78
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x140012c78
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140012cd0
cmp rsi, qword [rbx + 0x48]
jae 0x140012b85
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x140012bbf
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x140012bcd
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140012be6
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140012bf4
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov rcx, rbx
mov dword [rbp + 0x24], 1
test r14, r14
je 0x140012c40
call fcn.140010210
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1c8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x140012cb2
xor edi, edi
cmp dword [rbx + 0x38], 1
sete dil
add edi, 3
call fcn.140010240
cmp dword [rbx + 0x140], 0
mov dword [rbx + 0x38], edi
jne 0x140012c74
lea rcx, [rbp + 0x48]
mov rdx, rbx
call fcn.14000f9c0
mov dword [rbx + 0x140], 1
xor eax, eax
jmp 0x140012cb2
xor edi, edi
mov rcx, rbx
mov dword [rbx + 0x1c8], edi
call fcn.140010240
mov dword [rbx + 0x38], 9
cmp dword [rbx + 0x140], edi
jne 0x140012cad
lea rcx, [rbp + 0x48]
mov rdx, rbx
call fcn.14000f9c0
mov dword [rbx + 0x140], 1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret