Function at 0x4185e0
Capabilities:
Check if file exists
Get file attributes
Get thread local storage value
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45d0a5
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
xor edi, edi
push 1
mov dword [esp + 0x58], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0x3c], edi
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
mov dword [esp + 0xfc], edi
call fcn.0042f396
mov dword [esp + 0x84], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x30], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x38], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x70], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x78], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x4c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x5c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x58], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x74], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x7c], eax
add esp, 0x2c
mov byte [eax], 0
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0xf8], 0xa
call fcn.00406500
push 0x46327c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0xb
call fcn.00406590
mov eax, str.HKCU
cmp ebp, dword [0x473118]
je 0x418729
mov eax, str.HKLM
push eax
call fcn.0042f484
mov ebx, eax
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push ebx
push edx
mov byte [esp + 0x104], 0xd
call fcn.00415fe0
add esp, 0x10
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0xfc], 0xe
call fcn.004097a0
mov esi, dword [eax]
mov byte [esp + 0xf4], 0xf
cmp esi, edi
je 0x41878f
cmp dword [esi + 4], edi
jne 0x41878a
mov eax, dword [esi]
push eax
call fcn.0042e110
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x418791
xor esi, esi
mov edi, dword [esp + 0x24]
push esi
call fcn.0042f484
push edi
mov dword [esp + 0x2c], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 8
test eax, eax
je 0x4187f4
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x4187ec
test esi, esi
je 0x4187ec
mov eax, dword [esi]
test eax, eax
je 0x4187d3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4187e3
push eax
call fcn.00430786
add esp, 4
push esi
call fcn.0042f2c2
add esp, 4
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x418838
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x418830
test esi, esi
je 0x418830
mov eax, dword [esi]
test eax, eax
je 0x418817
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x418827
push eax
call fcn.00430786
add esp, 4
push esi
call fcn.0042f2c2
add esp, 4
mov dword [esp + 0x2c], 0
push ebx
call fcn.0042f4d9
mov esi, dword [esp + 0x1c]
add esp, 4
test esi, esi
je 0x418879
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x418879
mov eax, dword [esi]
test eax, eax
je 0x418860
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x418870
push eax
call fcn.00430786
add esp, 4
push esi
call fcn.0042f2c2
add esp, 4
mov esi, dword [esp + 0x40]
mov byte [esp + 0xf4], 0xa
test esi, esi
je 0x4188b9
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x4188b9
mov eax, dword [esi]
test eax, eax
je 0x4188a0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4188b0
push eax
call fcn.00430786
add esp, 4
push esi
call fcn.0042f2c2
add esp, 4
cmp dword [0x474d7c], 0
je 0x4189cc
cmp dword [esp + 0x108], 0xffffffff
jne 0x4189cc
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x24], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x30], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x58], eax
movzx edx, byte [esp + 0x124]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x68]
push ecx
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x64]
push edx
mov eax, edx
push eax
push 0
push 0xffffffffffffffff
push 0
push ecx
mov byte [esp + 0x14c], 0x15
call fcn.0040c0f0
mov edx, dword [esp + 0x98]
add esp, 0x58
push edx
mov dword [esp + 0x10c], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x24]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x58]
push ecx
mov byte [esp + 0x10c], 0xa
call fcn.0042f4d9
add esp, 0x18
mov eax, dword [0x4746a8]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0xa0]
or eax, 0x20019
push eax
push 0
push ecx
push ebp
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x419646
lea ecx, [esp + 0x30]
push ecx
push eax
push eax
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00416c10
add esp, 0x18
test eax, eax
jne 0x418fde
lea ecx, [esp + 0x30]
push ecx
mov eax, str.Scripts.Ini
lea ecx, [esp + 0x1c]
call fcn.004185a0
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418a64
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0xf8], 0xa
call fcn.0042f4d9
add esp, 4
jmp 0x418fb1
xor edi, edi
push edi
lea ecx, [esp + 0xcc]
push str._dCmdLine
push ecx
mov dword [esp + 0x8c], edi
call fcn.00432395
push 1
call fcn.0042f396
mov byte [eax], 0
push 0x209
push eax
call fcn.0042f567
push 0x209
mov ebp, eax
push 0
push ebp
mov dword [esp + 0xac], ebp
call fcn.0042f790
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
add esp, 0x24
push edx
push 0x208
push ebp
push 0x46043c
lea eax, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x418f8f
push edi
lea edx, [esp + 0xcc]
push str._dParameters
push edx
call fcn.00432395
push 1
call fcn.0042f396
mov byte [eax], 0
push 0x209
push eax
call fcn.0042f567
push 0x209
mov ebx, eax
push 0
push ebx
mov dword [esp + 0xb4], ebx
call fcn.0042f790
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
add esp, 0x24
push eax
push 0x208
push ebx
push 0x46043c
lea ecx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, 2
jle 0x418b7a
push 2
push 0x46583c
push ebp
call fcn.00430ece
add esp, 0xc
test eax, eax
je 0x418b5e
cmp byte [ebp + 1], 0x3a
jne 0x418b7a
mov esi, dword [esp + 0x20]
push ebp
call fcn.0042f484
push esi
mov dword [esp + 0x28], eax
call fcn.0042f4d9
add esp, 8
jmp 0x418c14
lea eax, [esp + 0x30]
push eax
mov eax, 0x460cb4
lea ecx, [esp + 0x90]
call fcn.004185a0
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0xac]
call fcn.00418570
push eax
mov eax, 0x460cb4
lea ecx, [esp + 0xa4]
call fcn.004185a0
lea edx, [esp + 0x94]
push edx
lea esi, [esp + 0xa4]
call fcn.00418570
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x38], eax
call fcn.0042f4d9
mov eax, dword [esp + 0xac]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0xc4]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0xb0]
push eax
call fcn.0042f4d9
add esp, 0x28
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418c39
push ebx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
add esp, 8
inc edi
jmp 0x418a66
push 1
call fcn.0042f396
mov dword [esp + 0xac], eax
mov byte [eax], 0
push 4
mov byte [esp + 0xfc], 0x19
call fcn.0042ff00
add esp, 8
test eax, eax
je 0x418c6b
lea edx, [esp + 0xac]
mov dword [eax], edx
jmp 0x418c6d
xor eax, eax
mov dword [esp + 0xac], eax
xor esi, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xa8]
push eax
push ecx
mov byte [esp + 0xfc], 0x1b
call fcn.0040ef90
push esi
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0040b350
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
mov byte [esp + 0x118], 0x1c
call fcn.0040b950
lea edx, [esp + 0x44]
mov edi, eax
push edx
mov eax, 0x465838
lea ecx, [esp + 0xac]
call fcn.004185a0
lea ecx, [esp + 0xb8]
push ecx
lea esi, [esp + 0xa0]
call fcn.00418570
mov edx, dword [esp + 0xb0]
push edx
mov byte [esp + 0x124], 0x1d
call fcn.0042f4d9
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x54]
push edx
mov eax, esi
push eax
push ecx
call fcn.0040bd70
add esp, 0x44
test al, al
je 0x418eeb
mov esi, dword [esp + 0x108]
cmp esi, 0xffffffff
jne 0x418e5c
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x6c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x80], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x7c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x5c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x5c], eax
movzx eax, byte [esp + 0x124]
push esi
push 0
push 0
lea edx, [esp + 0x8c]
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x64]
push eax
mov ecx, eax
push ecx
push 0
push esi
push 0
push edx
mov byte [esp + 0x14c], 0x23
call fcn.0040c0f0
mov esi, eax
mov eax, dword [esp + 0x9c]
add esp, 0x58
push eax
mov dword [esp + 0x10c], esi
call fcn.0042f4d9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x7c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x7c]
push edx
call fcn.0042f4d9
add esp, 0x18
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x68], eax
lea eax, [esp + 0xcc]
push eax
call fcn.0042f484
mov dword [esp + 0x74], eax
movzx edx, byte [esp + 0x114]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xa0]
push eax
push 0xa
push esi
push edi
push ecx
mov byte [esp + 0x13c], 0x25
call fcn.0040c0f0
mov edx, dword [esp + 0xb4]
add esp, 0x48
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
add esp, 8
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x20]
push edx
call fcn.0042f4d9
mov esi, dword [esp + 0xc0]
xor eax, eax
add esp, 8
cmp esi, eax
je 0x418f44
mov edi, dword [esp + 0xbc]
cmp esi, edi
je 0x418f39
lea ebx, [ebx]
mov eax, dword [esi]
push eax
call fcn.0042f4d9
add esi, 4
add esp, 4
cmp esi, edi
jne 0x418f20
mov esi, dword [esp + 0xb8]
push esi
call fcn.0042f2c2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xac]
push ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
call fcn.0042f2c2
mov edx, dword [esp + 0xac]
push edx
call fcn.0042f4d9
push ebx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
mov edi, dword [esp + 0x90]
add esp, 0x10
inc edi
jmp 0x418a66
push ebp
call fcn.0042f4d9
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0xfc], 0xa
call fcn.0042f4d9
mov ebp, dword [esp + 0xa8]
add esp, 8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
inc eax
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00416c10
add esp, 0x18
test eax, eax
je 0x418a24
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4746a8]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0xa0]
or eax, 0x20019
push eax
push 0
push ecx
push ebp
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x419646
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push ecx
push eax
push edx
mov dword [esp + 0x38], eax
call fcn.00416b90
add esp, 0xc
cmp eax, 0x103
je 0x41963b
test eax, eax
jne 0x41963b
mov ecx, dword [0x4746a8]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x3c]
or eax, 0x20019
push eax
push 0
push esi
push edx
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x419614
push 1
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.DisplayName
push ecx
mov byte [esp + 0x10c], 0x26
call fcn.00416ab0
add esp, 0x18
test eax, eax
jne 0x4195f4
mov esi, dword [esp + 0x3c]
push 0x46043c
call fcn.0042f484
push esi
mov dword [esp + 0x44], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x44]
push edx
push 0
push 0
push str.FileSysPath
push eax
call fcn.00416ab0
mov ecx, dword [esp + 0xb8]
push 0x5c
push ecx
call fcn.004306d0
mov esi, dword [esp + 0x84]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x8c], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x88]
push edx
xor ebx, ebx
push ebx
push eax
call fcn.00416b90
add esp, 0x38
cmp eax, 0x103
je 0x4195f4
test eax, eax
jne 0x4195f4
mov edx, dword [0x4746a8]
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0xc4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
mov eax, dword [esp + 0x60]
push 0
push esi
push eax
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x4195d5
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x20]
push ecx
push eax
push eax
push str.Script
push edx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x4195c7
push 1
call fcn.0042f396
mov dword [esp + 0x1c], eax
add esp, 4
mov byte [eax], 0
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
mov byte [esp + 0xf4], 0x27
je 0x4192f4
mov eax, dword [esp + 0x20]
cmp byte [eax], 0x5c
je 0x4192f4
cmp byte [eax + 1], 0x3a
je 0x4192f4
lea ecx, [esp + 0x3c]
push ecx
mov eax, 0x460cb4
lea ecx, [esp + 0xa8]
call fcn.004185a0
push eax
mov eax, str.Scripts
lea ecx, [esp + 0x94]
call fcn.004185a0
lea edx, [esp + 0x68]
push edx
lea esi, [esp + 0x9c]
call fcn.00418570
push eax
mov eax, 0x460cb4
lea ecx, [esp + 0x94]
call fcn.004185a0
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0xb4]
call fcn.00418570
add esp, 0x14
push eax
lea ecx, [esp + 0x80]
call fcn.00401690
mov edx, dword [esp + 0xa0]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x88]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x98]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0xb4]
push eax
call fcn.0042f4d9
add esp, 0x14
lea ecx, [esp + 0xa8]
call fcn.00402320
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + 0xfc], 0x28
call fcn.0040ef90
push 0
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.0040b350
add esp, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.00401690
mov edx, dword [esp + 0x98]
push edx
call fcn.0042f4d9
add esp, 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf4], 0x27
call fcn.00402290
jmp 0x419388
lea ecx, [esp + 0xa8]
call fcn.00402320
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xa8]
push eax
push ecx
mov byte [esp + 0xfc], 0x29
call fcn.0040ef90
push 0
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.0040b350
mov eax, dword [eax]
mov esi, dword [esp + 0x2c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x34], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0042f4d9
add esp, 0x20
lea ecx, [esp + 0xac]
mov byte [esp + 0xf4], 0x27
call fcn.00402070
mov edx, dword [esp + 0xac]
push edx
call fcn.0042f2c2
mov eax, dword [esp + 0xac]
push eax
call fcn.0042f4d9
add esp, 8
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
push ebp
call fcn.0040b950
lea ecx, [esp + 0x34]
mov edi, eax
push ecx
mov eax, 0x460cb4
lea ecx, [esp + 0x5c]
call fcn.004185a0
lea edx, [esp + 0x3c]
push edx
lea esi, [esp + 0xa0]
call fcn.00418570
mov eax, dword [eax]
mov esi, dword [esp + 0x48]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x50], eax
call fcn.0042f4d9
mov eax, dword [esp + 0xa8]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042f4d9
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
push ebp
call fcn.0040bd70
add esp, 0x3c
test al, al
je 0x4195b2
mov esi, dword [esp + 0x108]
cmp esi, 0xffffffff
jne 0x41952d
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x7c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x70], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x78], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x74], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x88], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x98], eax
movzx ecx, byte [esp + 0x124]
push esi
push 0
push 0
lea eax, [esp + 0x9c]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, ecx
push edx
push 0
push esi
push 0
push ebp
mov byte [esp + 0x14c], 0x2f
call fcn.0040c0f0
mov esi, eax
mov eax, dword [esp + 0xd8]
add esp, 0x58
push eax
mov dword [esp + 0x10c], esi
call fcn.0042f4d9
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x6c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x78]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x8c]
push edx
call fcn.0042f4d9
add esp, 0x18
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x78], eax
movzx ecx, byte [esp + 0x114]
push 0xffffffffffffffff
push 0
push 0
lea eax, [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x50]
push edx
push 3
push esi
push edi
push ebp
mov byte [esp + 0x13c], 0x31
call fcn.0040c0f0
mov eax, dword [esp + 0xb8]
add esp, 0x48
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
add esp, 8
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0xf8], 0x26
call fcn.0042f4d9
add esp, 4
mov eax, dword [esp + 0xc4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
push ecx
inc ebx
push ebx
push edx
call fcn.00416b90
add esp, 0xc
cmp eax, 0x103
jne 0x419131
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [esp + 0xf8], 0xa
call fcn.0042f4d9
add esp, 4
mov eax, dword [esp + 0x2c]
inc eax
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00416b90
add esp, 0xc
cmp eax, 0x103
jne 0x41903d
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x74]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0xa0]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov eax, dword [esp + 0x134]
add esp, 0x2c
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00430430
add esp, 0xe4
ret