Function at 0x415b90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ebce
mov eax, dword fs:[0]
push eax
mov eax, 0x10d8
call fcn.00420700
mov eax, dword [0x46b238]
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 - 0x10c8], 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 - 0x10cc], eax
lea eax, [ebp - 0x10b8]
push esi
push eax
mov dword [ebp - 0x10d4], ebx
mov dword [ebp - 0x10d8], esi
call fcn.00410ef0
lea eax, [ebp - 0x10b8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00414570
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.00410cd0
add esp, 0x18
push esi
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 2
call fcn.004017f0
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 - 0x10c0], 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 0x415ca3
mov esi, dword [ebp - 0x10c0]
mov ebx, eax
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.0042895f
mov word [edi + esi], ax
add esp, 4
add edi, 2
cmp edi, ebx
jne 0x415c86
mov ebx, dword [ebp - 0x10d4]
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.00410ef0
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 4
push eax
call fcn.00414570
add esp, 0x10
mov edx, dword [ebp - 0x1074]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x415d08
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415cfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4161d3
push edx
push ecx
call fcn.00420143
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.00422080
mov edi, dword [ebp - 0x10c8]
add esp, 0xc
cmp dword [edi + 0x14], 0
je 0x415f8e
cmp byte [edi + 0x3e], 0
jne 0x415f8e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x46d5cc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x46d118]
cmp eax, dword [ecx + 4]
jg 0x4161d8
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x415e79
push ebx
lea eax, [ebp - 0x10e4]
mov ecx, 0x46d110
push eax
call fcn.00408b90
mov eax, dword [ebp - 0x10dc]
cmp byte [eax + 0xd], 0
jne 0x415e79
cmp dword [eax + 0x24], 8
lea ecx, [eax + 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10c8], edx
jb 0x415db4
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x10c0], ebx
jb 0x415dc8
mov eax, dword [ebx]
mov dword [ebp - 0x10c0], eax
cmp edx, esi
mov eax, esi
cmovb eax, edx
push eax
push ecx
push dword [ebp - 0x10c0]
call fcn.00403280
add esp, 0xc
test eax, eax
jne 0x415df6
mov eax, dword [ebp - 0x10c8]
cmp eax, esi
jbe 0x415df2
or eax, 0xffffffff
jmp 0x415df6
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
jne 0x415e79
mov eax, dword [ebp - 0x10dc]
cmp eax, dword [0x46d110]
je 0x415e79
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x415e16
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10d8]
cmp dword [ecx + 0x14], 8
jb 0x415e24
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 8
jb 0x415e2c
mov ebx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x451600
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x415e50
sub edx, ecx
lea eax, [ebp - 0x1010]
mov ecx, dword [ebp - 0x10bc]
sar edx, 1
push edx
push eax
call fcn.00403170
xor bl, bl
jmp 0x416019
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x10a0]
push eax
lea esi, [edi + 4]
call fcn.00410cd0
add esp, 8
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 8
jb 0x415e9e
mov esi, dword [esi]
cmp dword [ebp - 0x108c], 8
lea eax, [ebp - 0x10a0]
mov ecx, ebx
cmovae eax, dword [ebp - 0x10a0]
cmp dword [ebx + 0x14], 8
jb 0x415ebc
mov ecx, dword [ebx]
push esi
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x451600
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 0x415ee0
mov esi, dword [ebp - 0x10bc]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403170
cmp dword [esi + 0x10], 0
jne 0x415f74
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x415f15
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 0x415f33
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x451600
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 0x415f56
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403170
mov eax, dword [ebp - 0x10cc]
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 6
mov byte [eax], 1
call fcn.00401fd0
jmp 0x415f94
mov esi, dword [ebp - 0x10bc]
cmp dword [esi + 0x10], 0
jne 0x416017
cmp dword [edi + 0x2c], 0
je 0x416017
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x415fab
mov eax, dword [eax]
cmp dword [ebp - 0x102c], 8
lea ecx, [ebp - 0x1040]
cmovae ecx, dword [ebp - 0x1040]
cmp dword [ebx + 0x14], 8
jb 0x415fc7
mov ebx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x451600
push ecx
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 0x415ff0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403170
mov eax, dword [ebp - 0x10cc]
mov byte [eax], 0
mov bl, 1
mov edx, dword [ebp - 0x1044]
cmp edx, 0x10
jb 0x416053
mov ecx, dword [ebp - 0x1058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416049
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416226
push edx
push ecx
call fcn.00420143
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 0x4160ae
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4160a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416226
push edx
push ecx
call fcn.00420143
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 0x41610b
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416226
push edx
push ecx
call fcn.00420143
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 0x416162
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416158
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416226
push edx
push ecx
call fcn.00420143
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 0x4161b3
mov ecx, dword [ebp - 0x10b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4161a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416226
push edx
push ecx
call fcn.00420143
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.004203b0
mov esp, ebp
pop ebp
ret 0x10
call fcn.00424aaf
push 0x46d118
call fcn.00420514
add esp, 4
cmp dword [0x46d118], 0xffffffff
jne 0x415d73
push 0x46d110
lea ecx, [ebp - 0x10c1]
mov byte [ebp - 4], 7
call fcn.0040fc90
push 0x44ffb0
call fcn.0042039b
push 0x46d118
mov byte [ebp - 4], 6
call fcn.004204ca
add esp, 8
jmp 0x415d73
call fcn.00424aaf
int3