Function at 0x45ee30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a8f9
mov eax, dword fs:[0]
push eax
mov eax, 0x10d8
call fcn.004cba10
mov eax, dword [0x718924]
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 - 0x10d4], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10bc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10c4], eax
lea eax, [ebp - 0x10b8]
push esi
push eax
mov dword [ebp - 0x10d0], ebx
mov dword [ebp - 0x10d8], esi
call fcn.0045ae70
lea eax, [ebp - 0x10b8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0045e2a0
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.0045ab70
add esp, 0x18
push esi
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 2
call fcn.00451440
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
mov edx, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1028]
cmovae eax, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c8], eax
lea edi, [ebp - 0x1028]
mov eax, dword [ebp - 0x1018]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x45ef43
mov esi, dword [ebp - 0x10c8]
mov ebx, eax
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.004e6d11
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, ebx
jne 0x45ef26
mov ebx, dword [ebp - 0x10d0]
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.0045ae70
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 4
push eax
call fcn.0045e2a0
add esp, 0x10
mov edx, dword [ebp - 0x1074]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x45efa8
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45ef9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f423
push edx
push ecx
call fcn.004cb4db
add esp, 8
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1078], 0
push 0
push eax
mov dword [ebp - 0x1074], 0xf
mov byte [ebp - 0x1088], 0
call fcn.004e30c0
mov esi, dword [ebp - 0x10d4]
add esp, 0xc
cmp dword [esi + 0x14], 0
je 0x45f1de
cmp byte [esi + 0x3e], 0
jne 0x45f1de
mov eax, dword fs:[0x2c]
mov ecx, dword [0x72249c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x720960]
cmp eax, dword [ecx + 4]
jg 0x45f428
cmp dword [ebx + 0x10], 0
je 0x45f0c9
push ebx
lea eax, [ebp - 0x10e4]
mov ecx, 0x720958
push eax
call fcn.0044fc50
mov edi, dword [ebp - 0x10dc]
cmp byte [edi + 0xd], 0
jne 0x45f0c9
lea eax, [edi + 0x10]
mov ecx, 0x720958
push eax
push ebx
call fcn.00452da0
test al, al
jne 0x45f0c9
cmp edi, dword [0x720958]
je 0x45f0c9
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x45f065
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10d8]
cmp dword [ecx + 0x14], 8
jb 0x45f073
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 8
jb 0x45f07b
mov ebx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x674944
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea ecx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45f0a0
sub edx, ecx
lea eax, [ebp - 0x1010]
mov ecx, dword [ebp - 0x10bc]
sar edx, 1
push edx
push eax
call fcn.0044e920
xor bl, bl
jmp 0x45f269
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x10a0]
push eax
lea edi, [esi + 4]
call fcn.0045ab70
add esp, 8
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 8
jb 0x45f0ee
mov edi, dword [edi]
cmp dword [ebp - 0x108c], 8
lea eax, [ebp - 0x10a0]
mov ecx, ebx
cmovae eax, dword [ebp - 0x10a0]
cmp dword [ebx + 0x14], 8
jb 0x45f10c
mov ecx, dword [ebx]
push edi
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x674944
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f130
mov edi, dword [ebp - 0x10bc]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044e920
cmp dword [edi + 0x10], 0
jne 0x45f1c4
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x45f165
mov eax, dword [eax]
cmp dword [ebp - 0x102c], 8
lea ecx, [ebp - 0x1040]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1040]
cmp dword [ebx + 0x14], 8
jb 0x45f183
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x674944
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f1a6
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044e920
mov eax, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 6
mov byte [eax], 1
call fcn.00448fb0
jmp 0x45f1e4
mov edi, dword [ebp - 0x10bc]
cmp dword [edi + 0x10], 0
jne 0x45f267
cmp dword [esi + 0x2c], 0
je 0x45f267
add esi, 0x1c
cmp dword [esi + 0x14], 8
jb 0x45f1fb
mov esi, dword [esi]
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1040]
cmp dword [ebx + 0x14], 8
jb 0x45f217
mov ebx, dword [ebx]
push esi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x674944
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f240
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044e920
mov eax, dword [ebp - 0x10c4]
mov byte [eax], 0
mov bl, 1
mov edx, dword [ebp - 0x1044]
cmp edx, 0x10
jb 0x45f2a3
mov ecx, dword [ebp - 0x1058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f299
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f476
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
cmp edx, 8
jb 0x45f2fe
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f2f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f476
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x102c]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 8
jb 0x45f35b
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f351
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f476
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x105c]
xor eax, eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
cmp edx, 0x10
jb 0x45f3b2
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f3a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f476
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x10a4]
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
cmp edx, 0x10
jb 0x45f403
mov ecx, dword [ebp - 0x10b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f3f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f476
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov al, bl
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.004cb998
mov esp, ebp
pop ebp
ret 0x10
call fcn.004e6589
push 0x720960
call fcn.004cb872
add esp, 4
cmp dword [0x720960], 0xffffffff
jne 0x45f013
push 0x720958
lea ecx, [ebp - 0x10bd]
mov byte [ebp - 4], 7
call fcn.00452be0
push 0x672a50
call fcn.004cb72a
push 0x720960
mov byte [ebp - 4], 6
call fcn.004cb828
add esp, 8
jmp 0x45f013
call fcn.004e6589
int3