Function at 0x406dd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
lea ecx, [ebp - 0x120]
call fcn.004112b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004112b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.004112b0
mov byte [ebp - 4], 2
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x2fd64c], 2
je 0x406e6c
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0x2fd64c], 3
je 0x406e6c
mov edx, dword [ebp - 0x14c]
cmp dword [edx + 0x2fd64c], 4
jne 0x4071f8
push 0xff
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0x49daf7
push 0x49dd50
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x114]
push edx
push 0x49dd5c
lea eax, [ebp - 0x120]
push eax
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00403da0
test eax, eax
jne 0x406f45
push 0
push 0
push 0x49dd60
mov ecx, dword [ebp - 0x14c]
call fcn.0044ea0c
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00403d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x138]
jmp 0x407238
lea ecx, [ebp - 0x120]
call fcn.00411270
push eax
call fcn.0047badb
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x14c]
call fcn.00406470
mov ecx, dword [ebp - 0x14c]
add ecx, 0x98
call fcn.0040cb20
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], 0
jmp 0x406f99
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
cmp edx, dword [ebp - 0x10]
jge 0x406ff7
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x14c]
add ecx, 0x98
call fcn.00444fe0
push eax
lea ecx, [ebp - 0x124]
call fcn.00403d40
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea edx, [ebp - 0x124]
push edx
call fcn.004112d0
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.0040a8c0
jmp 0x406f8a
push 0xff
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0x49db03
push 0x49dd74
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x114]
push eax
push 0x49dd80
lea ecx, [ebp - 0x120]
push ecx
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00403da0
test eax, eax
jne 0x4070d0
push 0
push 0
push 0x49dd84
mov ecx, dword [ebp - 0x14c]
call fcn.0044ea0c
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00403d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x140]
jmp 0x407238
lea ecx, [ebp - 0x120]
call fcn.00411270
push eax
call fcn.0047badb
add esp, 4
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd5d4
call fcn.0040eae0
mov edx, dword [ebp - 0x14c]
fldz
fstp qword [edx + 0x2fd624]
mov eax, dword [ebp - 0x14c]
fldz
fstp qword [eax + 0x2fd62c]
cmp dword [ebp - 0x12c], 1
jne 0x40714e
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 0x2fd4ac]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.0040af00
jmp 0x407166
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0x2fd4b0]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.0040af00
cmp dword [ebp - 0x130], 1
jne 0x40718f
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0x2fd4ac]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.00407260
mov dword [ebp - 0x134], eax
jmp 0x4071ad
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 0x2fd4b0]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.00407260
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4071f8
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00403d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x144]
jmp 0x407238
mov dword [ebp - 0x148], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00403d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret