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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xaa0
mov eax, dword [0x71ccd4]
xor eax, esp
mov dword [esp + 0xa9c], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
push 0x696ec8
push 0x64
mov dword [esp + 0x10], esi
call fcn.005c8edc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x43d3e1
push 0x63
lea ecx, [eax + 1]
push 0
push ecx
call fcn.00602f50
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax], 1
add eax, 4
push 2
push eax
call fcn.006439e9
mov eax, dword [esp + 0x18]
add eax, 0x34
push eax
call fcn.00643b92
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
mov dword [0x7f406c], eax
movq qword [eax + 0x5c], xmm0
je 0x43d2b6
test esi, esi
je 0x43d294
cmp byte [esi], 0
je 0x43d294
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x18]
push 0x20
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
push 0x20
lea eax, [esp + 0x5c]
push eax
push 0xffffffffffffffff
push dword [esp + 0x14]
push 0
push 0xfde9
call esi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43d1e8
push str.Error_opening_Steam_key_n
jmp 0x43d27f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x208
push eax
lea eax, [esp + 0x9c]
push eax
push 0
push 0
push str.SteamExe
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43d27a
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jb 0x43d27a
shr ecx, 1
mov eax, esi
je 0x43d24a
lea edx, [esi + 0x5c]
cmp word [esp + eax*2 + 0x98], 0x2f
jne 0x43d245
mov word [esp + eax*2 + 0x98], dx
inc eax
cmp eax, ecx
jb 0x43d232
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x9c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [esp + 0x2ac]
push 0x800
push eax
call fcn.00442550
add esp, 0x14
lea edx, [esp + 0x2a0]
jmp 0x43d2ad
push str.Error_reading_SteamExe_key_n
push 2
call fcn.006152f1
add esp, 4
push eax
call fcn.00442520
add esp, 8
jmp 0x43d2b6
push 0x20
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [esp + 0x18]
call fcn.004425c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x7d2fb0
mov dword [0x8041dc], eax
call fcn.00643a0a
add esp, 4
test eax, eax
jne 0x43d3ff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43d2ee
movups xmm0, xmmword [eax]
movups xmmword [0x7d4028], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x43d2f8
xorps xmm0, xmm0
movups xmmword [0x7d4028], xmm0
movq qword [0x7d4038], xmm0
xorps xmm0, xmm0
push 0x7d2fb0
movups xmmword [0x8041c4], xmm0
movq qword [0x8041d4], xmm0
call fcn.00643a2f
add esp, 4
cmp dword [0x8086f0], 0
jne 0x43d3eb
mov dword [0x7f4070], 0x720284
test edi, edi
je 0x43d366
cmp byte [edi], 0
mov ecx, 0x7f4080
je 0x43d363
mov edx, 1
sub edx, edi
nop dword [eax + eax]
lea eax, [edi + edx]
cmp eax, 0x40
jae 0x43d363
mov al, byte [edi]
inc edi
mov byte [ecx], al
inc ecx
cmp byte [edi], 0
jne 0x43d350
mov byte [ecx], 0
mov esi, dword [0x7f406c]
mov al, 1
mov dword [0x8086f0], 0x7f4070
mov dword [0x7f4078], 0x43d7d0
mov dword [0x7f407c], 0x43d7e0
xchg byte [esi], al
push 4
call fcn.005c7d27
add esp, 4
lea ecx, [esp + 0xc]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x43e080
push 0
push 0
call fcn.00615198
mov ecx, eax
add esp, 0x18
mov dword [esp + 8], ecx
test ecx, ecx
je 0x43d40a
cmp dword [esi + 0x60], 0
jne 0x43d405
mov eax, dword [esp + 0xc]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [esp + 0xa9c]
xor ecx, esp
call fcn.005c81cf
mov esp, ebp
pop ebp
ret
mov dword [0x7f406c], 0
mov ecx, dword [esp + 0xaa4]
pop edi
pop esi
xor ecx, esp
call fcn.005c81cf
mov esp, ebp
pop ebp
ret
push eax
call fcn.00643cac
call fcn.00620b89
push 6
mov dword [esp + 0x10], 0
call fcn.00643cd9
int3