Function at 0x4048f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xab0
mov eax, dword [0x426030]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x404910
xor eax, eax
jmp 0x404c31
mov eax, dword [ebp + 8]
push eax
push 0
push str.count
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x40493e
xor eax, eax
jmp 0x404c31
mov ecx, dword [ebp + 0xc]
call fcn.00404330
xor ecx, ecx
mov word [ebp - 0x258], cx
push 0x1fe
push 0
lea edx, [ebp - 0x256]
push edx
call fcn.004104c0
add esp, 0xc
push 0x50
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004104c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa80], cx
xor edx, edx
mov dword [ebp - 0xa7e], edx
mov dword [ebp - 0xa7a], edx
mov dword [ebp - 0xa76], edx
mov dword [ebp - 0xa72], edx
mov dword [ebp - 0xa6e], edx
mov dword [ebp - 0xa6a], edx
mov dword [ebp - 0xa66], edx
mov word [ebp - 0xa62], dx
xor eax, eax
mov word [ebp - 0xa60], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xa5e]
push ecx
call fcn.004104c0
add esp, 0xc
mov dword [ebp - 0xa84], 1
jmp 0x4049eb
mov edx, dword [ebp - 0xa84]
add edx, 1
mov dword [ebp - 0xa84], edx
mov eax, dword [ebp - 0xa84]
cmp eax, dword [ebp - 0x25c]
ja 0x404c2c
mov ecx, dword [ebp - 0xa84]
push ecx
push str._03d
lea edx, [ebp - 0xa80]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x400
lea ecx, [ebp - 0xa60]
push ecx
push 0x422ff0
lea edx, [ebp - 0xa80]
push edx
push str.List
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x2c
lea eax, [ebp - 0xa60]
push eax
call fcn.00404810
add esp, 8
mov dword [ebp - 0xa90], eax
cmp dword [ebp - 0xa90], 0
jne 0x404a69
xor eax, eax
jmp 0x404c31
xor ecx, ecx
mov edx, dword [ebp - 0xa90]
mov word [edx], cx
mov eax, dword [ebp - 0xa90]
add eax, 2
mov dword [ebp - 0xa90], eax
push 0x2c
mov ecx, dword [ebp - 0xa90]
push ecx
call fcn.00404810
add esp, 8
mov dword [ebp - 0xa88], eax
cmp dword [ebp - 0xa88], 0
jne 0x404aac
xor eax, eax
jmp 0x404c31
xor edx, edx
mov eax, dword [ebp - 0xa88]
mov word [eax], dx
mov ecx, dword [ebp - 0xa88]
add ecx, 2
mov dword [ebp - 0xa88], ecx
push 0x2c
mov edx, dword [ebp - 0xa88]
push edx
call fcn.00404810
add esp, 8
mov dword [ebp - 0xa8c], eax
cmp dword [ebp - 0xa8c], 0
jne 0x404aef
xor eax, eax
jmp 0x404c31
xor eax, eax
mov ecx, dword [ebp - 0xa8c]
mov word [ecx], ax
mov edx, dword [ebp - 0xa8c]
add edx, 2
mov dword [ebp - 0xa8c], edx
push 0x250
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.004104c0
add esp, 0xc
lea ecx, [ebp - 0xa60]
mov dword [ebp - 0xa94], ecx
lea edx, [ebp - 0x58]
mov dword [ebp - 0xa98], edx
mov eax, dword [ebp - 0xa98]
mov dword [ebp - 0xa9c], eax
mov ecx, dword [ebp - 0xa94]
mov dx, word [ecx]
mov word [ebp - 0xa9e], dx
mov eax, dword [ebp - 0xa98]
mov cx, word [ebp - 0xa9e]
mov word [eax], cx
mov edx, dword [ebp - 0xa94]
add edx, 2
mov dword [ebp - 0xa94], edx
mov eax, dword [ebp - 0xa98]
add eax, 2
mov dword [ebp - 0xa98], eax
cmp word [ebp - 0xa9e], 0
jne 0x404b40
mov ecx, dword [ebp - 0xa90]
mov dword [ebp - 0xaa4], ecx
lea edx, [ebp - 0x258]
mov dword [ebp - 0xaa8], edx
mov eax, dword [ebp - 0xaa8]
mov dword [ebp - 0xaac], eax
mov ecx, dword [ebp - 0xaa4]
mov dx, word [ecx]
mov word [ebp - 0xaae], dx
mov eax, dword [ebp - 0xaa8]
mov cx, word [ebp - 0xaae]
mov word [eax], cx
mov edx, dword [ebp - 0xaa4]
add edx, 2
mov dword [ebp - 0xaa4], edx
mov eax, dword [ebp - 0xaa8]
add eax, 2
mov dword [ebp - 0xaa8], eax
cmp word [ebp - 0xaae], 0
jne 0x404bac
mov ecx, dword [ebp - 0xa88]
push ecx
call fcn.0040f8d8
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xa8c]
push edx
call fcn.0040f8d8
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404fe0
jmp 0x4049dc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ee26
mov esp, ebp
pop ebp
ret 8