Function at 0x401230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd22
mov eax, dword fs:[0]
push eax
mov eax, 0x116c
call fcn.00445510
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1168], ecx
lea ecx, [ebp - 0x30]
call fcn.00426f8f
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1168]
call fcn.004010a0
lea ecx, [ebp - 0x14]
call fcn.00402690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401cb0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], 0
jmp 0x4012c6
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x10]
jge 0x401514
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.004025b0
push eax
lea ecx, [ebp - 0x14]
call fcn.004026f0
mov byte [ebp - 0x103c], 0
push 0xfff
push 0
lea ecx, [ebp - 0x103b]
push ecx
call fcn.00445490
add esp, 0xc
mov ecx, dword [ebp - 0x1168]
add ecx, 0x14
call fcn.00402770
push eax
push 0x1000
lea edx, [ebp - 0x103c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x1158]
call fcn.004016c0
mov byte [ebp - 4], 3
mov byte [ebp - 0x1144], 0
push 0x103
push 0
lea eax, [ebp - 0x1143]
push eax
call fcn.00445490
add esp, 0xc
mov dword [ebp - 0x115c], 0
jmp 0x401375
mov ecx, dword [ebp - 0x115c]
add ecx, 1
mov dword [ebp - 0x115c], ecx
cmp dword [ebp - 0x115c], 0x1000
jge 0x401500
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x115c]
mov cl, byte [ebp + eax - 0x103c]
mov byte [ebp + edx - 0x1144], cl
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x115c]
movsx ecx, byte [ebp + eax - 0x103c]
test ecx, ecx
je 0x4013b9
jmp 0x401366
lea edx, [ebp - 0x1144]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402710
push 0
push 0x4646d8
lea ecx, [ebp - 0x18]
call fcn.00401940
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x4014b5
mov byte [ebp - 0x1150], 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1160]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401a40
mov dword [ebp - 0x116c], eax
mov edx, dword [ebp - 0x116c]
mov dword [ebp - 0x1170], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1170]
push eax
lea ecx, [ebp - 0x1158]
call fcn.004026f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1160]
call fcn.004026d0
lea ecx, [ebp - 0x18]
call fcn.00402750
sub eax, 1
sub eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1164]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004019c0
mov dword [ebp - 0x1174], eax
mov edx, dword [ebp - 0x1174]
mov dword [ebp - 0x1178], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1178]
push eax
lea ecx, [ebp - 0x1154]
call fcn.004026f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1164]
call fcn.004026d0
mov dword [ebp - 0x1148], 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x114c]
call fcn.004026f0
lea edx, [ebp - 0x1158]
push edx
mov ecx, dword [ebp - 0x1168]
call fcn.00401cd0
push 0x104
push 0
lea eax, [ebp - 0x1144]
push eax
call fcn.00445490
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, dword [ebp - 0x115c]
movsx edx, byte [ebp + ecx - 0x103c]
mov eax, dword [ebp - 0x115c]
movsx ecx, byte [ebp + eax - 0x103b]
cmp edx, ecx
jne 0x4014fb
jmp 0x401500
jmp 0x401366
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1158]
call fcn.004016f0
jmp 0x4012bd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004272b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret