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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00408116
lea edi, [ebx + 0x28]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x34]
push edx
lea ecx, [ebx + 0x48]
call fcn.00407d4c
mov eax, dword [ebx + 0x38]
push eax
lea ecx, [ebx + 0x78]
call fcn.00407d4c
xor edi, edi
push edi
push 0x20
lea ecx, [ebx + 0xa8]
call fcn.0040e0e3
push 2
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x204], edi
call fcn.0040b398
push 0x50
push 0x1f0
lea ecx, [ebx + 0xa8]
call fcn.0040475a
fld dword [0x657988]
push edi
fst dword [ebx + 0xb4]
lea ecx, [ebx + 0x220]
fstp dword [ebx + 0xb8]
push ecx
push 0x3c
mov ecx, 0x7b40c0
mov dword [ebx + 0x2b4], edi
mov dword [ebx + 0x2b8], edi
call fcn.00404bf1
push edi
lea edx, [ebx + 0x240]
push edx
push 0x3d
mov ecx, 0x7b40c0
call fcn.00404bf1
push edi
lea eax, [ebx + 0x260]
push eax
push 0x3e
mov ecx, 0x7b40c0
call fcn.00404bf1
push edi
lea ecx, [ebx + 0x280]
push ecx
push 0x4c
mov ecx, 0x7b40c0
call fcn.00404bf1
fld dword [0x65794c]
mov edx, dword [ebx + 0x3c]
fstp dword [ebx + 0x2a4]
fld dword [0x657948]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
fstp dword [ebx + 0x2a8]
fld1
mov dword [esp + 0x3c], edx
fst dword [ebx + 0x2ac]
mov dword [esp + 0x40], eax
fstp dword [ebx + 0x2b0]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x3c]
mov esi, dword [0x7eaedc]
fld st(0)
fld qword [0x651558]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x10]
fld st(1)
fadd st(1)
fst qword [esp + 0x28]
fld st(0)
fld qword [0x64cf00]
fsub st(1), st(0)
fxch st(1)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
fld dword [esp + 0x44]
test ah, 0x41
jp 0x5ed124
fstp st(5)
fstp st(2)
fld st(3)
fsub st(3)
fstp dword [esp + 0x18]
fxch st(3)
faddp st(2)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
jmp 0x5ed082
fstp st(1)
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x3c]
lea eax, [esp + 0x34]
push eax
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x64cf00]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x5ed080
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x3c]
fld qword [0x651558]
fld qword [esp + 0x28]
fxch st(2)
fxch st(4)
fxch st(1)
fxch st(3)
fld st(0)
fsub st(4)
fstp dword [esp + 0x10]
fld st(0)
faddp st(4)
fxch st(3)
fsub st(1)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5ed1e4
fstp st(4)
fstp st(2)
fsubrp st(1)
fstp dword [esp + 0x1c]
jmp 0x5ed12a
fstp st(1)
jmp 0x5ed0f1
fstp st(1)
fld dword [esp + 0x14]
push 2
lea ecx, [esp + 0x34]
fstp dword [esp + 0x34]
push ecx
push edi
fstp dword [esp + 0x44]
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x64cf00]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x5ed128
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x3c]
fxch st(2)
fld st(2)
fld qword [0x65edf0]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x10]
fadd st(3), st(0)
fxch st(3)
fst qword [esp + 0x20]
fld st(0)
fsub st(2)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5ed2e1
fstp st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x1c]
fxch st(2)
faddp st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
jmp 0x5ed1f2
fstp st(0)
fstp st(1)
jmp 0x5ed191
fstp st(1)
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x18]
push 2
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x64cf00]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x5ed1f0
fstp st(0)
fld dword [esp + 0x44]
fld qword [0x65edf0]
fld qword [esp + 0x20]
fxch st(1)
fxch st(3)
fxch st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x10]
fxch st(2)
faddp st(3)
fsub st(2), st(0)
fxch st(2)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5ed2e8
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
push 2
lea edx, [esp + 0x34]
fstp dword [esp + 0x34]
push edx
push edi
fstp dword [esp + 0x44]
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fadd qword [0x64cf00]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x5ed288
jmp 0x5ed2ec
fstp st(0)
jmp 0x5ed25b
fstp st(2)
fstp st(1)
mov ecx, dword [ebx + 0x34]
fstp st(0)
push ecx
mov ecx, 0x7b4d40
call fcn.00401c58
mov edx, dword [ebx + 0x38]
push edx
mov ecx, 0x7b4d40
mov esi, eax
call fcn.00401c58
mov ebx, eax
cmp esi, edi
je 0x5ed32b
mov ecx, esi
call fcn.00406c99
cmp al, 0x15
jne 0x5ed32b
push edi
push 0x15
push esi
mov ecx, 0x7b71ec
call fcn.0040f5b0
cmp ebx, edi
je 0x5ed348
mov ecx, ebx
call fcn.00406c99
cmp al, 0x15
jne 0x5ed348
push edi
push 0x15
push ebx
mov ecx, 0x7b71ec
call fcn.0040f5b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc