Function at 0x418340
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3838
call fcn.00463a10
push ebx
push esi
lea eax, [ebp - 0x5c]
mov bh, dl
push edi
push eax
mov byte [ebp - 5], bh
xor bl, bl
call fcn.004448ab
add esp, 4
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x60], bl
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
push eax
call fcn.00444f48
add esp, 4
push eax
push str._Y__m__dT_H__M__SZ
lea eax, [ebp - 0x74]
push 0x15
push eax
call fcn.00444c6c
push 0x820
lea eax, [ebp - 0xe0c]
push 0
push eax
call fcn.0043d050
add esp, 0x1c
lea eax, [ebp - 0x5ec]
push 0x208
push 0
push eax
call fcn.0043d050
add esp, 0xc
lea eax, [ebp - 0xe0c]
push 0x410
push eax
call fcn.00445320
push 0x4744a0
lea eax, [ebp - 0xe0c]
push 0x410
push eax
call fcn.00445745
add esp, 0x14
lea eax, [ebp - 0x5ec]
push 0x103
push str.launcher
push eax
call fcn.004455bf
add esp, 0xc
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0xe0c]
push 0x410
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0xe0c]
push 0x476d3c
push 0x410
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0xe4]
push 0x40
push 0
push eax
call fcn.0043d050
add esp, 0xc
lea eax, [ebp - 0xe4]
push 2
push 6
push 1
push str._i__i__iV_
push 0x40
push eax
call fcn.0041b340
push 0x103
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x5ec]
push eax
call fcn.004455bf
add esp, 0x24
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0xe0c]
push 0x410
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0x5ec]
push 0x208
push 0
push eax
call fcn.0043d050
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x103
push eax
lea eax, [ebp - 0x5ec]
push eax
call fcn.004455bf
add esp, 0xc
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0xe0c]
push 0x410
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0xe0c]
push str..mdmp
push 0x410
push eax
call fcn.00445745
add esp, 0xc
push str.DBGHELP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x418953
push str.MiniDumpWriteDump
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x418953
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x418953
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x47fa70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3e4], bl
mov byte [ebp - 0x1e4], bl
mov esi, dword [edi]
cmp esi, edi
je 0x41863b
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0xa4]
call fcn.004168a0
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004168a0
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
push 0x200
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.00445610
add esp, 0xc
lea eax, [ebp - 0x3e4]
push 0x200
push 0x474d40
push eax
call fcn.00445610
add esp, 0xc
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
cmovae eax, dword [ebp - 0x8c]
push 0x200
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.00445610
add esp, 0xc
lea eax, [ebp - 0x3e4]
push 0x200
push 0x474d40
push eax
call fcn.00445610
add esp, 0xc
lea ecx, [ebp - 0xa4]
call fcn.00418970
mov esi, dword [esi]
cmp esi, edi
jne 0x418584
mov bh, byte [ebp - 5]
lea eax, [ebp - 0x3e4]
mov byte [ebp - 0x1e5], 0
mov ecx, eax
mov dword [ebp - 0x4c], 0x10000
mov dword [ebp - 0x44], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418657
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareValveSteamUsers
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418753
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41874a
push 0x100
lea eax, [ebp - 0x1e4]
push str._steamusers__n
push eax
call fcn.00445610
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x41874a
xor esi, esi
test eax, eax
je 0x41874a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100
push eax
lea eax, [ebp - 0xf0c]
mov byte [ebp - 0xf0c], 0
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x418744
cmp dword [ebp - 0x14], eax
jbe 0x418744
push 0x100
lea eax, [ebp - 0xf0c]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.00445610
add esp, 0xc
lea eax, [ebp - 0x1e4]
push 0x100
push 0x474d40
push eax
call fcn.00445610
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x4186e0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
lea eax, [ebp - 0x1e4]
push str._environment__n
push eax
call fcn.00445610
xor edx, edx
add esp, 0xc
mov esi, 0x476ddc
push 0
lea ecx, [edx + 0xa]
call fcn.004174f0
add esp, 4
test al, al
je 0x41878b
mov ecx, 0x476de0
jmp 0x4187fe
mov edx, 3
push 0
lea ecx, [edx + 3]
call fcn.004174f0
add esp, 4
test al, al
je 0x4187a8
mov ecx, 0x476de4
jmp 0x4187fe
mov edx, 2
push 0
lea ecx, [edx + 4]
call fcn.004174f0
add esp, 4
test al, al
je 0x4187c5
mov ecx, 0x476de8
jmp 0x4187fe
mov edx, 1
push 1
lea ecx, [edx + 5]
call fcn.004174f0
add esp, 4
test al, al
je 0x4187e2
mov ecx, 0x476dec
jmp 0x4187fe
mov edx, 1
push 0
lea ecx, [edx + 5]
call fcn.004174f0
add esp, 4
mov ecx, 0x476df0
test al, al
cmove ecx, esi
push 0x100
push ecx
lea eax, [ebp - 0x1e4]
push eax
call fcn.00445610
add esp, 0xc
lea eax, [ebp - 0x1e4]
push 0x100
push 0x474d40
push eax
call fcn.00445610
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x40], 0x10001
mov ecx, eax
mov dword [ebp - 0x38], eax
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418841
sub ecx, edx
mov dword [ebp - 0x28], 2
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push edi
push esi
push eax
call dword [ebp - 0x1c]
cmp eax, 1
sete bl
jne 0x418949
test bh, bh
je 0x418949
push 0x1a28
lea eax, [ebp - 0x3834]
push 0
push eax
call fcn.0043d050
add esp, 0xc
lea eax, [ebp - 0x1e0c]
push 0x1000
push 0
push eax
call fcn.0043d050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 5]
add esp, 0xc
mov byte [ebp - 5], 1
lea edx, [ebp - 0x1e0c]
push eax
call fcn.00417c30
add esp, 4
lea eax, [ebp - 0x1e0c]
push eax
lea eax, [ebp - 0x3834]
push 0xd14
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0x3834]
push str._n_nCrash_information_written_to:
push 0xd14
push eax
call fcn.00445745
add esp, 0xc
lea eax, [ebp - 0xe0c]
push eax
lea eax, [ebp - 0x3834]
push 0xd14
push eax
call fcn.00445745
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x418947
push 0x1010
push str.Error
lea eax, [ebp - 0x3834]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret