Function at 0x561240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dbf32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
push edi
mov esi, dword [ecx + eax*4 - 4]
mov dword [esp + 0x40], esi
fld qword [esi + 0x50]
fdiv qword [esi + 0x58]
fcomp qword [0x5f0b18]
fnstsw ax
test ah, 0x41
je 0x56152e
mov ecx, esi
call fcn.0050b020
push eax
lea ecx, [esp + 0x24]
call fcn.004b6cb0
fld qword [ebx + 0x38]
fmul qword [0x5e2790]
fld qword [esp + 0x20]
mov eax, dword [ebx + 0x44]
lea edx, [esp + 0x20]
fsub st(1)
xor edi, edi
push edx
mov dword [esp + 0x2f4], edi
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fsub st(1)
fstp qword [esp + 0x2c]
fld qword [esp + 0x34]
fadd st(1)
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fadd st(1)
fstp qword [esp + 0x3c]
mov ecx, dword [eax]
fstp st(0)
call fcn.0050b020
push eax
call fcn.004b6bc0
add esp, 8
lea ecx, [esp + 0x90]
call fcn.0050ad00
lea ecx, [esp + 0x20]
mov byte [esp + 0x2f0], 1
call fcn.004b71f0
fstp qword [esp + 0x44]
mov ecx, esi
call fcn.0050b080
fsubr qword [esp + 0x44]
lea ecx, [esp + 0x20]
fstp qword [esp + 0x98]
call fcn.004b7040
fstp qword [esp + 0xb8]
lea ecx, [esp + 0x20]
call fcn.004b7060
fstp qword [esp + 0xc0]
lea ecx, [esp + 0x50]
call fcn.0056b6a0
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x2f0], 2
call fcn.0058dea0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x1a8]
push ecx
lea ecx, [esp + 0x24]
lea eax, [ebx + 0x40]
push edx
push ecx
push eax
push 0x3f847ae1
push 0x47ae147b
mov byte [esp + 0x308], 3
mov dword [esp + 0x2c], eax
call fcn.00591fb0
add esp, 0x18
test al, al
je 0x5614e1
lea ecx, [esp + 0x100]
call fcn.00591cd0
mov eax, dword [ebx + 0x70]
mov byte [esp + 0x2f0], 4
cmp eax, edi
mov dword [esp + 0x1c], edi
jle 0x5614cd
mov dword [esp + 0x18], edi
mov edx, dword [ebx + 0x6c]
mov eax, dword [esp + 0x18]
xor ebp, ebp
lea edi, [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x34]
test eax, eax
jle 0x5614ae
mov ecx, dword [edi + 4]
fld qword [esp + 0x98]
mov esi, dword [ecx + ebp*4]
fcomp qword [esi + 0x50]
fnstsw ax
test ah, 1
jne 0x5614a2
fld qword [esp + 0xb8]
fcomp qword [esi + 0x70]
fnstsw ax
test ah, 1
jne 0x5614a2
fld qword [esp + 0xc0]
fcomp qword [esi + 0x78]
fnstsw ax
test ah, 1
jne 0x5614a2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
jne 0x5614a2
sub esp, 0x20
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call fcn.004b6cb0
mov ecx, esi
mov byte [esp + 0x310], 4
call fcn.0050b0a0
lea ecx, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x128]
call fcn.00589240
test al, al
je 0x5614a2
mov edx, dword [esp + 0x40]
push 1
push 0x58be20
push edx
lea eax, [esp + 0x174]
push 0x561170
lea ecx, [esp + 0x1b8]
push eax
push ecx
mov ecx, esi
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x11c]
call fcn.0058c0d0
test al, al
jne 0x561546
mov eax, dword [edi + 8]
inc ebp
cmp ebp, eax
jl 0x5613dd
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x70]
inc eax
add edx, 0x60
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jl 0x5613c4
lea ecx, [esp + 0x100]
mov byte [esp + 0x2f0], 3
call fcn.00591d10
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x2f0], 2
call fcn.0058df70
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f0], 1
call fcn.004b7310
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2f0], 0
call fcn.0042bd50
lea ecx, [esp + 0x20]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.0042bd50
xor al, al
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
lea eax, [esp + 0x168]
push eax
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov ebx, dword [ecx + 8]
lea edx, [ebx + 1]
push edx
call fcn.0046d900
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ecx + ebx*4], esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, ebp
dec eax
lea edx, [ecx + ebp*4]
je 0x561592
shl eax, 2
lea ecx, [ecx + ebp*4 + 4]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [edi + 8]
lea ecx, [esp + 0x100]
dec eax
mov byte [esp + 0x2f0], 3
mov dword [edi + 8], eax
call fcn.00591d10
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x2f0], 2
call fcn.0058df70
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f0], 1
call fcn.004b7310
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2f0], 0
call fcn.0042bd50
lea ecx, [esp + 0x20]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x2e8]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret