Function at 0x413620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599661
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x864], ebx
push eax
mov dword [ebp - 0x860], esi
call fcn.004505e8
add esp, 0xc
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x858]
call fcn.0040cde0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x828]
push eax
push esi
push ebx
lea eax, [ebp - 0x840]
push 0x5a1790
push eax
call fcn.0044ba31
add esp, 0x14
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
mov ebx, dword [ebp - 0x82c]
lea esi, [ebp - 0x840]
cmovae ecx, dword [ebp - 0x828]
cmp ebx, 8
mov edi, dword [ebp - 0x830]
cmovae esi, dword [ebp - 0x840]
mov byte [ebp - 4], 2
cmp edi, dword [ebp - 0x818]
jne 0x4137a8
mov edx, edi
test edx, edx
je 0x413725
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4137a8
add ecx, 2
sub edx, 1
jne 0x413710
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0056f980
mov ecx, dword [ebp - 0x85c]
add esp, 0xc
add ecx, 0xd4
cmp dword [ecx + 0x14], 8
jb 0x41374f
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push dword [ebp - 0x860]
push dword [ebp - 0x864]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413790
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
jmp 0x4137b9
cmp ebx, 8
lea eax, [ebp - 0x840]
push edi
cmovae eax, dword [ebp - 0x840]
push eax
lea ecx, [ebp - 0x858]
call fcn.00411630
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00573cbe
mov edx, dword [ebp - 0x82c]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x413824
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41381a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4138fa
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x844]
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp edx, 8
jb 0x413881
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4138ff
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x814]
xor eax, eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
cmp edx, 8
jb 0x4138da
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4138d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413904
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 0xc
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
int3