Function at 0x10007380
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079750
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xaa0
mov eax, dword [0x1008c400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
push 0x10085028
push 0x64
mov dword [ebp - 0xaac], esi
call fcn.10073c7d
add esp, 8
mov dword [ebp - 0xaa8], eax
test eax, eax
je 0x100076b5
push 0x63
lea ecx, [eax + 1]
push 0
push ecx
call fcn.100271c0
mov eax, dword [ebp - 0xaa8]
add esp, 0xc
mov byte [eax], 1
add eax, 4
push 2
push eax
call fcn.100747a0
mov eax, dword [ebp - 0xaa8]
add eax, 0x34
push eax
call fcn.10074a4d
mov eax, dword [ebp - 0xaa8]
add esp, 0xc
cmp dword [ebx + 0x10], 0
xorps xmm0, xmm0
mov dword [0x100c5e70], eax
movq qword [eax + 0x5c], xmm0
je 0x10007581
test esi, esi
je 0x10007561
cmp byte [esi], 0
je 0x10007561
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x58]
push 0x20
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x98]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xaac]
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xaa8]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100074ac
push str.Error_opening_Steam_key_n
jmp 0x1000754c
lea eax, [ebp - 0xaa4]
mov dword [ebp - 0xaa4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xaa8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xaa8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10007547
mov ecx, dword [ebp - 0xaa4]
cmp ecx, 1
jb 0x10007547
shr ecx, 1
mov eax, esi
je 0x10007518
lea edx, [esi + 0x5c]
nop
cmp word [ebp + eax*2 - 0x2a0], 0x2f
jne 0x10007513
mov word [ebp + eax*2 - 0x2a0], dx
inc eax
cmp eax, ecx
jb 0x10007500
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xaa0]
push 0x800
push eax
call fcn.10014f80
add esp, 0x14
lea edx, [ebp - 0xaa0]
jmp 0x10007579
push str.Error_reading_SteamExe_key_n
push 2
call fcn.100572f8
add esp, 4
push eax
call fcn.10014f50
add esp, 8
jmp 0x10007581
push 0x20
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x58]
call fcn.10015100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10094930
mov dword [0x100c9fa4], eax
call fcn.100747bc
add esp, 4
test eax, eax
jne 0x100076dd
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100075b9
movups xmm0, xmmword [eax]
movups xmmword [0x100c5d50], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x100075c3
xorps xmm0, xmm0
movups xmmword [0x100c5d50], xmm0
movq qword [0x100c5d60], xmm0
xorps xmm0, xmm0
movups xmmword [0x100c5f84], xmm0
movq qword [0x100c5f94], xmm0
push 0x10094930
mov dword [ebp - 4], 0
call fcn.1007480a
add esp, 4
test eax, eax
jne 0x100076e3
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100ca0b0], eax
jne 0x100076bf
mov dword [0x100b59f0], 0x1008e2b4
test edi, edi
je 0x10007646
mov ecx, 0x100b5a00
cmp byte [edi], al
je 0x10007643
mov edx, 1
sub edx, edi
nop word [eax + eax]
lea eax, [edi + edx]
cmp eax, 0x40
jae 0x10007643
mov al, byte [edi]
inc edi
mov byte [ecx], al
inc ecx
cmp byte [edi], 0
jne 0x10007630
mov byte [ecx], 0
mov esi, dword [0x100c5e70]
mov al, 1
mov dword [0x100ca0b0], 0x100b59f0
mov dword [0x100b59f8], 0x10007b50
mov dword [0x100b59fc], 0x10007bc0
xchg byte [esi], al
push 4
call fcn.1002464d
add esp, 4
lea ecx, [ebp - 0xaac]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10009890
push 0
push 0
call fcn.10056fac
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0xab0], ecx
test ecx, ecx
je 0x100076ee
cmp dword [esi + 0x60], 0
jne 0x100076e9
mov eax, dword [ebp - 0xaac]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
jmp 0x100076bf
mov dword [0x100c5e70], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002461d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.10075171
push eax
call fcn.10075171
call fcn.10056c25
push 6
mov dword [ebp - 0xaac], 0
call fcn.1007519e
int3