Function at 0x410670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53db93
mov eax, dword fs:[0]
push eax
sub esp, 0x490
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 - 0x494], ecx
push 0x104
push 0
lea eax, [ebp - 0x444]
push eax
call fcn.00486c20
add esp, 0xc
push 0x50
call fcn.0047b43a
add esp, 4
mov dword [ebp - 0x458], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x458], 0
je 0x4106ea
mov ecx, dword [ebp - 0x458]
call fcn.00459160
mov dword [ebp - 0x498], eax
jmp 0x4106f4
mov dword [ebp - 0x498], 0
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x454], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x25c], edx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x234], 0
push 0x103
push 0
lea eax, [ebp - 0x233]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x258]
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 0x54abc0
lea ecx, [ebp - 0x234]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x234]
push edx
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0x54abd0
push 0x54abe0
push 0x54abf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x54abfc
lea ecx, [ebp - 0x2c0]
call fcn.00405f30
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x2c0]
call fcn.00404280
push 0x54ac04
lea ecx, [ebp - 0x2c0]
call fcn.00404280
push 0x54ac08
lea ecx, [ebp - 0x2c0]
call fcn.00404280
push 0x54ac14
lea ecx, [ebp - 0x2c0]
call fcn.00404280
push str.edit_select
lea ecx, [ebp - 0x2c0]
call fcn.00404280
lea ecx, [ebp - 0x298]
call fcn.00404140
mov byte [ebp - 4], 2
push 0x54ac24
lea ecx, [ebp - 0x298]
call fcn.00405fd0
push 0x54ab85
lea ecx, [ebp - 0x254]
call fcn.00404490
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x494]
mov eax, dword [edx + 4]
push eax
push 0x54ac28
lea ecx, [ebp - 0x254]
push ecx
call fcn.00405a00
add esp, 0xc
lea ecx, [ebp - 0x254]
call fcn.00404550
push eax
lea ecx, [ebp - 0x27c]
call fcn.00405fd0
lea edx, [ebp - 0x298]
push edx
mov ecx, dword [ebp - 0x25c]
call fcn.004593c0
push 0x54ac2c
lea ecx, [ebp - 0x298]
call fcn.00405fd0
push 0x54ac34
lea ecx, [ebp - 0x27c]
call fcn.00405fd0
lea eax, [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x25c]
call fcn.004593c0
push 0
call fcn.004124c0
add esp, 4
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x2c4]
call fcn.00402870
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
push 0x54ac3c
lea eax, [ebp - 0x2c4]
push eax
call fcn.00405a00
add esp, 0x10
push 0x54ac40
lea ecx, [ebp - 0x298]
call fcn.00405fd0
lea ecx, [ebp - 0x2c4]
call fcn.00404550
push eax
lea ecx, [ebp - 0x27c]
call fcn.00405fd0
lea ecx, [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.004593c0
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x260]
call fcn.00408b80
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x260]
call fcn.00404510
push 0x54ac48
lea ecx, [ebp - 0x260]
call fcn.00404530
lea ecx, [ebp - 0x260]
call fcn.00404550
push eax
lea ecx, [ebp - 0x474]
call fcn.00405f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x334]
call fcn.00452f60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x474]
call fcn.00405fb0
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x334]
call fcn.004543b0
mov byte [ebp - 4], 7
push 0x54ac78
lea ecx, [ebp - 0x298]
call fcn.00405fd0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00404260
lea ecx, [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.004593c0
push 0x54ac80
lea ecx, [ebp - 0x2c0]
call fcn.00405ff0
push eax
mov ecx, dword [ebp - 0x25c]
call fcn.00459560
mov ecx, dword [ebp - 0x25c]
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 0x410a51
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x335], 0
mov dword [ebp - 0x448], 0
jmp 0x410ab0
mov eax, dword [ebp - 0x448]
add eax, 1
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x18]
call fcn.00404470
cmp dword [ebp - 0x448], eax
jae 0x410aed
mov ecx, dword [ebp - 0x448]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0045d9c0
mov dl, byte [eax]
mov byte [ebp - 0x449], dl
mov eax, dword [ebp - 0x2a0]
add eax, dword [ebp - 0x448]
mov cl, byte [ebp - 0x449]
mov byte [eax], cl
jmp 0x410aa1
cmp dword [ebp - 0x25c], 0
je 0x410b47
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x480], edx
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
je 0x410b33
push 1
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x47c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x49c], eax
jmp 0x410b3d
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x29c], 0
cmp dword [ebp - 0x2a0], 0
je 0x410c31
mov ecx, dword [ebp - 0x2a0]
push ecx
call fcn.00487780
add esp, 4
test eax, eax
je 0x410c31
mov edx, dword [ebp - 0x2a0]
push edx
mov ecx, dword [ebp - 0x494]
call fcn.00410e80
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x2a0], 0
je 0x410bbb
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
push ecx
call fcn.0047b474
add esp, 4
mov dword [ebp - 0x2a0], 0
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x488], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
call fcn.00405fb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.00402890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.00402890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00402890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x298]
call fcn.00412760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.00405fb0
mov eax, dword [ebp - 0x488]
jmp 0x410ccc
cmp dword [ebp - 0x2a0], 0
je 0x410c5f
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
push ecx
call fcn.0047b474
add esp, 4
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x490], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
call fcn.00405fb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.00402890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.00402890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00402890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x298]
call fcn.00412760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.00405fb0
mov eax, dword [ebp - 0x490]
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