joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001498c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f20]
mov eax, 0x2020
call fcn.140064910
sub rsp, rax
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0x1f10], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rdx
xor r13d, r13d
mov dword [rsp + 0x34], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r13b
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.millennium.patcher
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140014a21
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x140014b61
test r12, r12
je 0x140014b61
mov dword [rsp + 0x30], r13d
jmp 0x140014ab8
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140014ad5
mov r14d, eax
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
sub rax, rcx
cmp r14, rax
ja 0x140014aa3
lea rax, [rcx + r14]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140014a89
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], r13b
jmp 0x140014ab8
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
mov rdx, r14
mov rcx, rsi
call fcn.14000a9e8
lea r9, [rsp + 0x30]
mov r8d, 0x1fa0
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140014a59
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140014b1e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140014b19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140014b5a
mov rcx, r8
call fcn.140063cd0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r13b
mov rax, rsi
mov rcx, qword [rbp + 0x1f10]
xor rcx, rsp
call fcn.140063870
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2020
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 0x22
lea rdx, str.error_making_request_to_remote_uri
lea rcx, [rsp + 0x38]
call fcn.14000a1bc
lea rdx, [rsp + 0x38]
call fcn.14001522c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x38]
cmp eax, 0x2efd
je 0x140014bc2
mov edx, 2
call fcn.140014930
lea rdx, [0x14009df50]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor edx, edx
call fcn.140014930
lea rdx, [0x14009df50]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14001769c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rdi, rcx
call fcn.14001722c
test al, al
je 0x140017688
lea rcx, [rsp + 0x38]
call fcn.140016f04
nop
mov rbx, qword [rsp + 0x38]
cmp rbx, qword [rsp + 0x40]
je 0x1400175c0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140017599
mov rcx, qword [rbx]
cmp qword [rbx + 0x10], 7
jne 0x1400175b6
mov r8d, 7
lea rdx, str._silent
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400175bc
add rbx, 0x20
jmp 0x140017585
mov al, 1
jmp 0x1400175c2
xor al, al
test al, al
je 0x140017632
call fcn.140061468
mov dword [0x1400a1258], 0x145
mov dword [0x1400a125c], 0x7d
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140017220]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x50], rax
lea rax, [0x140016b18]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400615c0
jmp 0x14001767e
call fcn.140061468
mov dword [0x1400a1258], 0x15e
mov dword [0x1400a125c], 0xe1
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x50], rax
lea rax, [0x140016a64]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400615c0
nop
lea rcx, [rsp + 0x38]
call fcn.140006d34
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
jmp 0x140017558

Function at 0x140026de8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140026e42
mov r11b, 0x23
lea rdi, [0x140085dd0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140026e2c
cmp rdx, 2
jb 0x140026e2c
cmp byte [r10], r11b
jne 0x140026e2c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x140026e0a
jmp 0x140026e83
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140026e83
mov r11b, 0x23
lea rdi, [0x140085dd0]
cmp dl, r11b
jne 0x140026e67
cmp byte [r10], r11b
jne 0x140026e67
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140026e55
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140027038
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140027071
mov r8d, 0x649
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14002707a
and qword [rdi], 0
lea rdx, [0x140092908]
mov rcx, rbx
call fcn.140026e94
mov rbx, rax
test rax, rax
je 0x14002716e
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140027165
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 0x140027165
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140027165
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140027165
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140027165
mov rax, qword [0x1400c9120]
test rax, rax
je 0x140027102
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140027165
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140027152
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400c9120]
test rax, rax
je 0x140027147
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002716e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140027160
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140027170
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140028cfc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
jg 0x140028d2b
mov r8d, 0x6d2
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0x108]
mov r9d, 4
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140085dd0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x140028d4c
not r8d
mov ecx, r8d
call fcn.14002917c
mov eax, r8d
add rsp, 0x20
pop rbx
ret
Function at 0x140028d84
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140028db7
mov r8d, 0x6d2
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0x108]
xor edx, edx
mov r8, qword [rbx + 0x110]
mov rcx, rdi
mov r8d, dword [r8 + rax*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140026de8
Function at 0x140034130
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400c9120]
mov dword [rsp + 0x30], ecx
mov rbx, qword [rax + 0x1d20]
cmp dword [rbx + 0x108], 0
jg 0x14003416b
mov r8d, 0x6d2
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x108]
mov r9d, 4
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140085dd0]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x14003418c
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x108]
mov dword [rsp + 0x30], r8d
call fcn.14004643c
add rsp, 0x20
pop rbx
ret

Function at 0x140039ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3268], 0
lea rbx, [rcx + 0x3270]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140039f59
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140039f11
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14004679c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400275c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3268]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400c9118]
movsxd r8, eax
mov rax, qword [rdi + 0x3278]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140039f61
mov rcx, rbx
call fcn.1400275c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003a840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400c9120]
mov rbx, rcx
and dword [rax + 0x3204], 0
test rcx, rcx
je 0x14003a8a9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14003a8b4
lea rdx, [0x14009290c]
mov rcx, rbx
mov rdi, rax
call fcn.140026e94
mov rbx, rax
test rax, rax
je 0x14003a8a9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400625c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400626eb
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.SteamPath
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400626e0
lea rax, [rsp + 0x60]
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x14006269a
cmp rdi, qword [rbx + 0x18]
ja 0x1400626d0
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400626b6
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x1400626e0
lea r9, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.14000fc14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140063870
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140062714
Capabilities:
Create process on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x7c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x80], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x10]
call fcn.1400625c8
nop
lea rcx, str._steam.exe
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0xc
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140009988
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400627c4
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400627bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400627bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063cd0
movdqa xmm0, xmmword [0x140097640]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c208
mov rcx, rax
call fcn.140062c34
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rcx, qword [rbp - 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14006285b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140062899
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063cd0
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140063870
add rsp, 0x140
pop rbp
ret
Function at 0x140062b48
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140062bf6
lea rdx, str.Steam.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140062bb1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x140062b87
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140062bed
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Steam_terminated_successfully.
jmp 0x140062c04
lea rdx, str.Error_opening_Steam_process_for_termination.
jmp 0x140062bfd
lea rdx, str.Steam_process_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140009210
lea rdx, [0x140009380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140063870
add rsp, 0x160
pop rbx
ret

Function at 0x140062df0
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 0x140062e74
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140067ae0]
cmp byte [rcx + rax], 0
je 0x140062e74
dec r8
sub rdx, 1
jne 0x140062e5a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14006457c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400645c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400645c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400645c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400645c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400645c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400645c8
xor al, al
add rsp, 0x28
ret
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x140010040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x558e5ee9f14b87b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xe]
mul rcx
add r11d, 0xe
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xd]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xe
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x140010040]
mov r11, rax
sub rbx, rax
movabs rdi, 0x558e5ee9f14b87b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x17f
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001450
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret