Function at 0x42f2c0
Capabilities:
Get file size
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov dword [ebp - 0x2ac], 0
push str.SuccConn:
lea ecx, [ebp - 0x13c]
call fcn.00416a60
mov dword [ebp - 4], 1
mov eax, dword [0x4b65c8]
or eax, dword [0x4b65cc]
je 0x42f37d
push 0x4b65c8
call fcn.0048d8a8
add esp, 4
mov dword [ebp - 0x2c0], eax
push 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.004236e0
push 0x18
mov ecx, dword [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.004241c0
lea edx, [ebp - 0x28c]
mov dword [ebp - 0x2c4], edx
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00419710
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.004236e0
jmp 0x42f39b
push str.never
call fcn.0048bc60
add esp, 4
push eax
push str.never
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push str._Conn:
call fcn.0048bc60
add esp, 4
push eax
push str._Conn:
lea ecx, [ebp - 0x13c]
call fcn.0041c910
mov ecx, dword [0x4b65c0]
or ecx, dword [0x4b65c4]
je 0x42f438
push 0x4b65c0
call fcn.0048d8a8
add esp, 4
mov dword [ebp - 0x2d0], eax
push 0
push 0
lea ecx, [ebp - 0x2a8]
call fcn.004236e0
push 0x18
mov edx, dword [ebp - 0x2d0]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004241c0
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00419710
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2a8]
call fcn.004236e0
jmp 0x42f456
push str.never
call fcn.0048bc60
add esp, 4
push eax
push str.never
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push str._ConnNum:
call fcn.0048bc60
add esp, 4
push eax
push str._ConnNum:
lea ecx, [ebp - 0x13c]
call fcn.0041c910
mov edx, dword [0x4b65d0]
push edx
push 0x4a2b8c
lea eax, [ebp - 0x150]
push eax
call fcn.0048cc64
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push 0x4a2b08
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b08
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push str.File:
call fcn.0048bc60
add esp, 4
push eax
push str.File:
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push 0x4b87a8
call fcn.0048bc60
add esp, 4
push eax
push 0x4b87a8
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push str._Ini_size:
call fcn.0048bc60
add esp, 4
push eax
push str._Ini_size:
lea ecx, [ebp - 0x13c]
call fcn.0041c910
lea eax, [ebp - 0x11c]
push eax
push 0x4b87a8
call fcn.0042f7e0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 1
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x14], 0
push 0xa
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
call fcn.00497018
add esp, 0xc
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x3e8]
push edx
call fcn.0048bc60
add esp, 4
push eax
mov eax, dword [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041c910
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a2b08
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b08
lea ecx, [ebp - 0x13c]
call fcn.0041c910
mov dword [ebp - 0x10], 0
push str.HotFixes:
call fcn.0048bc60
add esp, 4
push eax
push str.HotFixes:
lea ecx, [ebp - 0x13c]
call fcn.0041c910
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
push 0x4b78e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f74b
mov dword [ebp - 0x154], 0x104
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0x3e8
jle 0x42f653
jmp 0x42f722
push 0x104
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.0048d000
add esp, 0xc
mov dword [ebp - 0x154], 0x104
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x41c], ecx
lea edx, [ebp - 0x26c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x158]
add ecx, 1
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x270], 0
jne 0x42f712
cmp dword [ebp - 0x158], 1
jle 0x42f6f0
push 0x4a2b68
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b68
lea ecx, [ebp - 0x13c]
call fcn.0041c910
lea edx, [ebp - 0x264]
push edx
call fcn.0048bc60
add esp, 4
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041c910
cmp dword [ebp - 0x270], 0x103
jne 0x42f642
cmp dword [ebp - 0x158], 1
jne 0x42f749
push str.none
call fcn.0048bc60
add esp, 4
push eax
push str.none
lea ecx, [ebp - 0x13c]
call fcn.0041c910
jmp 0x42f769
push str.none
call fcn.0048bc60
add esp, 4
push eax
push str.none
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push 0x4a2b08
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b08
lea ecx, [ebp - 0x13c]
call fcn.0041c910
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004236e0
mov ecx, dword [0x4a2ac8]
push ecx
push 0
lea edx, [ebp - 0x13c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00423530
mov eax, dword [ebp - 0x2ac]
or eax, 1
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x13c]
call fcn.004236e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret