joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c030
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x90
mov r14, rcx
call fcn.140028eb0
test al, al
je 0x140027462
lea rcx, [rsp + 0x38]
call fcn.140026c90
nop
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
cmp rdi, rsi
je 0x14002732c
mov rbx, rdi
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140027302
mov rcx, qword [rbx]
cmp qword [rbx + 0x10], 7
jne 0x140027323
mov r8d, 7
lea rdx, str._silent
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400273ae
add rbx, 0x20
cmp rbx, rsi
jne 0x1400272f5
xor bl, bl
lea rcx, str.Millennium_Installer
call fcn.140074800
test bl, bl
je 0x1400273b5
movss xmm0, dword [0x14007f008]
movss xmm1, dword [0x14007f014]
unpcklps xmm1, xmm0
movq rcx, xmm1
call fcn.1400747e0
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x140019c60]
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, [0x140028a50]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140073b70
jmp 0x140027405
mov bl, 1
jmp 0x14002732e
movss xmm0, dword [0x14007f010]
movss xmm1, dword [0x14007f018]
unpcklps xmm1, xmm0
movq rcx, xmm1
call fcn.1400747e0
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x50], rax
lea rax, [0x140028980]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140073b70
nop
jmp 0x140027411
test rdi, rdi
je 0x140027462
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.1400021f0
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002745a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002745a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007621c
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
jmp 0x1400272b0
Function at 0x140032f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e0170]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e0bf8]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x20dd], 0
jne 0x140032f87
cmp byte [rbx + 0x20de], 0
jne 0x140032f87
mov r9d, dword [rbx + 0x3180]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140043310
test sil, 1
je 0x1400330bc
jmp 0x140033026
movss xmm1, dword [rbx + 0x16f4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140085dc0]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140085dbc]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dc8], 1
mov qword [rbx + 0x1de4], rax
movss dword [rbx + 0x1ddc], xmm0
mov dword [rbx + 0x1dcc], 1
movss dword [rbx + 0x1de0], xmm1
mov byte [rbx + 0x1e04], 1
movss xmm0, dword [rbx + 0x1750]
mov rax, qword [0x1400e0bf8]
mulss xmm0, dword [0x140085d58]
or dword [rax + 0x1dc8], 0x40
movss dword [rax + 0x1e28], xmm0
mov r9d, dword [rbx + 0x3180]
call fcn.140043310
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140033076
lea r11, [0x14007f0b0]
cmp r9b, 0x23
jne 0x140033059
cmp byte [r8], r9b
jne 0x140033059
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140033046
not ecx
call fcn.140041830
test rax, rax
je 0x1400330bc
cmp byte [rax + 0xcf], 0
je 0x1400330bc
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3180]
mov edx, 0x10
mov r9d, dword [rbx + 0x3180]
call fcn.140043310
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14002ee20
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140076580
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140035ea0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x1400360de
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400e0170]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14007f0b0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x1400360a6
mov rcx, rbp
call fcn.140035ac0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140035f71
movsxd rdx, dword [rbp + 0x31c8]
mov r8, qword [rbp + 0x31d0]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140035f61
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140035f59
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140035f5c
mov rdx, rcx
test rdx, rdx
jne 0x140035f30
cmp r8, r10
je 0x140035f71
cmp dword [r8], r9d
jne 0x140035f71
mov rcx, qword [r8 + 8]
jmp 0x140035f73
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140036007
cmp qword [rcx + 0x18], 0
jne 0x140035ffc
mov qword [rcx + 0x18], rbx
jmp 0x140036007
cmp qword [rcx + 0x20], 0
jne 0x140036007
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14003603c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140036030
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140043310
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140036098
cmp r9b, 0x23
jne 0x14003607b
cmp byte [r8], r9b
jne 0x14003607b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140036068
not ecx
call fcn.140041830
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140035ef0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140076580
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400413f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x140041446
lea r11, [0x14007f0b0]
cmp r9b, 0x23
jne 0x140041429
cmp byte [r8], r9b
jne 0x140041429
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140041416
not ecx
call fcn.140041a30
test rax, rax
jne 0x14004145f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400352c0
add rsp, 0x20
pop rbx
ret

