Function at 0x48c620
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5a6ee4
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x278]
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x274], ebx
mov eax, dword [esp + 0x280]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov dword [esp + 0x20], ebx
mov esi, esp
mov dword [esp + 0x44], eax
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0x48]
push eax
mov dword [esp + 0x64], eax
call fcn.0048fcf0
lea edi, [ebp + 0x160]
lea eax, [esp + 0x27c]
call fcn.004035d0
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x5bcc3c
call fcn.00404460
cmp dword [esp + 0x284], ebx
mov byte [esp + 0x270], 1
je 0x48c6f5
lea edx, [ebp + 0xdf4]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.FrameConfig_tmp.ini
call fcn.00412480
add esp, 8
mov byte [esp + 0x270], 2
jmp 0x48c716
lea ecx, [ebp + 0xdf4]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.FrameConfig.ini
call fcn.00412480
add esp, 8
mov byte [esp + 0x270], 3
lea edi, [esp + 0x24]
call fcn.004035d0
mov byte [esp + 0x270], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x208
lea ecx, [esp + 0x60]
push 0
push ecx
call fcn.00580260
add esp, 0xc
cmp dword [esp + 0x280], 0
jne 0x48c785
mov edx, dword [esp + 0x24]
push edx
push 0x104
lea eax, [esp + 0x64]
push eax
push 0x5bcc3c
push 0x5c5fc0
push str.cand
jmp 0x48c7a3
mov ecx, dword [esp + 0x24]
push ecx
push 0x104
lea edx, [esp + 0x64]
push edx
push 0x5bcc3c
push 0x5c5fc0
push str.status
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
call fcn.00404460
mov byte [esp + 0x270], 4
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x48ca9d
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
xor esi, esi
add eax, 1
mov edx, dword [ecx - 0xc]
js 0x48c818
cmp eax, edx
jge 0x48c818
lea ecx, [ecx + eax*2]
push 0x2c
push ecx
call fcn.00578331
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x48c818
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x48c818
mov dword [esp + esi*4 + 0x40], eax
add esi, 1
cmp esi, 3
jl 0x48c7e1
cmp esi, 3
jne 0x48ca9d
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
mov eax, esi
xor ecx, ecx
lea edx, [esp + 0x1c]
call fcn.00403eb0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.00578bf9
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c86a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
mov eax, esi
lea edx, [esp + 0x1c]
call fcn.00403eb0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.00578bf9
mov ebx, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c8b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push edx
mov eax, esi
lea edx, [esp + 0x1c]
call fcn.00403eb0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.00578bf9
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x34], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c902
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
lea esi, [esp + 0x54]
lea edx, [esp + 0x1c]
call fcn.00403540
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.00578bf9
mov esi, eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x38], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c947
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x1c8], 0
je 0x48ca8c
mov ecx, dword [ebp + 0x1bc]
sub ecx, dword [ebp + 0x1b4]
je 0x48ca8c
mov ecx, dword [esp + 0x2c]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x18], eax
je 0x48ca8c
mov edx, dword [ebp + 0x1c0]
sub edx, dword [ebp + 0x1b8]
mov eax, dword [ebp + 0x1bc]
sub eax, dword [ebp + 0x1b4]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, esi
sub eax, ebx
mov dword [esp + 0x20], eax
fdivp st(1)
fstp dword [esp + 0x50]
fild dword [esp + 0x20]
fidiv dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fcomp qword [0x5d1358]
fnstsw ax
test ah, 0x41
jne 0x48ca88
fcomp st(1)
mov ebp, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
fnstsw ax
fldz
fcomp st(1)
test ah, 5
fnstsw ax
jp 0x48ca20
test ah, 5
jp 0x48ca3a
fidivr dword [esp + 0x20]
fiadd dword [esp + 0x2c]
call fcn.005999a0
mov edi, eax
mov dword [esp + 0x34], edi
jmp 0x48ca3c
test ah, 5
jp 0x48ca3a
fimul dword [esp + 0x18]
fiadd dword [esp + 0x30]
call fcn.005999a0
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x48ca3c
fstp st(0)
mov eax, dword [esp + 0x48]
mov ecx, edi
sub ecx, dword [esp + 0x2c]
sub eax, ebp
cmp eax, ecx
jle 0x48ca63
sub eax, edi
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
add eax, ebp
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x4c]
mov ecx, esi
sub eax, ebx
sub ecx, ebx
cmp eax, ecx
jle 0x48ca8c
sub eax, esi
add eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
add ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
jmp 0x48ca8c
fstp st(1)
fstp st(0)
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x2c]
call fcn.00490880
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
mov byte [esp + 0x270], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cae9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x270], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cb11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.005787fd
add esp, 0x260
ret 0x10