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

Disassembly:
mov eax, 0x15cc
call fcn.004b68c0
mov eax, dword [esp + 0x15d4]
mov ecx, dword [esp + 0x15d0]
push ebx
push ebp
lea edx, [eax*8]
mov byte [esp + 0x23], 0xff
sub edx, eax
mov eax, dword [ecx + 0x10]
mov byte [esp + 0x22], 0
push esi
lea ebp, [eax + edx*8]
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ax, word [ebp]
mov byte [esp + 0x17], 0
test al, 0x40
je 0x47f267
push ebp
push ecx
call fcn.0047ed40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15cc
ret
and eax, 0xfdff
mov word [ebp], ax
mov eax, dword [ecx]
test eax, 0x20000
je 0x47f27e
mov byte [esp + 0x17], 1
movsx eax, word [ebp + 0x18]
mov esi, eax
shl esi, 4
add esi, eax
shl esi, 3
fld dword [esi + 0x8e89c8]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x40
jne 0x47f2ce
fld dword [0x544d0c]
fdiv dword [esi + 0x8e89c8]
call fcn.004b6898
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esi + 0x8e89c8]
fsubr dword [0x544d0c]
fdiv dword [esi + 0x8e89c8]
fstp dword [esp + 0x30]
fld dword [esi + 0x8e89cc]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x40
jne 0x47f310
fld dword [0x544d0c]
fdiv dword [esi + 0x8e89cc]
call fcn.004b6898
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esi + 0x8e89cc]
fsubr dword [0x544d0c]
fdiv dword [esi + 0x8e89cc]
fstp dword [esp + 0x34]
mov al, byte [ebp + 2]
xor esi, esi
test al, al
mov dword [esp + 0x18], esi
jbe 0x47f3fe
mov ecx, dword [esp + 0x15e0]
lea eax, [esp + 0x154]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x7e5]
movsx edx, word [ecx + 0x80]
mov dword [esp + 0x10], edx
xor edx, edx
mov ecx, dword [ebp + 4]
lea ebx, [eax - 9]
mov edi, ebx
add eax, 0x38
movsx ecx, word [ecx + esi*2]
fld dword [esp + 0x30]
mov esi, dword [esp + 0x10]
add edx, 0x14
add ecx, esi
mov esi, dword [0x11cfb60]
lea ecx, [ecx + ecx*2]
lea esi, [esi + ecx*8]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov dword [ecx], ebx
mov ecx, dword [ebp + 8]
mov bl, byte [esp + 0x2b]
mov ecx, dword [ecx + edx - 0x14]
mov dword [eax - 0x29], ecx
mov ecx, dword [ebp + 8]
fadd dword [eax - 0x29]
mov ecx, dword [ecx + edx - 0x10]
mov dword [eax - 0x25], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + edx - 0xc]
mov dword [eax - 0x21], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + edx - 8]
mov dword [eax - 0x1d], ecx
mov cl, byte [eax - 0x38]
or cl, 0x58
mov byte [eax - 0x38], cl
mov ecx, dword [0xf5b54c]
fstp dword [eax - 0x29]
mov dword [eax - 0x19], ecx
mov cl, byte [eax - 0x39]
fld dword [esp + 0x34]
fadd dword [eax - 0x25]
and bl, cl
mov byte [esp + 0x2b], bl
mov bl, byte [esp + 0x2a]
or bl, cl
mov ecx, dword [esp + 0x2c]
fstp dword [eax - 0x25]
add ecx, 4
mov byte [esp + 0x2a], bl
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [ebp + 2]
inc esi
cmp esi, ecx
mov dword [esp + 0x18], esi
jl 0x47f347
mov al, byte [0xf5b5ac]
test al, al
je 0x47f581
mov eax, dword [0x54ab7c]
xor ecx, ecx
cmp eax, ecx
je 0x47f44b
xor eax, eax
mov dword [0x54ab7c], ecx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
inc eax
cmp eax, 0x20
mov dword [esp + 0x18], eax
fmul qword [0x51f3c8]
fst dword [eax*4 + 0xf114a0]
fst dword [eax*4 + 0xf4b6e4]
fstp dword [eax*4 + 0xf1a130]
jl 0x47f422
test byte [ebp], 1
je 0x47f555
xor eax, eax
xor esi, esi
mov ax, word [ebp + 0x1a]
lea edx, [eax + eax*4]
mov eax, dword [0x8856c4]
mov si, word [eax + edx*8 + 2]
push esi
call fcn.004c4d80
push esi
mov dword [esp + 0x38], eax
call fcn.004c4d20
mov edi, eax
push esi
mov dword [esp + 0x40], edi
call fcn.004c4d50
mov cl, byte [ebp + 2]
add esp, 0xc
xor ebx, ebx
test cl, cl
jbe 0x47f581
dec eax
dec edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ebx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
lea esi, [esp + 0x804]
fild dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
fld st(1)
fmul dword [edx + ecx + 0xc]
lea edi, [edx + ecx]
call fcn.004b6898
mov edx, eax
imul edx, dword [esp + 0x34]
fld st(0)
fmul dword [edi + 8]
mov dword [esp + 0x10], edx
call fcn.004b6898
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
add ecx, eax
add esi, 0x38
mov ax, word [edx + ecx*2]
and eax, 0xffff
mov ecx, eax
mov edx, eax
shr ecx, 0xa
and ecx, 0x1f
and eax, 0x1f
shr edx, 5
fld dword [ecx*4 + 0xf114a4]
fmul dword [esi - 0x38]
and edx, 0x1f
mov cl, byte [esi - 0x57]
or cl, 0x20
inc ebx
mov byte [esi - 0x57], cl
fst dword [esp + 0x18]
fstp dword [esi - 0x38]
fld dword [esp + 0x18]
fmul dword [edx*4 + 0xf4b6e8]
add dword [esp + 0x2c], 0x14
fstp dword [esi - 0x34]
fld dword [esp + 0x18]
fmul dword [eax*4 + 0xf1a134]
xor eax, eax
fstp dword [esi - 0x30]
mov al, byte [ebp + 2]
cmp ebx, eax
jl 0x47f4b3
fstp st(0)
fstp st(0)
jmp 0x47f581
mov al, byte [ebp + 2]
test al, al
jbe 0x47f581
lea eax, [esp + 0x804]
mov dl, byte [eax - 0x1f]
fld dword [eax]
or dl, 0x20
inc ecx
fst dword [eax + 4]
fstp dword [eax + 8]
mov byte [eax - 0x1f], dl
xor edx, edx
mov dl, byte [ebp + 2]
add eax, 0x38
cmp ecx, edx
jl 0x47f563
test byte [ebp], 0x80
je 0x47f5ab
movsx ecx, word [ebp + 0x18]
mov eax, ecx
shl eax, 4
add eax, ecx
shl eax, 3
test byte [eax + 0x8e898c], 0x80
je 0x47f5ab
mov eax, dword [eax + 0x8e89b8]
push 0
push 0
push eax
jmp 0x47f5b4
movsx ecx, word [ebp + 0x18]
push 0
push 0
push ecx
call fcn.0043dc20
mov ebx, eax
mov eax, dword [0x11cfb68]
add esp, 0xc
test eax, eax
je 0x47f5f8
mov edx, dword [0x1044b98]
mov eax, dword [0x1044b9c]
push edx
push eax
push 0x10ff10
call fcn.00484720
mov ecx, dword [0x1044b98]
mov edx, dword [0x1044b9c]
push ecx
push edx
call fcn.00484770
add esp, 0x14
mov dword [esp + 0x10], eax
movsx ecx, word [ebp + 0x18]
mov eax, ecx
xor edx, edx
shl eax, 4
add eax, ecx
shl eax, 3
mov ecx, dword [eax + 0x8e898c]
test ecx, 0x200000
je 0x47f628
mov dl, byte [ebp]
and dl, 2
neg dl
sbb edx, edx
and edx, 5
add edx, 9
jmp 0x47f661
fld dword [eax + 0x8e89d0]
fcomp qword [0x51f240]
fnstsw ax
test ah, 1
je 0x47f640
mov edx, 1
test byte [ebp], 2
je 0x47f649
or edx, 4
lea eax, [ebx + ebx*2]
lea eax, [ebx + eax*4]
cmp byte [eax*4 + 0x13616f6], 1
je 0x47f661
test ch, 0x40
je 0x47f661
or edx, 2
push edx
call fcn.00485040
movsx eax, word [ebp + 0x18]
mov ecx, eax
shl ecx, 4
add ecx, eax
fld dword [ecx*8 + 0x8e89d0]
fmul dword [0x51f390]
call fcn.004b6898
push eax
call fcn.004851b0
mov al, byte [0xf5b5c4]
add esp, 8
test al, al
jne 0x47f6a5
mov al, byte [0xf5b535]
xor edx, edx
test al, al
setne dl
push edx
jmp 0x47f6a7
push 1
call fcn.00484fe0
mov al, byte [0xf5b5ac]
add esp, 4
test al, al
jne 0x47f6bc
push 0
jmp 0x47f6be
push 1
call fcn.00485010
mov al, byte [ebp]
add esp, 4
test al, 1
je 0x47f723
mov al, byte [0xf5b598]
test al, al
je 0x47f6df
mov al, byte [0xf5b599]
test al, al
je 0x47f723
movsx eax, word [ebp + 0x18]
mov ecx, eax
shl ecx, 4
add ecx, eax
test dword [ecx*8 + 0x8e898c], 0x200000
je 0x47f6fb
push 0
jmp 0x47f6fd
push 1
call fcn.004851a0
mov ecx, dword [0x8856c4]
xor eax, eax
mov ax, word [ebp + 0x1a]
add esp, 4
lea edx, [eax + eax*4]
xor eax, eax
mov ax, word [ecx + edx*8 + 2]
push eax
call fcn.00485190
jmp 0x47f72a
push 0
call fcn.004851a0
mov al, byte [0xf5b5c4]
add esp, 4
test al, al
jne 0x47f780
mov al, byte [0xf5b539]
test al, al
je 0x47f744
xor edi, edi
push edi
jmp 0x47f782
xor edx, edx
xor ecx, ecx
mov dl, byte [ebp + 2]
mov edi, 1
test edx, edx
jle 0x47f77d
lea esi, [esp + 0x154]
mov eax, dword [esi]
fld dword [eax + 0x14]
fcomp dword [0x523180]
fnstsw ax
test ah, 1
jne 0x47f778
inc ecx
add esi, 4
cmp ecx, edx
jl 0x47f75b
push edi
jmp 0x47f782
mov edi, 2
push edi
jmp 0x47f782
push 2
call fcn.00484df0
mov al, byte [esp + 0x2e]
add esp, 4
test al, al
je 0x47f7ac
fld dword [0xf5b54c]
fcomp qword [0x51f240]
fnstsw ax
test ah, 1
je 0x47f7ac
mov byte [esp + 0x17], 1
jmp 0x47f7b4
mov al, byte [esp + 0x17]
test al, al
je 0x47f7c2
or byte [ebp + 1], 2
push 1
call fcn.004e3350
add esp, 4
lea ecx, [esp + 0x2a]
xor eax, eax
mov al, byte [ebp + 2]
push ecx
push 0
lea edx, [esp + 0x15c]
push ebx
push edx
push eax
call fcn.004e28f0
mov esi, eax
mov eax, dword [0x11cfb68]
add esp, 0x14
test eax, eax
je 0x47f844
mov ecx, dword [0x1044b98]
mov edx, dword [0x1044b9c]
push ecx
push edx
call fcn.00484770
mov ecx, dword [esp + 0x18]
add esp, 8
cmp eax, ecx
je 0x47f844
mov ecx, dword [esp + 0x15e0]
mov eax, 0x4ec4ec4f
sub ecx, 0xfdba80
mov dword [0x1022b84], 1
imul ecx
mov ecx, dword [esp + 0x15e4]
sar edx, 6
mov eax, edx
mov dword [0x11cfa24], ecx
shr eax, 0x1f
add edx, eax
mov dword [0x11cfb5c], edx
mov al, byte [esp + 0x17]
test al, al
je 0x47f856
push 0
call fcn.004e3350
add esp, 4
test esi, esi
je 0x47f873
mov edx, dword [0x86fd24]
and edx, 0x800000ff
jns 0x47f870
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp + 0x1e], dl
mov al, byte [0xf5b530]
and al, 3
cmp al, 3
jne 0x47fafb
push 0
call fcn.00484df0
push 0
call fcn.00485040
push 0xffffff
call fcn.00484bf0
mov al, byte [0xf5b5c4]
add esp, 0xc
test al, al
je 0x47f8fa
push 0xbdcccccd
call fcn.00485070
xor ecx, ecx
add esp, 4
mov cl, byte [ebp + 2]
xor eax, eax
test ecx, ecx
jle 0x47f8ee
lea edi, [esp + 0x154]
lea esi, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov ecx, dword [esp + edx*4 + 0x154]
mov edx, dword [edi]
push ecx
push edx
call fcn.004e26d0
xor ecx, ecx
mov eax, esi
mov cl, byte [ebp + 2]
add esp, 8
add edi, 4
cmp eax, ecx
jl 0x47f8c5
push 0
call fcn.00485070
add esp, 4
jmp 0x47f93a
xor ecx, ecx
xor eax, eax
mov cl, byte [ebp + 2]
test ecx, ecx
jle 0x47f93a
lea edi, [esp + 0x154]
lea esi, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov ecx, dword [edi]
mov eax, dword [esp + edx*4 + 0x154]
push eax
push ecx
push 0xffffff
call fcn.004e25e0
xor ecx, ecx
mov eax, esi
mov cl, byte [ebp + 2]
add esp, 0xc
add edi, 4
cmp eax, ecx
jl 0x47f90c
test byte [ebp], 0x10
je 0x47f97d
cmp byte [ebp + 2], 3
jbe 0x47f97d
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x154]
push edx
push eax
push 0xffff00
call fcn.004e25e0
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x164]
push ecx
push edx
push 0xffff00
call fcn.004e25e0
add esp, 0x18
cmp word [ebp + 0x1c], 0xffff
je 0x47fafb
xor eax, eax
mov al, byte [ebp + 2]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jle 0x47f9db
mov ecx, dword [esp + 0x15e0]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x37c]
movsx eax, word [ecx]
mov edi, dword [esp + 0x10]
add ecx, 2
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov edi, edx
add edx, 0xc
dec esi
mov ebx, dword [eax]
mov dword [edi], ebx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jne 0x47f9af
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x37c]
push esi
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.004cc4d0
movsx eax, word [ebp + 0x1c]
fstp st(0)
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x1003d1c]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
fld dword [esp + 0x28]
fsub dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fsub dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x68]
push edx
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fsub dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], ecx
call fcn.004cb9d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
fstp st(0)
fld dword [esp + 0x6c]
fadd dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
fstp dword [esp + 0x2c]
fld dword [esp + 0x70]
fadd dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x54]
push eax
fstp dword [esp + 0x34]
fld dword [esp + 0x78]
fadd dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0x358]
push ecx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xac], edx
call fcn.004e34c0
lea edx, [esp + 0xa4]
lea eax, [esp + 0x134]
push edx
push eax
call fcn.004e34c0
lea ecx, [esp + 0x13c]
lea edx, [esp + 0x364]
push ecx
push edx
push 0xffffff
call fcn.004e25e0
add esp, 0x2c
mov al, byte [0xf5b533]
test al, al
je 0x4803ab
push 0
call fcn.00484df0
push 0
call fcn.00485040
mov ecx, dword [0xf80344]
add esp, 8
mov eax, dword [ecx + 0x68]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0x64]
mov ecx, dword [eax + 0x10]
lea edx, [ecx + edx*8]
cmp ebp, edx
jne 0x4803ab
test byte [ebp], 1
je 0x4803ab
mov ecx, dword [0x8856c4]
xor eax, eax
mov ax, word [ebp + 0x1a]
xor edx, edx
lea eax, [eax + eax*4]
mov dx, word [ecx + eax*8 + 2]
lea esi, [ecx + eax*8]
push edx
call fcn.004c4d80
mov dword [esp + 0x108], eax
lea eax, [esi + 0x10]
push 0
push 0
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
fmul dword [0x51d854]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x51d854]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0x11c]
push ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul dword [0x51d854]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x124], edx
lea edx, [esp + 0x12c]
push edx
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x12c], eax
call fcn.004cc1e0
xor eax, eax
mov ecx, dword [esp + 0x130]
mov al, byte [esi]
mov edx, dword [esp + 0x134]
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ecx
fild dword [esp + 0x24]
fld dword [esp + 0x130]
mov eax, dword [esp + 0x138]
mov dword [esp + 0x68], edx
fmul st(1)
mov dword [esp + 0x6c], eax
xor ecx, ecx
mov cl, byte [esi + 1]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x140]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul st(1)
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x130]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul st(1)
push edx
fstp dword [esp + 0x70]
fstp st(0)
fild dword [esp + 0x28]
fld dword [esp + 0x140]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fstp st(0)
call fcn.004cb540
xor eax, eax
mov ax, word [esi + 2]
push eax
call fcn.004c4d20
xor ecx, ecx
mov edi, eax
mov cx, word [esi + 2]
mov dword [esp + 0x34], edi
push ecx
call fcn.004c4d50
imul eax, edi
add esp, 0x20
mov dword [esp + 0x30], 0
test eax, eax
mov dword [esp + 0x108], eax
jle 0x4803ab
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
add esi, 4
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0xec], ebp
cdq
idiv edi
mov dword [esp + 0xf0], ebx
mov esi, eax
mov eax, ecx
cdq
idiv edi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd8], ecx
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edi, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edi
mov dword [esp + 0xf4], edx
fild dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 4]
fst dword [esp + 0x10c]
fld st(0)
fmul dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
fstp dword [esp + 0xec]
fld dword [esp + 0xf0]
fmul st(1)
fstp dword [esp + 0xf0]
fmul dword [esp + 0xf4]
fild dword [esp + 0x34]
fst dword [esp + 0x34]
fld st(0)
fmul dword [esp + 0x38]
fstp dword [esp + 0xd4]
fld dword [esp + 0xd8]
fmul st(1)
fstp dword [esp + 0xd8]
fmul dword [esp + 0xdc]
fld dword [esp + 0x80]
fsub dword [esp + 0xd4]
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fsub dword [esp + 0xd8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xa4], ecx
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fsub st(1)
mov edx, dword [esp + 0x84]
mov dword [esp + 0xa8], edx
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fstp st(0)
fld dword [esp + 0x80]
fadd dword [esp + 0xec]
mov dword [esp + 0xac], eax
fstp dword [esp + 0xa4]
fld dword [esp + 0xa8]
fadd dword [esp + 0xf0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x254], ecx
lea ecx, [esp + 0x254]
push ecx
fstp dword [esp + 0xac]
fld dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
fadd st(1)
mov dword [esp + 0x25c], edx
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
fstp st(0)
mov dword [esp + 0x260], eax
lea edx, [esp + 0x380]
push edx
call fcn.004e34c0
lea ecx, [edi + 1]
mov dword [esp + 0xe8], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0xec], ebx
fild dword [esp + 0x18]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xf0], edx
lea eax, [esp + 0x384]
fst dword [esp + 0x18]
fld st(0)
fmul dword [esp + 0x58]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0x48]
fstp dword [esp + 0xe8]
fld dword [esp + 0xec]
fmul st(1)
mov ecx, dword [eax]
mov dword [esp + 0xd8], edx
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
fstp dword [esp + 0xec]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], edx
fmul dword [esp + 0xf0]
fld dword [esp + 0x3c]
fld st(0)
fmul dword [esp + 0x40]
mov dword [esp + 0x78], eax
fstp dword [esp + 0xd0]
fld dword [esp + 0xd4]
fmul st(1)
fstp dword [esp + 0xd4]
fmul dword [esp + 0xd8]
fld dword [esp + 0x70]
fsub dword [esp + 0xd0]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fsub dword [esp + 0xd4]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fsub st(1)
mov edx, dword [esp + 0x74]
mov dword [esp + 0xa4], edx
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
fstp st(0)
fld dword [esp + 0x70]
fadd dword [esp + 0xe8]
mov dword [esp + 0xa8], eax
fstp dword [esp + 0xa0]
fld dword [esp + 0xa4]
fadd dword [esp + 0xec]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x268], ecx
lea ecx, [esp + 0x268]
push ecx
fstp dword [esp + 0xa8]
fld dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
fadd st(1)
mov dword [esp + 0x270], edx
lea edx, [esp + 0x3c0]
push edx
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
fstp st(0)
mov dword [esp + 0x278], eax
call fcn.004e34c0
fld dword [esp + 0x20]
lea eax, [esp + 0x3c4]
mov dword [esp + 0x168], eax
fld st(0)
fmul dword [esp + 0x60]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebx
mov ecx, dword [esp + 0x68]
lea edx, [esi + 1]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x20], edx
fstp dword [esp + 0xcc]
fld dword [esp + 0xd0]
fmul st(1)
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10c], ecx
mov edx, dword [esp + 0x50]
fstp dword [esp + 0xd0]
mov ecx, dword [eax]
mov dword [esp + 0x110], edx
fmul dword [esp + 0xd4]
fild dword [esp + 0x20]
mov edx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
fst dword [esp + 0x20]
fld st(0)
fmul dword [esp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], eax
fstp dword [esp + 0x108]
fld dword [esp + 0x10c]
fmul st(1)
fstp dword [esp + 0x10c]
fmul dword [esp + 0x110]
fld dword [esp + 0x84]
fsub dword [esp + 0x108]
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fsub dword [esp + 0x10c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc0], ecx
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fsub st(1)
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc4], edx
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
fstp st(0)
fld dword [esp + 0x84]
fadd dword [esp + 0xcc]
mov dword [esp + 0xc8], eax
fstp dword [esp + 0xc0]
fld dword [esp + 0xc4]
fadd dword [esp + 0xd0]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x27c], ecx
lea ecx, [esp + 0x27c]
push ecx
fstp dword [esp + 0xc8]
fld dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
fadd st(1)
mov dword [esp + 0x284], edx
lea edx, [esp + 0x400]
push edx
fstp dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
fstp st(0)
mov dword [esp + 0x28c], eax
call fcn.004e34c0
fld dword [esp + 0x124]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x404]
fld st(0)
fmul dword [esp + 0x68]
mov dword [esp + 0x174], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul st(1)
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0x78]
mov eax, dword [edx]
mov dword [esp + 0xac], ecx
fmul dword [esp + 0x7c]
fld dword [esp + 0x28]
fld st(0)
fmul dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov edx, dword [edx + 8]
fstp dword [esp + 0xa4]
fld dword [esp + 0xa8]
fmul st(1)
mov dword [esp + 0x3c], edx
fstp dword [esp + 0xa8]
fmul dword [esp + 0xac]
fld dword [esp + 0x34]
fsub dword [esp + 0xa4]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub dword [esp + 0xa8]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub st(1)
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x74]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x290], eax
lea eax, [esp + 0x290]
push eax
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
fadd st(1)
mov dword [esp + 0x298], ecx
lea ecx, [esp + 0x440]
push ecx
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
fstp st(0)
mov dword [esp + 0x2a0], edx
call fcn.004e34c0
imul esi, dword [esp + 0x38]
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x444]
add esi, edi
add esp, 0x20
mov dword [esp + 0x160], edx
test byte [eax + esi*2 + 1], 0x80
jne 0x480356
xor eax, eax
lea edi, [esp + 0x154]
lea esi, [eax + 1]
mov ecx, esi
and ecx, 0x80000003
jns 0x480332
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [esp + ecx*4 + 0x154]
mov eax, dword [edi]
push edx
push eax
push 0xff00ff
call fcn.004e25e0
mov eax, esi
add esp, 0xc
add edi, 4
cmp eax, 4
jl 0x480320
jmp 0x480393
xor eax, eax
lea edi, [esp + 0x154]
lea esi, [eax + 1]
mov ecx, esi
and ecx, 0x80000003
jns 0x480371
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [esp + ecx*4 + 0x154]
mov eax, dword [edi]
push edx
push eax
push 0xffffff
call fcn.004e25e0
mov eax, esi
add esp, 0xc
add edi, 4
cmp eax, 4
jl 0x48035f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x108]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x47fcdf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15cc
ret