Function at 0x1400418b0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140041900
lea r11, [0x14007f0b0]
cmp r9b, 0x23
jne 0x1400418e3
cmp byte [r8], r9b
jne 0x1400418e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400418d0
not ecx
jmp fcn.140041830

Function at 0x140042230
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x140042266
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 r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x14007f0b0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400e0bf8]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1d74], edx
jne 0x1400422e0
mov dword [rax + 0x1d78], edx
cmp dword [rax + 0x1db0], edx
jne 0x1400422ef
mov byte [rax + 0x1db4], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x1400423a0
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 0x1400423d3
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 rax, qword [rbx + 0x110]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x50]
movss xmm1, dword [rdi + 4]
subss xmm1, dword [rbx + 0x54]
cvttss2si r8d, xmm0
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rbx + 0x50]
cvttss2si r9d, xmm1
movss xmm1, dword [rdi + 0xc]
lea rdi, [0x14007f0b0]
subss xmm1, dword [rbx + 0x54]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
cvttss2si r10d, xmm0
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
cvttss2si r11d, xmm1
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r10b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
shr eax, 0x10
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r11b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r11d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1400e0bf8]
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r11d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
not ebx
cmp dword [rax + 0x1d74], ebx
jne 0x140042574
mov dword [rax + 0x1d78], ebx
cmp dword [rax + 0x1db0], ebx
jne 0x140042583
mov byte [rax + 0x1db4], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140042590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jg 0x1400425cb
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 ecx, ecx
mov r8, qword [rbx + 0x110]
mov rdx, rdi
sub rdx, rsi
test rdi, rdi
mov r8d, dword [r8 + rax*4 - 4]
cmove rdx, rcx
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140043460

Function at 0x140043460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400434bd
lea rbx, [0x14007f0b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400434a4
cmp r10, 2
jb 0x1400434a4
cmp byte [r9], r8b
jne 0x1400434a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140043480
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400434ff
lea rbx, [0x14007f0b0]
cmp r8b, 0x23
jne 0x1400434e3
cmp byte [r9], r8b
jne 0x1400434e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400434d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400451e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], 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 0x140045287
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004523a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140054010
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140053880
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3268]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3278]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e0c00]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004528f
mov rcx, rbx
call fcn.140053880
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14004dda0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400e0bf8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x3204], ecx
test rbx, rbx
je 0x14004de0f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14004de20
lea rdx, [0x140083d4c]
mov rcx, rbx
mov rdi, rax
call fcn.140043140
mov rbx, rax
test rax, rax
je 0x14004de0a
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140051240
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400e0bf8]
cmp byte [rbx + 0x3200], 0
jne 0x1400513b6
cmp dword [rbx + 0x3228], 0
je 0x14005127d
mov r8d, 0x2b2d
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400513af
lea rdx, [0x140083d48]
mov qword [rsp + 0x40], rdi
call fcn.140043140
mov rdi, rax
test rax, rax
je 0x1400513aa
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140051397
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140051397
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140051397
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140051397
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140051397
mov rax, qword [0x1400e0bf8]
test rax, rax
je 0x140051326
inc dword [rax + 0x3b0]
mov rdx, qword [0x1400e0c08]
mov rcx, rbp
call qword [0x1400b9020]
mov rsi, rax
test rax, rax
je 0x140051397
mov r9, rdi
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, rdi
cmp rax, rbp
je 0x140051362
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140051373
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140044a90
mov rax, qword [0x1400e0bf8]
test rax, rax
je 0x140051385
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400e0c08]
mov rcx, rsi
call qword [0x1400b9028]
jmp 0x1400513a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x3200], 1
movss xmm0, dword [rbx + 0x3204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140051407
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3204], xmm0
jb 0x140051407
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400513f6
call fcn.14004dda0
mov dword [rbx + 0x3204], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x3204], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140075210
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400e0170]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
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 0x1400752f2
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
lea r8, str.SteamPath
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400752e7
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400752d0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400139d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140076580
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x140075630
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1400e0170]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140075698
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 0x1400756d4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140075671
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.140001200
lea rdx, [0x14000cf10]
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.140076580
add rsp, 0x160
pop rbx
ret
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 0x140075710
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 0x1400756a6
lea rdx, str.Error_opening_Steam_process_for_termination.
jmp 0x14007569f

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

Function at 0x140076e68
Capabilities:
Parse pe header

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