Function at 0x42c5e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], esp
push 0x45ea38
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov esi, 0x2800
call fcn.00403330
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 1
call fcn.004048e0
mov ebx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
lea eax, [esi + esi]
push eax
mov dword [ebp - 0x30], eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x42c7f6
push 0x45ea38
lea ecx, [ebp - 0x20]
call fcn.00403360
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0xc]
call fcn.004059b0
mov ecx, dword [ebx]
mov edx, dword [ebp + 0xc]
push eax
push esi
push ecx
push 0x45d9e8
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea eax, [esi - 2]
cmp edi, eax
jb 0x42c6b1
cmp esi, 0x7fffffff
jae 0x42c6b1
mov eax, dword [ebx]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [ebx], 0
push 0x45ea48
call fcn.00403360
mov esi, dword [ebp - 0x30]
xor edi, edi
lea ecx, [ebp - 0x2c]
push 0x45ea48
push ecx
lea ecx, [ebp - 0x20]
call fcn.00403370
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004033c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 3
call fcn.00403350
mov al, byte [ebp - 0x11]
test al, al
jne 0x42c636
add esi, 0xfffffffe
cmp edi, esi
jae 0x42c79a
cmp dword [ebx], 0
je 0x42c79a
push 0x45d9e8
lea ecx, [ebp - 0xc4]
call fcn.00404c50
mov edx, dword [ebx]
lea ecx, [ebp - 0xb0]
push edx
mov byte [ebp - 4], 0xc
call fcn.00404c50
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call fcn.00405210
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.00405420
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004033c0
lea ecx, [ebp - 0x2c]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 0xd
call fcn.00403350
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xc
call fcn.00404e10
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.00404e10
mov al, byte [ebp + 0xf]
test al, al
je 0x42c79a
mov esi, dword [ebp + 8]
push 0x45ea48
mov ecx, esi
call fcn.00403330
mov eax, dword [ebp - 0x18]
or al, 1
mov dword [ebp - 0x18], eax
jmp 0x42c7c9
mov eax, dword [ebx]
push eax
call sub.MFC42u.DLL_operatordelete
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
mov dword [ebx], 0
push 0x45ea38
mov dword [ebp - 4], 2
call fcn.00403330
mov eax, dword [ebp - 0x18]
or al, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00404e10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00403350
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
sub esp, 0x14
mov dword [ebp + 0xc], 0
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x45db20
call fcn.00404c50
sub esp, 8
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 4
call fcn.00404240
sub esp, 0x14
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x45dae0
call fcn.00404c50
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.004217e0
mov esi, eax
mov dword [ebp - 0x9c], vtable.KBase.0
lea ecx, [esi + 4]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x98]
call fcn.00404a70
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 8
call fcn.00404a70
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x70]
push eax
mov byte [ebp - 4], 9
call fcn.00404a70
add esi, 0x40
lea ecx, [ebp - 0x5c]
push esi
mov byte [ebp - 4], 0xa
call fcn.00404a70
lea ecx, [ebp - 0x9c]
push 0x451620
push ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x9c], 0x4479ec
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0x10]
mov bl, 0x10
mov byte [ebp - 4], bl
mov eax, dword [edx]
push eax
call sub.MFC42u.DLL_operatordelete
sub esp, 0x10
mov dword [ebp + 0x10], 0
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x45da8c
call fcn.00404c50
sub esp, 8
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.00404240
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], bl
push ecx
lea ecx, [ebp - 0x118]
call fcn.004215e0
mov esi, eax
mov dword [ebp - 0x9c], vtable.KBase.0
lea edx, [esi + 4]
lea ecx, [ebp - 0x98]
push edx
mov byte [ebp - 4], 0x13
call fcn.00404a70
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x14
call fcn.00404a70
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp - 0x70]
call fcn.00404a70
add esi, 0x40
lea ecx, [ebp - 0x5c]
push esi
mov byte [ebp - 4], 0x16
call fcn.00404a70
lea edx, [ebp - 0x9c]
push 0x451620
push edx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x9c], 0x4479ec
call sub.MSVCRT.dll__CxxThrowException
nop
nop