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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65c569
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
push ebx
call fcn.005e1830
mov eax, dword [ebx]
xor ebp, ebp
add esp, 4
cmp eax, ebp
jne 0x5e21ad
push 0x2c
call fcn.00492dd0
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov dword [esp + 0x74], ebp
je 0x5e21a1
mov ecx, eax
call fcn.004ad690
jmp 0x5e21a3
xor eax, eax
mov dword [esp + 0x74], 0xffffffff
mov dword [ebx], eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
call fcn.005e1d40
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x5e220d
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x14]
cmp esi, ebp
je 0x5e21e0
mov esi, dword [esi]
mov ecx, dword [ebx]
push esi
call fcn.004ad740
cmp esi, ebp
jne 0x5e21d2
mov esi, dword [ebx]
cmp esi, ebp
je 0x5e21f6
mov ecx, esi
call fcn.004ad6b0
push esi
call fcn.00492e10
add esp, 4
mov dword [ebx], ebp
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov dword [esp + 0x10], ebp
push 0x28
mov dword [esp + 0x78], 1
call fcn.00492dd0
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebp
mov byte [esp + 0x74], 2
je 0x5e223d
mov ecx, edi
call int.004b63a0
mov eax, edi
jmp 0x5e223f
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [eax + 0x24], 1
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
fld dword [esi + 0xc]
mov eax, dword [edx + 0x1c]
mov edx, dword [esi + 0x18]
fadd dword [esi + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ecx
mov dword [esp + 0x38], ebp
fchs
fstp dword [esp]
lea ebp, [esi + 0x24]
push 0
mov ecx, ebp
mov byte [esp + 0x84], 4
mov dword [esp + 0x38], edx
call fcn.004aa450
fld dword [esi + 0x34]
fld dword [esp + 0x1c]
fsub st(1)
mov edx, dword [0x6a3a44]
push ebp
mov eax, edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], eax
fstp dword [esp + 0x20]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
fstp st(0)
fld dword [esi + 0x38]
fld dword [esp + 0x28]
fsub st(1)
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
fstp dword [esp + 0x28]
fstp st(0)
call fcn.004aa600
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x58]
mov dword [edi + 0x14], edx
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x1c], ecx
lea ecx, [esp + 0x10]
fld dword [esi + 0x1c]
fmul dword [edi + 0x10]
fmul dword [0x679648]
fstp dword [edi + 0x10]
fld dword [esi + 0x1c]
fmul dword [edi + 0x18]
fmul dword [0x679648]
fstp dword [edi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [edi + 8], edx
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov edi, dword [esi + 0x44]
call fcn.004aed50
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
fild qword [esp + 0x40]
fmul dword [0x670248]
fstp dword [esp + 0x48]
mov edx, eax
mov dword [esp + 0x44], ebp
shr edx, 8
and edx, 0xff
mov dword [esp + 0x40], edx
fild qword [esp + 0x40]
shr eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
fmul dword [0x670248]
lea eax, [esp + 0x48]
push eax
push 2
fstp dword [esp + 0x54]
fild qword [esp + 0x48]
fmul dword [0x670248]
fstp dword [esp + 0x58]
call fcn.004c67b0
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call fcn.004b6210
cmp dword [esp + 0x38], ebp
jle 0x5e24f9
cmp ebp, dword [esp + 0x3c]
jl 0x5e243e
push 0x44
call fcn.00492dd0
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov byte [esp + 0x74], 5
je 0x5e23eb
mov ecx, eax
call fcn.004ac6d0
mov edi, eax
jmp 0x5e23ed
xor edi, edi
mov ecx, dword [ebx]
push edi
mov byte [esp + 0x78], 4
mov eax, dword [ecx + 0x18]
push eax
call fcn.004ad710
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5e2416
inc dword [eax + 0x24]
mov ecx, edi
call fcn.004ad290
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5e2435
inc dword [eax + 0x18]
mov ecx, edi
call fcn.005e1600
jmp 0x5e244b
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, edi
mov eax, dword [edx + ebp*8]
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x48], eax
call fcn.004ad330
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ebp*8 + 4]
test ecx, ecx
jne 0x5e249f
push 0xffffffffffffffff
push 0x6d2bf8
lea ecx, [esp + 0x38]
call fcn.00498950
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov byte [esp + 0x78], 6
call fcn.004acc60
mov byte [esp + 0x74], 4
lea ecx, [esp + 0x30]
jmp 0x5e24cf
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.004990d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 7
push ecx
mov ecx, edi
call fcn.004acc60
mov byte [esp + 0x74], 4
lea ecx, [esp + 0x34]
call fcn.004a1980
fld dword [esp + 0x1c]
fadd dword [esp + 0x20]
mov eax, dword [esp + 0x38]
inc ebp
cmp ebp, eax
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jl 0x5e23c3
mov eax, dword [0x745a4c]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [ebx]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x14]
push edx
call fcn.0061334c
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx]
add esp, 4
test eax, eax
je 0x5e2566
mov edx, dword [eax + 0x18]
dec edx
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jg 0x5e2566
mov esi, eax
test eax, eax
mov dword [esp + 0x40], esi
je 0x5e2566
lea ecx, [eax + 0xc]
mov byte [esp + 0x74], 8
call fcn.004c6dd0
mov ecx, esi
mov byte [esp + 0x74], 1
call fcn.004c6dd0
push esi
call fcn.00492e10
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
test eax, eax
je 0x5e2591
mov edx, dword [eax + 0x24]
dec edx
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jg 0x5e2591
push eax
call fcn.00492e10
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret