Function at 0x415cf0
Capabilities:
Check if file exists
Get file attributes
Get thread local storage value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eff29
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
push 2
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x88], 0
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xd8], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x74], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xbc], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
mov edi, eax
xor eax, eax
mov dword [ebp - 0xec], edi
mov word [edi], ax
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x8c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xb4], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xb0], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xc0], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x98], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov word [eax], cx
cmp ebx, dword [reloc.ACLUI.dll_CreateSecurityPage]
mov ecx, 0x4f9e6c
mov eax, 0x4f9e60
mov byte [ebp - 4], 0xb
cmovne eax, ecx
push eax
call fcn.004c8d00
mov ebx, eax
push 0
mov dword [ebp - 0xac], ebx
call fcn.004c8d5f
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
add esp, 0x40
mov eax, 0x4f9d20
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x5c]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0xcc]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
mov dword [ebp - 0xb8], eax
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x5c]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x60], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x60]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ebx, dword [ebp - 0x60]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x70]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x70], eax
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0xac]
call fcn.004c8d5f
add esp, 0x18
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41604f
push 0x4f9d20
mov dword [ebp - 0x6c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x84], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x84], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x80], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x80], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x50], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x64], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x64], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x5c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
mov bl, byte [ebp + 0x18]
lea eax, [ebp - 0x6c]
push 0xffffffffffffffff
push 0
push 0
push eax
movzx eax, bl
push eax
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x94]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0x64]
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x80]
call fcn.004c8d5f
push dword [ebp - 0x84]
call fcn.004c8d5f
push dword [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call fcn.004c8d5f
add esp, 0x18
jmp 0x416052
mov bl, byte [ebp + 0x18]
push dword [ebp - 0xb8]
call fcn.004c8d00
push dword [ebp - 0x54]
mov esi, eax
mov dword [ebp - 0x98], esi
call fcn.004c8d5f
add esp, 8
test bl, bl
jne 0x41608a
push 0x4f9d60
lea ecx, [ebp - 0x98]
call fcn.004050e0
mov esi, dword [ebp - 0x98]
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x88]
or eax, 0x20019
push ecx
push eax
push 0
push esi
push dword [ebp - 0x9c]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x416798
xor ebx, ebx
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 0xac], ebx
push eax
push ebx
push dword [ebp - 0x88]
call fcn.004150d0
add esp, 0x18
test eax, eax
jne 0x41678c
nop dword [eax + eax]
push 0x4ff868
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x8c]
mov ecx, 0x4f9d20
test eax, eax
mov dword [ebp - 0x50], 0
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x50]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
add esp, 4
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416161
push dword [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.004c8d5f
add esp, 4
jmp 0x416753
xor esi, esi
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xb8], esi
push 0x4ff884
push eax
call fcn.00413df0
push 2
call fcn.004c8d7a
xor ecx, ecx
mov word [eax], cx
push 0x412
push eax
call fcn.004c8d85
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xf0], ebx
test ebx, ebx
je 0x4161ae
push 0x412
push 0
push ebx
call fcn.004c53a0
add esp, 0xc
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0x208
push ebx
push 0x4f9d20
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x416738
push esi
lea eax, [ebp - 0x4c]
push 0x4ff898
push eax
call fcn.00413df0
push 2
call fcn.004c8d7a
xor ecx, ecx
mov word [eax], cx
push 0x412
push eax
call fcn.004c8d85
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x108], edi
test edi, edi
je 0x416219
push 0x412
push 0
push edi
call fcn.004c53a0
add esp, 0xc
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0x208
push edi
push 0x4f9d20
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x60], 2
jle 0x416279
push 2
push 0x4ff8b4
push ebx
call fcn.004c936a
add esp, 0xc
test eax, eax
je 0x416255
cmp word [ebx + 2], 0x3a
jne 0x416279
mov esi, dword [ebp - 0x68]
test ebx, ebx
mov eax, 0x4f9d20
cmovne eax, ebx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x68], eax
call fcn.004c8d5f
add esp, 8
jmp 0x4163a2
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x8c]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x58]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x58]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x80], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x80]
push dword [ebp - 0x74]
call fcn.004050e0
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x80]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x84], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x84]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x84]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x6c]
push ebx
call fcn.004050e0
mov ecx, dword [ebp - 0x6c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x68]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x68], eax
call fcn.004c8d5f
push dword [ebp - 0x6c]
call fcn.004c8d5f
push dword [ebp - 0x84]
call fcn.004c8d5f
push dword [ebp - 0x80]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
add esp, 0x18
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41671d
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xe8], eax
mov word [eax], cx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ecx
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x68]
call fcn.00408e30
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0xe8]
push 0
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004069d0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x5c]
push esi
call fcn.004069c0
push 0x4ff8bc
mov dword [ebp - 0x6c], eax
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x68]
mov edx, 0x4f9d20
test ecx, ecx
cmovne edx, ecx
push edx
call fcn.004c8d00
push 0
mov dword [ebp - 0x60], eax
call fcn.004c8d5f
add esp, 0x3c
lea ecx, [ebp - 0x60]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov esi, dword [ebp - 0x60]
mov eax, 0x4f9d20
test esi, esi
mov dword [ebp - 0x64], 0
cmovne eax, esi
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x64], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x64]
push edi
call fcn.004050e0
push esi
call fcn.004c8d5f
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], 0
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xc4]
mov esi, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00405240
push dword [ebp - 0x58]
mov byte [ebp - 0xa5], al
call fcn.004c8d5f
add esp, 0x30
cmp byte [ebp - 0xa5], 0
je 0x4166f1
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41664f
push 0x4f9d20
mov dword [ebp - 0x58], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x78], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x78], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x7c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x7c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x90], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x90], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0xa4], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0xa4], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0xa0], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0xa0], eax
call fcn.004c8d5f
movzx eax, byte [ebp + 0x18]
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
push 0
push 0
push ecx
push eax
push 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
push eax
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0xa0]
call fcn.004c8d5f
push dword [ebp - 0xa4]
call fcn.004c8d5f
push dword [ebp - 0x90]
call fcn.004c8d5f
push dword [ebp - 0x7c]
call fcn.004c8d5f
push dword [ebp - 0x78]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
add esp, 0x18
jmp 0x416656
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x60], eax
push 0x4f9d20
mov dword [ebp - 0x58], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x54], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8d5f
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x20
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x50]
push esi
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x54]
push eax
push 0xa
push dword [ebp + 0x14]
push dword [ebp - 0x6c]
push dword [ebp - 0x94]
call fcn.00405550
add esp, 0x54
push dword [ebp - 0x54]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x64]
call fcn.004c8d5f
push dword [ebp - 0x5c]
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.004028a0
push dword [ebp - 0xe8]
call fcn.004c8d5f
add esp, 4
push edi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
mov esi, dword [ebp - 0xb8]
add esp, 8
inc esi
jmp 0x416163
push ebx
call fcn.004c8d5f
push dword [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.004c8d5f
mov ebx, dword [ebp - 0xac]
add esp, 8
lea eax, [ebp - 0x8c]
inc ebx
push eax
push 0
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0xac], ebx
push eax
push ebx
push dword [ebp - 0x88]
call fcn.004150d0
add esp, 0x18
test eax, eax
je 0x4160f0
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0xec]
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x88]
push eax
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push dword [ebp - 0xcc]
push dword [ebp - 0x9c]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x4170e0
lea eax, [ebp - 0x74]
xor ebx, ebx
push eax
push ebx
push dword [ebp - 0x88]
mov dword [ebp - 0x60], ebx
call fcn.00415050
add esp, 0xc
cmp eax, 0x103
je 0x4170d4
test eax, eax
jne 0x4170d4
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0xd4]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x88]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x4170b2
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov word [eax], cx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x21
push eax
push ecx
push ecx
push 0x4ff8c0
push dword [ebp - 0xd4]
call fcn.004151a0
add esp, 0x18
test eax, eax
jne 0x417091
mov ebx, dword [ebp - 0xb4]
push 0x4f9d20
call fcn.004c8d00
push ebx
mov dword [ebp - 0xb4], eax
call fcn.004c8d5f
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 0x4ff8d8
push dword [ebp - 0xd4]
call fcn.004151a0
push 0x5c
push dword [ebp - 0xcc]
call fcn.004c5767
test eax, eax
mov ecx, 0x4f9d20
mov ebx, edi
cmovne ecx, eax
push ecx
call fcn.004c8d00
mov edi, eax
push ebx
mov dword [ebp - 0xec], edi
call fcn.004c8d5f
mov eax, dword [ebp - 0x74]
mov ecx, 0x4f9d20
test eax, eax
mov ebx, esi
cmovne ecx, eax
push ecx
call fcn.004c8d00
mov esi, eax
push ebx
mov dword [ebp - 0x98], esi
call fcn.004c8d5f
add esp, 0x34
cmp byte [ebp + 0x18], 0
jne 0x416908
push 0x4f9d60
lea ecx, [ebp - 0x98]
call fcn.004050e0
mov esi, dword [ebp - 0x98]
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0xc8]
or eax, 0x20019
push ecx
push eax
push 0
push esi
push dword [ebp - 0x88]
call fcn.004086c0
add esp, 0x14
test eax, eax
je 0x41694a
push dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.004c8d5f
mov ebx, dword [ebp - 0x60]
jmp 0x4170af
lea eax, [ebp - 0xbc]
xor ebx, ebx
push eax
push ebx
push dword [ebp - 0xc8]
mov dword [ebp - 0xac], ebx
call fcn.00415050
add esp, 0xc
cmp eax, 0x103
je 0x417082
test eax, eax
jne 0x417082
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0xf4]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0xbc]
push dword [ebp - 0xc8]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x41705a
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x4ff8f0
push dword [ebp - 0xf4]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x41704e
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x50], eax
add esp, 4
mov word [eax], cx
mov eax, dword [ebp - 0xb4]
cmp word [eax], cx
je 0x416c2b
mov eax, dword [ebp - 0x68]
cmp word [eax], 0x5c
je 0x416c2b
cmp word [eax + 2], 0x3a
je 0x416c2b
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov eax, dword [ebp - 0xb4]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0xa4], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0xa4]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
push 0x4ff900
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0xa4]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x90], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x90]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x90]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x7c], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x7c]
push edi
call fcn.004050e0
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x7c]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x78], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x78]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x78]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
mov dword [ebp - 0x54], eax
push 0
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x54]
push dword [ebp - 0x68]
call fcn.004050e0
mov ecx, dword [ebp - 0x54]
mov eax, 0x4f9d20
mov ebx, dword [ebp - 0xd8]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
mov esi, eax
push ebx
mov dword [ebp - 0xd8], esi
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
push dword [ebp - 0x78]
call fcn.004c8d5f
push dword [ebp - 0x7c]
call fcn.004c8d5f
push dword [ebp - 0x90]
call fcn.004c8d5f
push dword [ebp - 0xa4]
call fcn.004c8d5f
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xe8], eax
mov word [eax], cx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ecx
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x23
push eax
push esi
call fcn.00408e30
push 0
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x94]
lea eax, [ebp - 0xb8]
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x50]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
add esp, 0x40
push dword [ebp - 0xb8]
call fcn.004c8d5f
add esp, 4
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xe4]
call fcn.004028a0
push dword [ebp - 0xe8]
jmp 0x416cbe
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x104], eax
mov word [eax], cx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], ecx
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x24
push eax
push dword [ebp - 0x68]
call fcn.00408e30
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x94]
lea eax, [ebp - 0xf0]
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x50]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
push dword [ebp - 0xf0]
call fcn.004c8d5f
add esp, 0x28
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x100]
call fcn.004028a0
push dword [ebp - 0x104]
call fcn.004c8d5f
add esp, 4
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x94]
call fcn.004069c0
push 0x4f9dfc
mov dword [ebp - 0x90], eax
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x70]
mov edx, 0x4f9d20
test ecx, ecx
cmovne edx, ecx
push edx
call fcn.004c8d00
push 0
mov dword [ebp - 0x7c], eax
call fcn.004c8d5f
add esp, 0x20
lea ecx, [ebp - 0x7c]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x7c]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x78], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x78]
push dword [ebp - 0x74]
call fcn.004050e0
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x78]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x54]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x54]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x9c], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x9c]
push dword [ebp - 0xbc]
call fcn.004050e0
mov ebx, dword [ebp - 0x9c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x8c]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x8c], eax
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
push dword [ebp - 0x78]
call fcn.004c8d5f
push dword [ebp - 0x7c]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x94]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.00405240
add esp, 0x38
test al, al
je 0x417039
cmp dword [ebp + 0x14], 0xffffffff
jne 0x416f8f
push 0x4f9d20
mov dword [ebp - 0x54], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x80], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x80], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x84], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x84], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x6c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x58], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0xa0], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0xa0], eax
call fcn.004c8d5f
movzx eax, byte [ebp + 0x18]
lea ecx, [ebp - 0x54]
push 0xffffffffffffffff
push 0
push 0
push ecx
push eax
push 0
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
push eax
push 0
push 0xffffffffffffffff
push 0
push ebx
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0xa0]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
push dword [ebp - 0x6c]
call fcn.004c8d5f
push dword [ebp - 0x84]
call fcn.004c8d5f
push dword [ebp - 0x80]
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
add esp, 0x18
jmp 0x416f99
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x9c], eax
push 0x4f9d20
mov dword [ebp - 0x54], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8d5f
mov esi, dword [ebp - 0xd0]
push 0x4f9d20
mov dword [ebp - 0x5c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x2c
push eax
push dword [ebp - 0x9c]
lea eax, [ebp - 0x5c]
push esi
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
push dword [ebp + 0x14]
push dword [ebp - 0x90]
push ebx
call fcn.00405550
add esp, 0x54
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x21
call fcn.004c8d5f
mov ebx, dword [ebp - 0xac]
add esp, 4
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xbc]
inc ebx
push eax
push ebx
push dword [ebp - 0xc8]
mov dword [ebp - 0xac], ebx
call fcn.00415050
add esp, 0xc
cmp eax, 0x103
jne 0x416973
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x60]
push dword [ebp - 0xd4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.004c8d5f
mov esi, dword [ebp - 0x98]
add esp, 4
lea eax, [ebp - 0x74]
inc ebx
push eax
push ebx
push dword [ebp - 0x88]
mov dword [ebp - 0x60], ebx
call fcn.00415050
add esp, 0xc
cmp eax, 0x103
jne 0x4167f2
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc4]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push dword [ebp - 0xc0]
call fcn.004c8d5f
push dword [ebp - 0xb0]
call fcn.004c8d5f
push dword [ebp - 0xb4]
call fcn.004c8d5f
push dword [ebp - 0x8c]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0xbc]
call fcn.004c8d5f
push dword [ebp - 0x74]
call fcn.004c8d5f
push dword [ebp - 0x70]
call fcn.004c8d5f
push dword [ebp - 0xd8]
call fcn.004c8d5f
push dword [ebp - 0x68]
call fcn.004c8d5f
mov eax, dword [ebp + 0x14]
add esp, 0x30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret