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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x43f882
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x44dd70]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
push 0x405980
push 0x405a70
push 4
push 0xc
lea eax, [esp + 0x84]
push eax
call fcn.0043ceb8
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x110], 0
call fcn.00409e70
fld dword [esp + 0x74]
fld dword [esp + 0x78]
lea edx, [esp + 0x3c]
fst qword [esp + 0x3c]
fld dword [esp + 0x7c]
fld dword [esp + 0x80]
fld dword [esp + 0x84]
fst qword [esp + 0x6c]
fld dword [esp + 0x88]
fstp qword [esp + 0xac]
fld dword [esp + 0x8c]
fstp qword [esp + 0x44]
fld dword [esp + 0x90]
fst qword [esp + 0x64]
fld dword [esp + 0x94]
fstp qword [esp + 0xa4]
fxch st(4)
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x4134e9
lea edx, [esp + 0x6c]
fxch st(4)
fcom qword [edx]
fnstsw ax
test ah, 1
je 0x4134f8
lea edx, [esp + 0x64]
fld qword [ebx + 0x68]
lea ecx, [ebx + 0x68]
fcomp qword [edx]
fnstsw ax
test ah, 1
je 0x413509
mov ecx, edx
fld qword [ecx]
lea edx, [esp + 0x6c]
fst qword [esp + 0xbc]
fxch st(5)
fcom st(2)
fnstsw ax
test ah, 0x41
jnp 0x413525
lea edx, [esp + 0x3c]
fxch st(1)
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x413534
lea edx, [esp + 0x64]
fld qword [ebx + 0x70]
lea ecx, [ebx + 0x70]
fcomp qword [edx]
fnstsw ax
test ah, 1
jne 0x413545
mov ecx, edx
fld qword [ecx]
fst qword [esp + 0x6c]
fcomp st(6)
fnstsw ax
fstp st(5)
test ah, 0x41
jp 0x413565
fstp st(0)
fstp st(0)
fstp st(2)
fstp st(2)
fstp st(1)
jmp 0x41397f
fld qword [esp + 0xa4]
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xb0]
push ecx
sub esp, 0x48
fstp qword [esp + 0x40]
lea esi, [esp + 0x104]
fxch st(4)
fstp qword [esp + 0x38]
fld qword [esp + 0x94]
fstp qword [esp + 0x30]
fld qword [esp + 0xfc]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00411340
add esp, 0x50
test eax, eax
je 0x413981
fld dword [ebx + 0x28]
fsubr qword [esp + 0xbc]
fdiv dword [ebx + 0x20]
call fcn.0043cdf0
fld dword [ebx + 0x28]
fsubr qword [esp + 0x6c]
mov edi, eax
inc edi
mov dword [esp + 0x64], edi
fdiv dword [ebx + 0x20]
call fcn.0043cdf0
cmp edi, eax
mov dword [esp + 0x6c], eax
jg 0x413981
fld dword [esp + 0x90]
fld dword [esp + 0x84]
fld dword [esp + 0x80]
xor edx, edx
fld dword [esp + 0x78]
fld dword [esp + 0x74]
fld dword [ebx + 0x20]
fimul dword [esp + 0x64]
fadd dword [ebx + 0x28]
fxch st(2)
fcom st(4)
fnstsw ax
fld st(4)
test ah, 0x41
jnp 0x41363b
fxch st(2)
fxch st(4)
fxch st(2)
fxch st(1)
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x41366e
fxch st(3)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x413672
fxch st(4)
mov edx, 1
fsub st(2)
fxch st(1)
fsub st(3)
fdivp st(1)
fld st(3)
fsubrp st(3)
fmulp st(2)
faddp st(1)
fstp qword [esp + 0x4c]
jmp 0x41367a
fstp st(0)
jmp 0x413674
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(1)
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x413699
fld dword [esp + 0x80]
fld st(1)
fld dword [esp + 0x8c]
fld st(5)
jmp 0x4136ab
fld dword [esp + 0x8c]
fld st(3)
fld dword [esp + 0x80]
fld st(3)
fxch st(2)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x4136de
fxch st(5)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4136e2
fxch st(1)
inc edx
fsub st(3)
fxch st(2)
fsub st(5)
fdivp st(2)
fld st(0)
fsubrp st(5)
fxch st(1)
fmulp st(4)
fxch st(3)
faddp st(1)
fstp qword [esp + edx*8 + 0x44]
jmp 0x4136ea
fstp st(0)
jmp 0x4136e4
fstp st(5)
fstp st(2)
fstp st(0)
fstp st(0)
fld dword [esp + 0x9c]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x41370c
fld dword [esp + 0x8c]
fld st(4)
fld dword [esp + 0x98]
jmp 0x413720
fld dword [esp + 0x98]
fld dword [esp + 0x8c]
fld st(5)
fxch st(3)
fxch st(1)
fxch st(1)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x413753
fxch st(5)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x413757
fxch st(1)
inc edx
fsub st(2)
fxch st(3)
fsub st(5)
fdivp st(3)
fld st(0)
fsubrp st(5)
fxch st(2)
fmulp st(4)
faddp st(3)
fxch st(2)
fstp qword [esp + edx*8 + 0x44]
jmp 0x41375f
fstp st(0)
jmp 0x413759
fstp st(5)
fstp st(1)
fstp st(1)
fstp st(0)
cmp edx, 2
jl 0x41396c
fld qword [esp + 0x4c]
mov ecx, 1
cmp edx, ecx
fld st(0)
fst qword [esp + 0x44]
fxch st(1)
fst qword [esp + 0x3c]
jle 0x41387e
lea eax, [edx - 1]
cmp eax, 4
jl 0x413843
lea esi, [edx - 3]
jmp 0x413798
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4137a9
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 5
jp 0x4137bc
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x54]
fnstsw ax
test ah, 0x41
jne 0x4137cf
fstp st(0)
fld qword [esp + ecx*8 + 0x54]
fxch st(1)
fcom qword [esp + ecx*8 + 0x54]
fnstsw ax
test ah, 5
jp 0x4137e2
fstp st(0)
fld qword [esp + ecx*8 + 0x54]
fxch st(1)
fcom qword [esp + ecx*8 + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x4137f5
fstp st(0)
fld qword [esp + ecx*8 + 0x5c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x5c]
fnstsw ax
test ah, 5
jp 0x413808
fstp st(0)
fld qword [esp + ecx*8 + 0x5c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x64]
fnstsw ax
test ah, 0x41
jne 0x41381b
fstp st(0)
fld qword [esp + ecx*8 + 0x64]
fxch st(1)
fcom qword [esp + ecx*8 + 0x64]
fnstsw ax
test ah, 5
jp 0x41382e
fstp st(0)
fld qword [esp + ecx*8 + 0x64]
add ecx, 4
cmp ecx, esi
jl 0x413796
fst qword [esp + 0x44]
fxch st(1)
fst qword [esp + 0x3c]
cmp ecx, edx
jge 0x41387e
jmp 0x41384b
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x41385c
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 5
jp 0x41386f
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
inc ecx
cmp ecx, edx
jl 0x413849
fst qword [esp + 0x44]
fxch st(1)
fst qword [esp + 0x3c]
fcomp qword [ebx + 0x58]
lea ecx, [ebx + 0x58]
fnstsw ax
test ah, 0x41
mov eax, ecx
jnp 0x413891
lea eax, [esp + 0x3c]
fld qword [eax]
lea ecx, [ebx + 0x60]
fld qword [ecx]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4138a7
lea ecx, [esp + 0x44]
fld qword [ecx]
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x413968
fld dword [ebx + 0x24]
fsubp st(2)
fld dword [ebx + 0x20]
fdivp st(2)
fxch st(1)
call fcn.0043cdf0
fsub dword [ebx + 0x24]
mov esi, eax
inc esi
fdiv dword [ebx + 0x20]
mov dword [esp + 0x3c], esi
call fcn.0043cdf0
fxch st(1)
fmul qword [esp + 0xac]
mov edi, eax
cmp esi, edi
fadd qword [esp + 0xa4]
jg 0x413960
mov edx, dword [ebx + 0x14]
fld qword [esp + 0xb4]
imul edx, dword [esp + 0x64]
add edx, esi
shl edx, 4
add edx, dword [ebx + 0x4c]
fld dword [ebx + 0x20]
mov ecx, dword [edx]
fimul dword [esp + 0x3c]
fadd dword [ebx + 0x24]
fmul st(1)
fadd st(2)
fstp dword [esp + 0x3c]
test ecx, ecx
je 0x413952
fld dword [esp + 0x3c]
fld dword [ecx]
fstp dword [esp + 0x3c]
fld dword [ecx + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x413949
fld dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4139bc
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x413922
fstp st(0)
inc esi
add edx, 0x10
cmp esi, edi
mov dword [esp + 0x3c], esi
jle 0x413906
fstp st(1)
mov edi, dword [esp + 0x64]
fstp st(0)
jmp 0x41396e
fstp st(1)
fstp st(0)
fstp st(1)
inc edi
cmp edi, dword [esp + 0x6c]
mov dword [esp + 0x64], edi
jle 0x41360b
fstp st(0)
fstp st(0)
push 0x405980
push 4
push 0xc
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x110], 0xffffffff
call fcn.0043cf82
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(0)
push 0x405980
fstp st(1)
push 4
fstp st(0)
push 0xc
lea ecx, [esp + 0x80]
fstp st(0)
push ecx
fstp st(0)
mov dword [esp + 0x110], 0xffffffff
call fcn.0043cf82
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc