Function at 0x406960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d1bd
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x558], ecx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x22c], 0
push 0x103
push 0
lea eax, [ebp - 0x22b]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x288]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.00486c20
add esp, 0xc
push 0x549d50
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x22c]
push edx
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0x549d60
push 0x549d70
push 0x549d80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x549d8c
lea ecx, [ebp - 0x4f8]
call fcn.00405f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.00404280
push 0x549d94
lea ecx, [ebp - 0x4f8]
call fcn.00404280
push 0x549d98
lea ecx, [ebp - 0x4f8]
call fcn.00404280
xor edx, edx
mov word [ebp - 0x494], dx
push 0x206
push 0
lea eax, [ebp - 0x492]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.00405ff0
push eax
call fcn.0044a6b0
add esp, 8
push 0x50
call fcn.0047b43a
add esp, 4
mov dword [ebp - 0x544], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x544], 0
je 0x406ae2
mov ecx, dword [ebp - 0x544]
call fcn.00459160
mov dword [ebp - 0x55c], eax
jmp 0x406aec
mov dword [ebp - 0x55c], 0
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x540], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x284], eax
push 0x549da0
lea ecx, [ebp - 0x518]
call fcn.00401280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
push ecx
lea edx, [ebp - 0x280]
push edx
call fcn.0044ee80
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
call fcn.00401280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.0044ee80
add esp, 8
mov byte [ebp - 4], 5
push 0x549da8
lea ecx, [ebp - 0x534]
call fcn.00405f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4cc]
call fcn.00404140
mov byte [ebp - 4], 7
push 0x549db4
lea ecx, [ebp - 0x4cc]
call fcn.00405fd0
lea ecx, [ebp - 0x248]
call fcn.00405ff0
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00405fd0
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 0x284]
call fcn.004593c0
push 0x549db8
lea ecx, [ebp - 0x4cc]
call fcn.00405fd0
lea ecx, [ebp - 0x280]
call fcn.00405ff0
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00405fd0
lea ecx, [ebp - 0x4cc]
push ecx
mov ecx, dword [ebp - 0x284]
call fcn.004593c0
push 0x549dc0
lea ecx, [ebp - 0x4f8]
call fcn.00405ff0
push eax
mov ecx, dword [ebp - 0x284]
call fcn.00459560
mov ecx, dword [ebp - 0x284]
call fcn.00459620
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00404120
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00404470
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x406c45
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x548], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x4d4]
push edx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x4dc], 0
mov byte [ebp - 0x4f9], 0
mov dword [ebp - 0x538], 0
jmp 0x406ca4
mov eax, dword [ebp - 0x538]
add eax, 1
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp - 0x18]
call fcn.00404470
cmp dword [ebp - 0x538], eax
jae 0x406ce1
mov ecx, dword [ebp - 0x538]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0045d9c0
mov dl, byte [eax]
mov byte [ebp - 0x539], dl
mov eax, dword [ebp - 0x4d4]
add eax, dword [ebp - 0x538]
mov cl, byte [ebp - 0x539]
mov byte [eax], cl
jmp 0x406c95
cmp dword [ebp - 0x284], 0
je 0x406d3b
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x54c], eax
cmp dword [ebp - 0x54c], 0
je 0x406d27
push 1
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x560], eax
jmp 0x406d31
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4d8], 1
cmp dword [ebp - 0x4d4], 0
je 0x406d70
mov ecx, dword [ebp - 0x4d4]
push ecx
mov ecx, dword [ebp - 0x558]
call fcn.00406e10
mov dword [ebp - 0x4d8], eax
cmp dword [ebp - 0x4d8], 0
setne dl
mov byte [ebp - 0x551], dl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4cc]
call fcn.00412760
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x534]
call fcn.00405fb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00405fb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00406040
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x280]
call fcn.00405fb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x518]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.00405fb0
mov al, byte [ebp - 0x551]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4