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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x68]
mov ebp, dword [esi + 0x70]
lea edi, [esi + 0x68]
mov ecx, edi
call dword [eax + 0xc]
mov edx, dword [edi]
xor ebx, ebx
push ebx
push ebp
mov ecx, edi
call dword [edx + 8]
mov dword [0x855c90], ebx
mov ebp, dword [esi + 0x64]
cmp ebp, ebx
je 0x66380b
mov eax, dword [0x855c88]
cmp dword [0x855c90], eax
jl 0x6637c9
mov cl, byte [0x855c8d]
test cl, cl
jne 0x6637aa
cmp eax, ebx
jne 0x663804
mov ecx, dword [0x855c94]
cmp ecx, ebx
jle 0x663804
add eax, ecx
push ebx
push eax
mov eax, dword [0x855c80]
mov ecx, 0x855c80
call dword [eax + 8]
test al, al
je 0x6637ff
mov eax, dword [0x855c90]
cmp eax, ebx
je 0x6637ec
lea ecx, [eax*4]
mov eax, dword [0x855c84]
push ecx
push eax
add eax, 4
push eax
call fcn.0078c350
add esp, 0xc
mov edx, dword [0x855c84]
mov dword [edx], ebp
mov eax, dword [0x855c90]
inc eax
mov dword [0x855c90], eax
mov eax, dword [0x855c88]
mov ebp, dword [ebp + 0x14]
cmp ebp, ebx
jne 0x663794
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x54], ebx
cmp ecx, eax
mov dword [esp + 0x60], edx
jl 0x66384f
mov cl, byte [edi + 0xd]
test cl, cl
jne 0x663839
cmp eax, ebx
jne 0x66386b
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
jle 0x66386b
mov edx, dword [edi]
add eax, ecx
push ebx
push eax
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x66386b
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x54]
push edx
lea ecx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 4]
lea ecx, [ecx + eax*8]
call fcn.006652e0
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x34]
add eax, 0xc
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x6c]
lea ecx, [ecx + edx*8 - 0x18]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
lea ecx, [ecx + ecx*4]
add eax, 0x18
lea ecx, [edx + ecx*8 - 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [0x855c90]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x10], eax
jle 0x6639c8
mov ecx, dword [0x855c84]
mov ebp, dword [ecx + eax*4]
fld dword [ebp + 0x60]
fld dword [ebp + 0x70]
fstp dword [esp + 0x28]
fld dword [ebp + 0x80]
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x54], edx
fstp dword [esp + 0x58]
cmp ecx, eax
jl 0x663928
mov cl, byte [edi + 0xd]
test cl, cl
jne 0x663912
cmp eax, ebx
jne 0x663944
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
jle 0x663944
mov edx, dword [edi]
add eax, ecx
push ebx
push eax
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x663944
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x54]
push edx
lea ecx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 4]
lea ecx, [ecx + eax*8]
call fcn.006652e0
mov eax, dword [esi + 0x78]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x6c]
lea eax, [eax + edx*8 - 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8 - 0xc]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x6639b1
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x6c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8 - 0x18]
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x6c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8 - 0xc]
mov edx, dword [eax + 0x18]
mov dword [ecx], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [0x855c90]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x6638c5
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x54], ebx
cmp ecx, eax
mov dword [esp + 0x5c], edx
jl 0x663a0c
mov cl, byte [edi + 0xd]
test cl, cl
jne 0x6639f6
cmp eax, ebx
jne 0x663a28
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
jle 0x663a28
mov edx, dword [edi]
add eax, ecx
push ebx
push eax
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x663a28
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x54]
push edx
lea ecx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 4]
lea ecx, [ecx + eax*8]
call fcn.006652e0
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x38]
add eax, 0xc
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x6c]
lea ecx, [ecx + edx*8 - 0x18]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
lea ecx, [ecx + ecx*4]
add eax, 0x18
lea ecx, [edx + ecx*8 - 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov edi, dword [esi + 0x78]
lea ecx, [edi + edi*2]
shl ecx, 3
push ecx
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x663a8d
dec edi
mov ebp, eax
mov dword [esp + 0x20], edi
jmp 0x663a8f
xor ebp, ebp
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x18], ebp
sub eax, 2
mov dword [esp + 0x24], edx
cmp eax, ebx
mov dword [esp + 0x2c], ecx
jle 0x663c7c
lea edx, [eax + eax*2]
lea edi, [eax + eax*4]
shl edi, 3
lea ebp, [ebp + edx*8 + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x6c]
mov ebx, dword [eax + edi]
test ebx, ebx
je 0x663c2b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
jne 0x663c2b
add ebx, 0x10
lea ecx, [esp + 0x54]
push ebx
call fcn.005fb550
fld dword [esi + 0xc0]
fmul dword [0x7d7bec]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
fstp dword [esp + 0x14]
call fcn.00661b90
fld dword [esp + 0x48]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x663b2c
fld dword [esp + 0x48]
fsub dword [esp + 0x10]
fstp dword [esp + 0x48]
jmp 0x663b34
mov dword [esp + 0x48], 0
fld dword [esp + 0x4c]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x663b51
fld dword [esp + 0x4c]
fsub dword [esp + 0x10]
fstp dword [esp + 0x4c]
jmp 0x663b59
mov dword [esp + 0x4c], 0
fld dword [esp + 0x3c]
fsub dword [esp + 0x48]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663b74
fstp st(0)
fld dword [esp + 0x24]
fld dword [esp + 0x40]
fsub dword [esp + 0x4c]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663b95
mov ecx, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x14], ecx
jmp 0x663b99
fstp dword [esp + 0x14]
fld dword [esp + 0x44]
fsub dword [esp + 0x50]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663bba
mov edx, dword [esp + 0x2c]
fstp st(0)
mov dword [esp + 0x1c], edx
jmp 0x663bbe
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fadd dword [esp + 0x48]
fstp dword [esp + 0x1c]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x663bdb
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esp + 0x40]
fadd dword [esp + 0x4c]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x663bf6
fstp st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x50]
fadd dword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x68]
fst dword [esp + 0x38]
fld st(2)
mov eax, dword [esp + 0x38]
fstp dword [ebp - 8]
fld st(1)
fstp dword [ebp - 4]
fstp dword [ebp]
fxch st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x28]
jmp 0x663c5f
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + edi + 4]
lea eax, [ecx + edi + 4]
mov dword [ebp - 8], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [eax + 8]
mov dword [ebp], edx
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + edi + 4]
mov edx, dword [eax + edi + 8]
lea eax, [eax + edi + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
sub ebp, 0x18
sub edi, 0x28
dec eax
mov dword [esp + 0x20], eax
jne 0x663ac7
mov ebp, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x28], edx
dec ecx
mov dword [esp + 0x2c], eax
cmp ecx, 1
mov dword [esp + 0x10], 1
jle 0x663e74
mov edx, dword [esp + 0x18]
mov ebx, 0x28
lea edi, [edx + 0x2c]
mov eax, dword [esi + 0x6c]
mov ebp, dword [eax + ebx]
test ebp, ebp
je 0x663e1f
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
test eax, eax
jne 0x663e1f
fld dword [ebp + 0x1c]
fld dword [esi + 0xc0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
fmul dword [0x7d7bec]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x14]
fcom dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], ecx
fnstsw ax
test ah, 0x41
jne 0x663d1b
fsub dword [esp + 0x14]
fstp dword [esp + 0x60]
jmp 0x663d25
fstp st(0)
mov dword [esp + 0x60], 0
fld dword [esp + 0x4c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x663d42
fld dword [esp + 0x4c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x64]
jmp 0x663d4a
mov dword [esp + 0x64], 0
fld dword [esp + 0x3c]
fsub dword [esp + 0x60]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663d65
fstp st(0)
fld dword [esp + 0x24]
fld dword [esp + 0x40]
fsub dword [esp + 0x64]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663d86
mov edx, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x1c], edx
jmp 0x663d8a
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fsub dword [esp + 0x50]
fst dword [esp + 0x14]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x663daf
mov eax, dword [esp + 0x2c]
fstp st(0)
mov dword [esp + 0x20], eax
jmp 0x663db3
fstp dword [esp + 0x20]
fld dword [esp + 0x60]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x20]
fcom dword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x663dd0
fstp st(0)
fld dword [esp + 0x20]
fld dword [esp + 0x40]
fadd dword [esp + 0x64]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x663deb
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esp + 0x50]
fadd dword [esp + 0x44]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fst dword [esp + 0x38]
fld st(2)
mov ecx, dword [esp + 0x38]
fstp dword [edi - 8]
fld st(1)
mov dword [esp + 0x2c], ecx
fstp dword [edi - 4]
fstp dword [edi]
fxch st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x28]
jmp 0x663e55
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + ebx + 4]
lea eax, [edx + ebx + 4]
mov dword [edi - 8], ecx
mov edx, dword [eax + 4]
mov dword [edi - 4], edx
mov eax, dword [eax + 8]
mov dword [edi], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + ebx + 4]
lea eax, [ecx + ebx + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
add edi, 0x18
add ebx, 0x28
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x663cb2
mov ebp, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
mov edi, 1
dec edx
cmp edx, edi
jle 0x663eeb
mov edx, 0x28
lea eax, [ebp + 0x2c]
fld dword [eax - 0x14]
fadd dword [eax - 8]
fld dword [eax - 0x10]
fadd dword [eax - 4]
mov ecx, dword [esi + 0x6c]
inc edi
add eax, 0x18
fstp dword [esp + 0x28]
fld dword [eax - 0x24]
fadd dword [eax - 0x18]
lea ecx, [ecx + edx + 4]
add edx, 0x28
fstp dword [esp + 0x2c]
fmul dword [0x7cd778]
fld dword [esp + 0x28]
fmul dword [0x7cd778]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [0x7cd778]
mov ebx, dword [esp + 0x34]
mov dword [ecx + 4], ebx
fstp dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
fstp dword [ecx]
mov dword [ecx + 8], ebx
mov ecx, dword [esi + 0x78]
dec ecx
cmp edi, ecx
jl 0x663e89
push ebp
call fcn.00672c80
mov eax, dword [esi + 0x78]
add esp, 4
sub eax, 2
cmp eax, 1
jle 0x663f99
lea ebp, [eax + eax*4]
shl ebp, 3
dec eax
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x6c]
mov edi, dword [edx + ebp]
lea eax, [edx + ebp]
test edi, edi
lea ecx, [eax - 0x24]
lea ebx, [eax + 0x2c]
mov dword [esp + 0x1c], ecx
je 0x663f87
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
jne 0x663f87
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x24]
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov dword [esp + 0x68], edx
push eax
push ecx
lea edx, [esp + 0x38]
push ebx
push edx
mov ecx, esi
add edi, ebp
call fcn.006630b0
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov edx, dword [eax + 4]
mov dword [edi + 8], edx
mov eax, dword [eax + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
sub ebp, 0x28
dec eax
mov dword [esp + 0x20], eax
jne 0x663f0e
mov ecx, esi
call fcn.00663fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret