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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52e8b8
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00498b70
test eax, eax
jne 0x4ff906
mov eax, dword [edi + 0x4dc]
xor ebx, ebx
cmp eax, ebx
je 0x4ff906
call fcn.00410760
mov ecx, dword [eax + 0x4c]
mov ebp, dword [esp + 0xf8]
cmp ecx, ebx
jne 0x4ff0e0
mov al, byte [esp + 0xf4]
test al, al
je 0x4ff5fe
mov ecx, dword [edi + 0x4dc]
call fcn.0047ab90
mov esi, eax
mov dword [esp + 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x4ff1ad
mov eax, dword [esi + 4]
add eax, ebx
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, 6
jne 0x4ff196
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
fld dword [esp + 0x58]
mov edx, dword [eax + 8]
fstp qword [esp + 0x10]
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], edx
add eax, ebx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax + 4]
push ecx
lea ecx, [edi + 0x450]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
fld dword [esp + 0x44]
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp + 8]
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004a6900
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4ff0fa
mov eax, dword [esi + 8]
test eax, eax
je 0x4ff22d
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x3c]
mov edx, dword [edx + 8]
fstp qword [esp + 0x10]
mov eax, dword [esi + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax + 4]
push ecx
lea ecx, [edi + 0x450]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
fld dword [esp + 0x44]
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp + 8]
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004a6900
call fcn.00410760
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x4ff248
mov al, byte [esp + 0xf4]
test al, al
je 0x4ff5fe
mov ecx, dword [edi + 0x4dc]
call fcn.0047a490
mov ebx, eax
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [ebx + 8], eax
jle 0x4ff540
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, eax
mov ecx, dword [edx]
cmp ecx, 6
mov esi, dword [edx + 4]
mov dword [esp + 0xbc], esi
mov edx, dword [edx + 8]
mov dword [esp + 0xc0], edx
jne 0x4ff313
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], edx
fld dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
fstp qword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
add ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x10]
mov eax, dword [ecx + 4]
push edx
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x60], ecx
lea ecx, [edi + 0x450]
fld dword [esp + 0x60]
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov edx, dword [esp + 0x10]
sub esp, 0x10
mov ecx, esp
mov eax, dword [ebp + 8]
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0xc], edx
mov ecx, ebp
call fcn.004a6900
jmp 0x4ff521
mov edx, eax
mov ecx, dword [edx]
cmp ecx, 4
mov esi, dword [edx + 4]
mov dword [esp + 0xbc], esi
mov edx, dword [edx + 8]
mov dword [esp + 0xc0], edx
jne 0x4ff521
lea ecx, [eax - 0xc]
mov edx, ecx
mov esi, dword [edx]
mov dword [esp + 0x60], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x64], esi
mov edx, dword [edx + 8]
mov dword [esp + 0x68], edx
mov dl, byte [esp + 0x60]
test dl, 6
jne 0x4ff465
mov edx, dword [eax]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x98], eax
mov edx, dword [ecx]
fld dword [esp + 0x98]
fadd dword [esp + 0x80]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], ecx
fmul dword [0x539d10]
fstp qword [esp + 0x10]
mov edx, dword [ebx + 4]
add eax, edx
mov ecx, eax
add eax, 0xfffffff4
mov edx, dword [ecx]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xa4], edx
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x70], edx
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], ecx
lea ecx, [edi + 0x450]
mov edx, dword [eax + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x78], edx
push eax
fld dword [esp + 0x7c]
fadd dword [esp + 0xac]
fmul dword [0x539d10]
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
lea edx, [esi + 1]
mov dword [esp + 0x50], ecx
push 0xffffffffffffffff
push edx
mov ecx, ebp
mov dword [esp + 0x54], eax
call fcn.004c4110
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x48]
shl esi, 4
mov edx, dword [esp + 0x4c]
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esi], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
jmp 0x4ff521
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], edx
fld dword [esp + 0x8c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], ecx
fstp qword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x90], eax
add ecx, edx
mov edx, dword [ecx]
mov dword [esp + 0xac], edx
lea edx, [esp + 0x10]
mov eax, dword [ecx + 4]
push edx
mov dword [esp + 0xb4], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb8], ecx
lea ecx, [edi + 0x450]
fld dword [esp + 0xb8]
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
mov ecx, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.004c4110
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x28]
shl esi, 4
mov ecx, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esi], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
jl 0x4ff268
mov ecx, dword [edi + 0x4dc]
xor ebx, ebx
call fcn.0047b3d0
test eax, eax
jle 0x4ff5f3
mov ecx, dword [edi + 0x4dc]
push ebx
call fcn.0047b3e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 0x450]
mov dword [esp + 0x20], edx
call fcn.0048a9d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
lea edx, [esi + 1]
mov dword [esp + 0x34], ecx
push 0xffffffffffffffff
push edx
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.004c4110
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
shl esi, 4
mov edx, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esi], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x4dc]
call fcn.0047b3d0
cmp ebx, eax
jl 0x4ff555
mov al, byte [esp + 0xf4]
test al, al
jne 0x4ff60e
call fcn.00410760
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x4ff77e
lea ecx, [esp + 0xc8]
call fcn.00483030
lea ecx, [esp + 0xc8]
xor ebx, ebx
push ecx
mov ecx, dword [edi + 0x4dc]
mov dword [esp + 0xf0], ebx
call fcn.0047ad80
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x4ff767
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + ebx]
test cl, 6
jne 0x4ff6cd
fld dword [eax + ebx + 4]
lea edx, [esp + 0x10]
lea ecx, [edi + 0x450]
fstp qword [esp + 0x10]
fld dword [eax + ebx + 8]
push edx
fstp qword [esp + 0x1c]
call fcn.0048a9d0
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
mov ecx, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.004c4110
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x28]
shl esi, 4
mov ecx, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esi], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jmp 0x4ff745
cmp ecx, 4
jne 0x4ff74c
fld dword [eax + ebx + 4]
lea ecx, [edi + 0x450]
fstp qword [esp + 0x10]
fld dword [eax + ebx + 8]
lea eax, [esp + 0x10]
fstp qword [esp + 0x18]
push eax
call fcn.0048a9d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
lea edx, [esi + 1]
mov dword [esp + 0x50], ecx
push 0xffffffffffffffff
push edx
mov ecx, ebp
mov dword [esp + 0x54], eax
call fcn.004c4110
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x48]
shl esi, 4
mov edx, dword [esp + 0x4c]
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esi], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xd0]
inc ecx
add ebx, 0xc
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x4ff650
lea ecx, [esp + 0xc8]
mov dword [esp + 0xec], 0xffffffff
call fcn.00483080
lea ecx, [esp + 0xb8]
push ecx
mov ecx, edi
call fcn.00498bc0
mov edx, dword [eax]
xor edi, edi
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov esi, edx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
lea ebx, [esi + 1]
mov dword [esp + 0x6c], esi
cmp ebx, edi
jne 0x4ff7d8
cmp eax, edi
je 0x4ff7cd
push eax
call fcn.0051aee4
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x4ff8e3
cmp eax, edi
jne 0x4ff80e
mov edi, ebx
shl edi, 4
push edi
call fcn.0051af44
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4ff8e3
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x4ff83f
cmp ebx, edx
jle 0x4ff837
mov ecx, ebx
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x4ff8e3
mov eax, dword [ebp + 0x10]
cmp eax, edi
jne 0x4ff869
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4ff85d
mov eax, 4
jmp 0x4ff869
cmp eax, 0x400
jle 0x4ff869
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x20], eax
jl 0x4ff877
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
shl eax, 4
push eax
call fcn.0051af44
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x28], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call fcn.0051aee4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
add esp, 8
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
shl esi, 4
mov edx, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 8