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

Disassembly:
push ebp
push edi
lea edx, [ecx + 0x28]
push esi
push ebx
mov ebp, ecx
sub esp, 0x25c
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], 0
lea edi, [esp + 0x208]
mov dword [esp + 0x38], edx
sub eax, ebx
cmp eax, 0xb7
jle 0x479b05
imul eax, dword [esp + 0x3c], 0xb8
fldz
add ebx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
fst qword [esp + 0x210]
mov dword [esp + method.et.virtual_0], vtable.et.0
mov edx, dword [ebx + 0xac]
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x18], eax
sar eax, 5
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, edx
sub eax, ecx
sar eax, 5
fst qword [esp + 0x218]
cmp esi, eax
fstp qword [esp + 0x220]
ja 0x479fb5
jae 0x4799ee
add ecx, dword [esp + 0x18]
cmp edx, ecx
mov dword [esp + 0x14], ecx
mov esi, ecx
je 0x4799e4
mov dword [esp + 0x20], ebx
mov ebx, edx
jmp 0x4799c7
add esi, 0x20
cmp ebx, esi
je 0x4799e0
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, method.et.virtual_0
je 0x4799c0
mov ecx, esi
add esi, 0x20
call eax
cmp ebx, esi
jne 0x4799c7
lea esi, [esi]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xac], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x479ae3
lea eax, [ebx + 0x60]
lea edx, [esp + 0x1a0]
lea esi, [esp + 0x1c0]
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [ebp]
mov dword [esp + 0x14], eax
add ecx, dword [edx + esi + 0x28]
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.0047f8f0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0047f6b0
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.0047f8b0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0047f8b0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0047f990
mov dword [esp + 0xc], esi
fmul qword [ebp + 0x68]
mov dword [esp], edi
fstp qword [esp + 4]
call fcn.0047f930
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xa8]
add edx, eax
cmp edx, edi
je 0x479ad6
fld qword [esp + 0x210]
fstp qword [edx + 8]
fld qword [esp + 0x218]
fstp qword [edx + 0x10]
fld qword [esp + 0x220]
fstp qword [edx + 0x18]
add eax, 0x20
cmp eax, dword [esp + 0x18]
jne 0x479a20
mov ebx, dword [ebp]
mov eax, dword [ebp + 4]
add dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x3c]
sub eax, ebx
sar eax, 3
imul eax, eax, 0xe9bd37a7
cmp ecx, eax
jl 0x479944
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, edx
cmp eax, 0xa7
jle 0x479faa
lea eax, [esp + 0x208]
lea ebx, [esp + 0x1c0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1c], ebx
mov ebp, eax
imul ebx, dword [esp + 0x10], 0xa8
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, 0x12
mov dword [esp + 0x40], vtable.et.0
mov dword [esp + 0x60], vtable.et.0
mov dword [esp + 0x80], vtable.et.0
mov dword [esp + 0xa0], vtable.et.0
mov eax, dword [eax]
add ebx, edx
fld qword [ebx + 8]
imul esi, dword [ebx + 0x20], 0xb8
fstp qword [esp + 0x48]
imul edx, dword [ebx + 0x24], 0xb8
fld qword [ebx + 0x10]
fstp qword [esp + 0x50]
add esi, eax
fld qword [ebx + 0x18]
add esi, 0x60
add eax, edx
fstp qword [esp + 0x58]
fld qword [esi - 0x58]
fstp qword [esp + 0x68]
fld qword [esi - 0x50]
fstp qword [esp + 0x70]
fld qword [esi - 0x48]
fstp qword [esp + 0x78]
fld qword [esi - 0x18]
fstp qword [esp + 0x88]
fld qword [esi - 0x10]
fstp qword [esp + 0x90]
fld qword [esi - 8]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x98]
lea esi, [eax + 0x60]
fld qword [eax + 8]
mov cl, 0x12
fstp qword [esp + 0xa8]
fld qword [eax + 0x10]
fstp qword [esp + 0xb0]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc0], vtable.et.0
mov dword [esp + 0xe0], vtable.et.0
fld qword [eax + 0x18]
fstp qword [esp + 0xb8]
fld qword [eax + 0x48]
fstp qword [esp + 0xc8]
fld qword [eax + 0x50]
fstp qword [esp + 0xd0]
fld qword [eax + 0x58]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x60]
mov dword [esp], ebp
fstp qword [esp + 0xd8]
lea edi, [esp + 0x80]
lea esi, [esp + 0x180]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0047f8f0
lea ecx, [esp + 0x1c0]
mov dword [esp + 8], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x100]
mov dword [esp], ecx
call fcn.0047f6b0
lea ecx, [esp + 0x100]
lea edx, [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0047f8b0
lea edx, [esp + 0x120]
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
lea edi, [esp + 0x40]
mov dword [esp], edx
call fcn.0047f8b0
lea ecx, [esp + 0xa0]
mov dword [esp + 4], edi
mov dword [esp], ebp
lea edi, [esp + 0x140]
mov dword [esp + 8], ecx
call fcn.0047f8f0
lea edx, [esp + 0x208]
mov dword [esp], edi
mov dword [esp + 8], ebp
lea edi, [esp + 0xc0]
mov dword [esp + 4], edx
mov dword [esp + 0x18], edx
call fcn.0047f6b0
lea ecx, [esp + 0x140]
lea edx, [esp + 0xa0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0047f8b0
lea edx, [esp + 0x160]
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
lea edi, [esp + 0x120]
mov dword [esp], edx
call fcn.0047f8b0
lea ecx, [esp + 0x160]
lea edx, [esp + 0x180]
mov dword [esp + 4], edi
lea edi, [esp + 0x208]
mov dword [esp + 8], ecx
mov dword [esp], edx
call fcn.0047f8f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x1c0]
fld qword [eax + 0x70]
mov dword [esp], ebp
fstp qword [esp + 4]
call fcn.0047f930
fld qword [esp + 0x1a8]
mov dword [esp + method.et.virtual_0], vtable.et.0
mov dword [esp + method.et.virtual_0], vtable.et.0
fst qword [esp + 0x30]
fstp qword [esp + 0xe8]
fld qword [esp + 0x1b0]
fst qword [esp + 0x28]
fstp qword [esp + 0xf0]
fld qword [esp + 0x1b8]
fst qword [esp + 0x20]
fstp qword [esp + 0xf8]
fldz
fst qword [esp + 0x148]
fst qword [esp + 0x150]
fstp qword [esp + 0x158]
jmp 0x479de9
fstp st(0)
fstp st(0)
fstp st(0)
lea eax, [esp + 0x180]
add esi, 8
add edi, 8
mov dword [esp + method.et.virtual_0], vtable.et.0
mov dword [esp + method.et.virtual_0], vtable.et.0
fld qword [esi + 0x28]
fld qword [esi + 0x10]
fld qword [esi - 8]
fstp qword [esp + 0x168]
fstp qword [esp + 0x170]
fstp qword [esp + 0x178]
fld qword [edi + 0x28]
fld qword [edi + 0x10]
fld qword [edi - 8]
mov dword [esp + 8], eax
lea eax, [esp + 0x160]
mov dword [esp], ebp
fstp qword [esp + 0x188]
mov dword [esp + 4], eax
fstp qword [esp + 0x190]
fstp qword [esp + 0x198]
call fcn.0047fa20
fld qword [esp + 0x1a8]
lea eax, [esp + 0x1d8]
fadd qword [esp + 0x148]
cmp esi, eax
fst qword [esp + 0x148]
fld qword [esp + 0x1b0]
fadd qword [esp + 0x150]
fst qword [esp + 0x150]
fld qword [esp + 0x1b8]
fadd qword [esp + 0x158]
fst qword [esp + 0x158]
jne 0x479de3
fld dword [0x4bbd50]
lea eax, [esp + 0x140]
fmul st(3), st(0)
fxch st(3)
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
fstp qword [esp + 0x148]
fxch st(1)
fmul st(2)
fstp qword [esp + 0x150]
fmulp st(1)
fstp qword [esp + 0x158]
fld qword [eax + 0x78]
mov dword [esp], ebp
fstp qword [esp + 4]
call fcn.0047f930
fld qword [esp + 0x1a8]
lea eax, [ebx + 0x68]
lea ecx, [esp + 0xe0]
fst qword [esp + 0x128]
cmp ecx, eax
fld qword [esp + 0x1b0]
fst qword [esp + 0x130]
fld qword [esp + 0x1b8]
fst qword [esp + 0x138]
je 0x479f40
fld qword [esp + 0x30]
fstp qword [ebx + 0x70]
fld qword [esp + 0x28]
fstp qword [ebx + 0x78]
fld qword [esp + 0x20]
fstp qword [ebx + 0x80]
lea eax, [ebx + 0x88]
lea edx, [esp + 0x120]
cmp edx, eax
je 0x479f70
fxch st(2)
fstp qword [ebx + 0x90]
fstp qword [ebx + 0x98]
fstp qword [ebx + 0xa0]
jmp 0x479f80
fstp st(0)
fstp st(0)
fstp st(0)
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
sub eax, edx
sar eax, 3
imul eax, eax, 0x3cf3cf3d
cmp eax, ecx
jg 0x479b43
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
sub esi, eax
lea ecx, [ebx + 0xa8]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.004a9620
sub esp, 0xc
jmp 0x4799ee
push esi
push ebx
xor ebx, ebx
mov esi, ecx
sub esp, 4
mov eax, dword [ecx + 0x80]
test eax, eax
jle 0x47f605
mov ecx, esi
add ebx, 1
call fcn.0047e720
cmp dword [esi + 0x80], ebx
jg 0x47f5f3
add esp, 4
mov ecx, esi
pop ebx
pop esi
jmp 0x479910