Function at 0x459e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9b6d
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.00465c40
mov eax, dword [0x4d8368]
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 esi, ecx
mov dword [ebp - 0x10d0], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0x10c0], eax
lea eax, [ebp - 0x1088]
push eax
mov dword [ebp - 0x10d4], edi
mov dword [ebp - 0x10cc], ebx
mov byte [ebp - 0x10b9], 1
call fcn.00457240
lea eax, [ebp - 0x1088]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.004590d0
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.00457150
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0047ce40
add esp, 0x24
cmp dword [esi + 0x28], 0
je 0x45a177
cmp byte [esi + 0x38], 0
je 0x45a081
push dword [ebp - 0x10c0]
lea ecx, [ebp - 0x1040]
call fcn.00401960
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
mov edx, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1040]
cmovae eax, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c4], eax
lea edi, [ebp - 0x1040]
mov eax, dword [ebp - 0x1030]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x459f9f
mov esi, dword [ebp - 0x10c4]
mov ebx, eax
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.0048d6fa
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, ebx
jne 0x459f82
mov ebx, dword [ebp - 0x10cc]
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.00457240
push eax
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 4
push eax
call fcn.004590d0
push eax
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 5
push eax
call fcn.00457150
add esp, 0x18
lea ecx, [ebp - 0x10a0]
call fcn.00409d90
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00409d90
mov esi, dword [ebp - 0x10d0]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x45a002
mov eax, dword [eax]
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x1070]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1070]
cmp dword [ebx + 0x14], 8
jb 0x45a020
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x4ad708
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 0x45a043
mov edi, dword [ebp - 0x10d4]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402e10
lea ecx, [ebp - 0x1070]
call fcn.00402320
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 2
call fcn.00402320
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x45a0f5
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x45a093
mov eax, dword [eax]
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x45a0b1
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x4ad708
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 0x45a0d4
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402e10
mov eax, dword [edi + 0x10]
mov byte [ebp - 0x10b9], 1
test eax, eax
jne 0x45a177
mov byte [ebp - 0x10b9], 1
cmp byte [esi + 0x38], al
jne 0x45a177
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x45a117
mov eax, dword [eax]
mov edx, dword [ebp - 0x10c0]
cmp dword [edx + 0x14], 8
jb 0x45a125
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x45a12f
mov ecx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x4ad708
push edx
push ecx
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 0x45a152
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402e10
mov byte [ebp - 0x10b9], 0
cmp dword [edi + 0x10], 0
jne 0x45a1f2
cmp dword [esi + 0x10], 0
je 0x45a1f2
cmp dword [esi + 0x14], 8
jb 0x45a18b
mov esi, dword [esi]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x45a1a7
mov ebx, dword [ebx]
push esi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x4ad708
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea ecx, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45a1d0
sub edx, ecx
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00402e10
mov bl, 1
jmp 0x45a1f8
mov bl, byte [ebp - 0x10b9]
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x45a238
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a22e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a300
push edx
push ecx
call fcn.00464df3
add esp, 8
mov edx, dword [ebp - 0x1044]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 0x10
jb 0x45a28f
mov ecx, dword [ebp - 0x1058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a285
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a300
push edx
push ecx
call fcn.00464df3
add esp, 8
mov edx, dword [ebp - 0x1074]
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
cmp edx, 0x10
jb 0x45a2e0
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a2d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a300
push edx
push ecx
call fcn.00464df3
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.00465060
mov esp, ebp
pop ebp
ret 0xc
call fcn.00485d39
int3