Function at 0x42bf70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x958
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x45e5ac
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0
call fcn.00404c50
mov ax, word [0x45e5ac]
mov ecx, 0x1ff
mov word [ebp - 0x964], ax
xor eax, eax
lea edi, [ebp - 0x962]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
push 0x45e5ac
lea ecx, [ebp - 0x50]
stosw word es:[edi], ax
mov byte [ebp - 4], 2
call fcn.00404c50
lea ecx, [ebp - 0x50]
lea edi, [esi + 0x50]
lea edx, [ebp - 0x28]
push ecx
push edx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00405380
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004033c0
test al, al
jne 0x42c052
push 0x45e5ac
lea ecx, [ebp - 0x3c]
call fcn.00404c50
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
push eax
push ecx
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 5
call fcn.00405380
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004033c0
lea ecx, [ebp - 0x1c]
mov bl, al
mov byte [ebp - 4], 5
call fcn.00403350
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00404e10
test bl, bl
je 0x42c054
mov bl, 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00403350
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00404e10
test bl, bl
je 0x42c13b
sub esp, 0x14
mov dword [ebp + 0xc], 0
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0x45d9f0
call fcn.00404c50
sub esp, 8
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
mov byte [ebp - 4], 7
call fcn.00404240
sub esp, 0x14
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x45d08c
call fcn.00404c50
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 2
call fcn.004217e0
mov esi, eax
mov dword [ebp - 0xbc], vtable.KBase.0
lea eax, [esi + 4]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00404a70
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00404a70
lea edx, [esi + 0x2c]
lea ecx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 0xc
call fcn.00404a70
add esi, 0x40
lea ecx, [ebp - 0x7c]
push esi
mov byte [ebp - 4], 0xd
call fcn.00404a70
lea eax, [ebp - 0xbc]
push 0x451620
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xbc], 0x4479ec
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esi + 0xc]
call fcn.004059b0
mov ecx, dword [ebp + 0xc]
mov ebx, eax
call fcn.004059b0
mov ecx, edi
mov esi, eax
call fcn.004059b0
push ebx
lea ecx, [ebp - 0x964]
push 0x400
push ecx
push 0x45d9e8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x45d9e8
lea ecx, [ebp - 0x3c]
call fcn.00404c50
lea edx, [ebp - 0x964]
lea ecx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 0xe
call fcn.00404c50
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xf
call fcn.00405210
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x28]
push ecx
push edx
mov ecx, eax
call fcn.00405380
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004033c0
lea ecx, [ebp - 0x28]
mov bl, al
mov byte [ebp - 4], 0xf
call fcn.00403350
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xe
call fcn.00404e10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00404e10
test bl, bl
je 0x42c272
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00405bd0
push 0
lea ecx, [ebp - 0x28]
push eax
push ecx
mov byte [ebp - 4], 0x11
call fcn.00403f90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004033c0
lea ecx, [ebp - 0x28]
mov bl, al
mov byte [ebp - 4], 0x11
call fcn.00403350
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00403980
test bl, bl
je 0x42c23f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push esi
push edx
call fcn.0042c350
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00404a70
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00404e10
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
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x64]
mov edi, 1
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00404a70
mov dword [ebp - 0x20], edi
jmp 0x42c251