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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x779eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebx + 4], edi
mov byte [ebx + 0x308], 0xff
cmp dword [esi + 4], edi
mov dword [esp + 0x24], ebx
jle 0x614f2c
mov eax, dword [ebx]
mov ecx, dword [eax + 0x8fc]
mov dword [esp + 0xb8], ecx
mov ecx, dword [eax + 0x2c]
call fcn.00404920
fstp dword [esp + 0x8c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x430]
mov ecx, edx
push ecx
push eax
mov dword [esp + 0x18], edx
call fcn.004038e0
fstp dword [esp + 0xb4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 0x68]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xcc], ecx
add esp, 8
lea ecx, [eax + 0x10]
mov dword [esp + 0xbc], edx
call fcn.005b5050
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x98]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0x3c], edi
call fcn.00419bf0
mov eax, dword [esi + eax*4 + 8]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, eax
call fcn.0040ae00
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
push eax
call fcn.0043e740
mov ecx, 0x4000
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
sub ecx, eax
push ecx
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], 0x3f800000
call fcn.005bab90
fld dword [esp + 0x74]
add esp, 0x14
fmul dword [esp + 0x34]
mov esi, dword [0x8a2ca4]
fld dword [esp + 0x50]
mov ecx, 0x8a2ca4
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esp + 0x34]
fld dword [esp + 0x54]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0x38]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0x100]
fstp dword [esp + 0x104]
call fcn.005d7ab0
cmp esi, eax
mov dword [esp + 0x3c], eax
je 0x614d39
lea ecx, [ebx + 0x1c]
lea edi, [ebx + 0x20]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx]
test eax, eax
je 0x6149c6
cmp dword [esi + 0x1c], eax
jne 0x6149c6
mov byte [esp + 0x17], 1
mov dword [esp + 0xa4], 0x10
mov ecx, dword [esi + 0x1c]
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x6148c2
call fcn.005ebde0
test al, al
jne 0x6148b6
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x550]
test al, al
jne 0x6148c2
mov al, byte [esp + 0x17]
test al, al
je 0x614d2b
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x2c], eax
jge 0x614d2b
mov eax, dword [esi + 0xc]
fld dword [eax]
mov ecx, dword [eax + 8]
fld dword [eax + 4]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
fxch st(1)
fsub dword [esp + 0xa8]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [esi + 0x18]
fstp dword [esp + 0x20]
fsub dword [esp + 0xbc]
fld dword [esp + 0xb0]
fsub dword [esp + 0xc4]
fld dword [eax]
fld dword [eax + 4]
mov eax, dword [ebx]
fxch st(1)
add eax, 0x90
fsub dword [esp + 0x38]
fstp dword [esp + 0x18]
fsub dword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0xc0]
fsub dword [esp + 0x34]
fstp dword [esp + 0x9c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x9c]
fmul dword [esp + 0x9c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fsqrt
fstp dword [esp + 0x20]
fld dword [eax + 4]
fmul dword [ecx + 4]
fld dword [eax]
fmul dword [ecx]
faddp st(1)
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x6149b0
fld dword [esp + 0x20]
fchs
fstp dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6149d0
mov eax, dword [eax + 0x8fc]
mov dword [esp + 0x98], eax
jmp 0x6149db
mov byte [esp + 0x17], 0
jmp 0x614894
mov dword [esp + 0x98], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x98]
push ecx
push edx
mov ecx, 0x88f298
call fcn.005d5a20
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 0x41
jnp 0x614a35
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
push esi
call fcn.00403a50
add esp, 0x18
test al, al
je 0x614d2b
fld dword [esp + 0x8c]
fmul dword [0x787adc]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x614d2b
mov ebx, dword [ebp + 8]
push 0
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0xa8]
push edx
push esi
mov ecx, ebx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc4], 0
call fcn.00419c40
mov ecx, dword [ebx + eax*4 + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
push 0
push eax
mov dword [esp + 0x20], ecx
call fcn.004123f0
mov eax, dword [esp + 0x1c]
fstp dword [eax]
xor ebx, ebx
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0xc]
lea ecx, [ebx + 2]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004123f0
mov eax, dword [esp + 0x10]
fstp dword [eax]
inc ebx
add eax, 4
cmp ebx, 4
mov dword [esp + 0x10], eax
jl 0x614aa7
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi - 8], edx
mov dword [edi + 0x10], eax
call fcn.0040ae00
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
push edx
push eax
call fcn.0043e740
mov ecx, 0x4000
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
sub ecx, eax
push ecx
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x3f800000
call fcn.005bab90
fld dword [esp + 0x74]
mov eax, dword [esi + 0x10]
fmul dword [eax + 8]
add esp, 0x14
fld dword [esp + 0x50]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [eax + 8]
fld dword [esp + 0x54]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [eax]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0x110]
fstp dword [esp + 0x114]
fld dword [esp + 0x110]
fsub dword [esp + 0x100]
fld dword [esp + 0x114]
fsub dword [esp + 0x104]
fxch st(1)
fstp dword [edi - 0x18]
fstp dword [edi - 0x14]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x614c42
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x614c42
lea ecx, [esp + 0xf0]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0xd4]
push edx
call fcn.005aa9b0
jmp 0x614c84
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
fld dword [esp + 0xf4]
mov eax, dword [esp + 0x24]
fsub dword [esp + 0xd4]
mov ecx, dword [eax]
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov bx, word [ecx + 0x40c]
fmul dword [0x784260]
push edx
push eax
fstp dword [esp + 0x20]
fld dword [esp + 0xf8]
fsub dword [esp + 0xd8]
fmul dword [0x784260]
fstp dword [esp + 0x18]
call fcn.0043e740
sub eax, ebx
push eax
call fcn.0043c3d0
fld st(0)
fmulp st(1)
mov edx, dword [esp + 0x38]
fld dword [0x784250]
mov ecx, dword [esp + 0x28]
fsub st(1)
mov ebx, dword [esp + 0x30]
fld dword [esp + 0x1c]
add esp, 0xc
inc edx
fmul st(1)
add ecx, 0x30
fld st(2)
mov dword [esp + 0x2c], edx
fmul dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
add edi, 0x30
faddp st(1)
fstp dword [edi - 0x40]
fxch st(1)
fmul dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [edi - 0x3c]
mov eax, dword [esi + 8]
mov word [edi - 0x1c], ax
mov esi, dword [esi]
cmp esi, dword [esp + 0x3c]
jne 0x614871
xor edi, edi
mov ecx, dword [esp + 0x2c]
push fcn.004022d0
push 0x401fb0
push 0x10
push 0x30
lea edx, [esp + 0x1b0]
push edx
mov dword [ebx + 4], ecx
call fcn.0075c18d
mov eax, dword [ebx + 4]
mov dword [esp + 0x4ac], edi
lea esi, [ebx + 8]
mov ecx, 0xc0
lea edi, [esp + 0x1a0]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
test eax, eax
jle 0x614e3c
lea edi, [esp + 0x1a0]
jmp 0x614d90
fld dword [edi + 0x10]
mov eax, dword [ebp + 0xc]
fsub dword [esp + 0x90]
push eax
mov dword [esp + esi*4 + 0x164], edi
fstp dword [esp + 0x20]
call fcn.00403d70
add esp, 4
test al, al
je 0x614dc7
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00403db0
fld dword [edi + eax*4 + 0x14]
add esp, 4
jmp 0x614def
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403d90
add esp, 4
test al, al
je 0x614de9
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403dc0
fld dword [edi + eax*4 + 0x18]
add esp, 4
jmp 0x614def
fld dword [0x7d7d3c]
fsub dword [esp + 0x94]
fld st(0)
fmulp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fst dword [esp + esi*4 + 0x120]
fld dword [esp + 0x1c]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x614e2b
fmul dword [0x7842a0]
fstp dword [esp + esi*4 + 0x120]
jmp 0x614e2d
fstp st(0)
mov eax, dword [ebx + 4]
inc esi
add edi, 0x30
cmp esi, eax
jl 0x614d90
mov eax, dword [ebx + 4]
test eax, eax
jle 0x614eb8
mov esi, dword [ebx + 4]
dec eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
jle 0x614eb2
lea edx, [esi - 1]
fld dword [esp + ecx*4 + 0x124]
fcomp dword [esp + ecx*4 + 0x120]
fnstsw ax
test ah, 0x41
jne 0x614ead
mov eax, dword [esp + ecx*4 + 0x160]
fld dword [esp + ecx*4 + 0x120]
mov edi, dword [esp + ecx*4 + 0x164]
mov dword [esp + ecx*4 + 0x164], eax
mov eax, dword [esp + ecx*4 + 0x124]
fstp dword [esp + ecx*4 + 0x124]
mov dword [esp + ecx*4 + 0x160], edi
mov dword [esp + ecx*4 + 0x120], eax
inc ecx
cmp ecx, edx
jl 0x614e60
dec dword [esp + 0x24]
jne 0x614e53
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
jle 0x614f0b
lea edx, [ebx + 0x34]
jmp 0x614ed0
mov esi, dword [esp + eax*4 + 0x160]
lea edi, [edx - 0x2c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsx ecx, word [edx]
mov ecx, dword [ecx*4 + 0x89e970]
test ecx, ecx
je 0x614f00
mov esi, dword [ebx]
test esi, esi
je 0x614f00
cmp dword [ecx + 0x1c], esi
jne 0x614f00
mov byte [ebx + 0x308], al
mov ecx, dword [ebx + 4]
inc eax
add edx, 0x30
cmp eax, ecx
jl 0x614ed0
push fcn.004022d0
push 0x10
push 0x30
lea edx, [esp + 0x1ac]
push edx
mov dword [esp + 0x4bc], 0xffffffff
call fcn.0075c12d
mov ecx, dword [esp + 0x4a4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8