Function at 0x40df90
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x449ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460df4]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov edi, dword [esp + 0x1d8]
mov esi, ecx
mov dword [esp + 0x84], eax
xor ebx, ebx
mov ebp, 0xf
mov eax, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40e005
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0x50]
call fcn.00402d10
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0xf4]
mov dword [esp + 0x1d0], ebx
call fcn.004063c0
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x1cc], 0xffffffff
jb 0x40e051
mov edx, dword [esp + 0x4c]
push edx
call fcn.00416894
add esp, 4
push edi
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0x44c8cf
push str.Count
push str.List
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xbc]
push ecx
call fcn.00434f51
add esp, 4
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x40e0a6
mov ecx, dword [esp + 0x84]
push 0x14
push str.List_File_Count_0___
call fcn.00401610
xor eax, eax
jmp 0x40e3d1
lea ecx, [esp + 0x14]
call fcn.00408300
mov dword [esp + 0x18], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], ebx
mov edx, dword [esi + 0xc4]
sub edx, 1
cmp dword [esp + 0x1d4], edx
mov dword [esp + 0x1cc], 1
jne 0x40e1ee
push 7
push str.version
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00402d10
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d8], 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00402c30
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 3
mov dword [esp + 0x70], edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00402c30
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d4], 4
call fcn.0040aab0
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x40e1a5
mov eax, dword [esp + 0x6c]
push eax
call fcn.00416894
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40e1c7
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00416894
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x1cc], 1
jb 0x40e1ee
mov edx, dword [esp + 0x4c]
push edx
call fcn.00416894
add esp, 4
xor esi, esi
cmp dword [esp + 0x20], ebx
jle 0x40e383
jmp 0x40e207
mov edi, dword [esp + 0x88]
push esi
lea eax, [esp + 0xa0]
push str.File_02d
push eax
mov byte [esp + 0xc8], bl
call fcn.00433f59
add esp, 0xc
push edi
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0x44c8cf
lea edx, [esp + 0xac]
push edx
push str.List
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xbc]
push eax
call fcn.0043520e
lea eax, [esp + 0xc0]
add esp, 4
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40e270
sub eax, edi
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x50]
call fcn.00402d10
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d8], 5
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00402c30
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 6
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00402c30
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d4], 7
call fcn.0040aab0
mov edi, 0x10
cmp dword [esp + 0x80], edi
jb 0x40e322
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00416894
add esp, 4
cmp dword [esp + 0x40], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40e344
mov edx, dword [esp + 0x2c]
push edx
call fcn.00416894
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x1cc], 1
jb 0x40e36b
mov eax, dword [esp + 0x4c]
push eax
call fcn.00416894
add esp, 4
mov eax, dword [esp + 0x44]
add dword [eax + 0xc8], 1
add esi, 1
cmp esi, dword [esp + 0x20]
jl 0x40e200
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x48]
add ecx, 0xe4
call fcn.0040d3e0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x1e0], 0xffffffff
call fcn.0040acc0
mov eax, dword [esp + 0x18]
push eax
call fcn.00416894
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.00432a13
add esp, 0x1bc
ret 0xc