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

Disassembly:
sub esp, 0xaa4
mov eax, dword [0x101cfdb0]
xor eax, esp
mov dword [esp + 0xa9c], eax
push esi
push edi
push 0x1017ca93
push 0x64
mov edi, edx
call fcn.10116f80
mov esi, eax
add esp, 8
test esi, esi
je 0x10057eac
push 0x63
lea ecx, [esi + 1]
push 0
push ecx
call fcn.101193b0
add esp, 0xc
mov byte [esi], 1
lea eax, [esi + 4]
push 2
push eax
call fcn.10114a30
lea eax, [esi + 0x34]
push eax
call fcn.10114db0
add esp, 0xc
mov dword [0x102a3bc4], esi
lea eax, [esp + 0x58]
xorps xmm0, xmm0
movq qword [esi + 0x5c], xmm0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
push eax
push 0xffffffffffffffff
push str.1256735917293572158
push 0
push 0xfde9
call esi
push 0x20
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 0x101b2a98
push 0
push 0xfde9
call esi
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10057cd7
push str.Error_opening_Steam_key_n
jmp 0x10057d77
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x208
push eax
lea eax, [esp + 0x9c]
push eax
push 0
push 0
push str.SteamExe
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10057d72
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jb 0x10057d72
shr ecx, 1
mov eax, esi
je 0x10057d39
lea edx, [esi + 0x5c]
cmp word [esp + eax*2 + 0x98], 0x2f
jne 0x10057d34
mov word [esp + eax*2 + 0x98], dx
inc eax
cmp eax, ecx
jb 0x10057d21
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [esp + 0x2ac]
push 0x800
push eax
call fcn.100568c0
add esp, 0x14
lea edx, [esp + 0x2a0]
lea ecx, [esp + 0x58]
call fcn.10056930
jmp 0x10057d8a
push str.Error_reading_SteamExe_key_n
push 2
call fcn.1012d5d0
add esp, 4
push eax
call fcn.10056890
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x102713d4
mov dword [0x102a7ce4], eax
call fcn.10114a70
add esp, 4
test eax, eax
jne 0x10057ecd
test edi, edi
je 0x10057dbf
movups xmm0, xmmword [edi]
movups xmmword [0x102a3aa8], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10057dc9
xorps xmm0, xmm0
movups xmmword [0x102a3aa8], xmm0
movq qword [0x102a3ab8], xmm0
xorps xmm0, xmm0
push 0x102713d4
movups xmmword [0x102a3cc8], xmm0
movq qword [0x102a3cd8], xmm0
call fcn.10114ab0
add esp, 4
cmp dword [0x102a7dec], 0
jne 0x10057eb6
mov ecx, str.1256735917293572158
mov dword [0x10292490], 0x101d9158
mov esi, 1
mov edx, 0x102924a0
sub esi, ecx
lea eax, [ecx + esi]
cmp eax, 0x40
jae 0x10057e2b
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp byte [ecx], 0
jne 0x10057e18
mov esi, dword [0x102a3bc4]
mov al, 1
mov byte [edx], 0
mov dword [0x102a7dec], 0x10292490
mov dword [0x10292498], 0x10058200
mov dword [0x1029249c], 0x10058210
xchg byte [esi], al
push 4
call fcn.101166d0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10058760
push 0
push 0
call fcn.101336e0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x10057ed8
cmp dword [esi + 0x60], 0
jne 0x10057ed3
mov eax, dword [esp + 0x10]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [esp + 0xa9c]
xor ecx, esp
call fcn.101163c0
add esp, 0xaa4
ret
mov dword [0x102a3bc4], 0
mov ecx, dword [esp + 0xaa4]
pop edi
pop esi
xor ecx, esp
call fcn.101163c0
add esp, 0xaa4
ret
push eax
call fcn.10115000
call fcn.10133a90
push 6
mov dword [esp + 0x14], 0
call fcn.10115060
int3