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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51dda8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x34], 0x5205d8
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x80], edi
call fcn.00471650
mov esi, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
call fcn.0047a350
lea ecx, [esp + 0x60]
call fcn.0047a350
mov ebx, dword [ebp + 0x2c]
xor eax, eax
cmp esi, edi
mov dword [esp + 0x14], eax
jle 0x4f43ff
mov ecx, dword [ebp + 0x30]
push eax
call fcn.00471660
mov esi, eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00479420
cmp eax, 7
je 0x4f42be
mov ecx, esi
call fcn.00479420
cmp eax, 8
jne 0x4f43e8
add esi, 0x18
mov ecx, 6
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0047e880
fcomp qword [0x522c70]
fnstsw ax
test ah, 1
je 0x4f4349
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0047e8d0
fst qword [esp + 0xc]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 1
jne 0x4f4349
fld qword [esp + 0xc]
fcomp qword [0x520868]
fnstsw ax
test ah, 0x41
je 0x4f4349
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00404bc0
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00479420
cmp eax, 8
jne 0x4f43e8
add esi, 0x78
mov ecx, 6
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0047e880
fcomp qword [0x522c70]
fnstsw ax
test ah, 1
je 0x4f43e8
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0047e8d0
fst qword [esp + 0x1c]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 1
jne 0x4f43e8
fld qword [esp + 0x1c]
fcomp qword [0x520868]
fnstsw ax
test ah, 0x41
je 0x4f43e8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00404bc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4f4293
xor edi, edi
mov eax, dword [esp + 0x3c]
cmp eax, edi
jne 0x4f448d
fld qword [ebx + 0x18]
fadd qword [ebx]
mov esi, dword [ebp + 0x34]
push 0xffffffffffffffff
mov ecx, dword [esi + 8]
fstp qword [esp + 0x28]
fld qword [ebx + 0x20]
fadd qword [ebx + 8]
inc ecx
push ecx
mov ecx, esi
fstp qword [esp + 0x34]
call fcn.0042f940
mov eax, dword [esi + 8]
fld qword [esp + 0x24]
lea edx, [eax + eax*2]
mov eax, dword [esi + 4]
fstp dword [eax + edx*4 - 8]
fld qword [esp + 0x2c]
lea eax, [eax + edx*4 - 0xc]
fstp dword [eax + 8]
mov dword [eax], 3
mov dword [esp + 0x34], 0x5205d8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 1
cmp eax, edi
je 0x4f4661
push eax
call fcn.0050b204
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x38]
lea esi, [eax - 1]
test esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
jle 0x4f4554
lea eax, [esi - 1]
xor esi, esi
cmp edi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], esi
mov edx, edi
jg 0x4f44f6
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi*8]
fld qword [ecx]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x4f44e6
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [ecx + 0xc]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov esi, edx
mov eax, dword [esp + 0xc]
inc edx
add ecx, 8
cmp edx, eax
jle 0x4f44be
mov dword [esp + 0x1c], esi
lea eax, [edi + 1]
xor edi, edi
cmp esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov edx, esi
jl 0x4f4548
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + esi*8]
fld qword [ecx - 8]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4f4538
mov edi, dword [ecx - 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [ecx - 4]
mov dword [ecx + 4], edi
mov dword [ecx - 8], eax
mov dword [ecx - 4], esi
mov esi, dword [esp + 0x1c]
mov edi, edx
mov eax, dword [esp + 0xc]
dec edx
sub ecx, 8
cmp edx, eax
jge 0x4f4510
mov dword [esp + 0x14], edi
cmp edi, esi
jl 0x4f44a4
mov eax, dword [esp + 0x3c]
fld qword [ebp + 0x14]
fdiv qword [ebx + 0x10]
mov esi, dword [ebp + 0x34]
xor edi, edi
test eax, eax
fstp qword [esp + 0x1c]
jle 0x4f462e
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
inc eax
push 0xffffffffffffffff
fld qword [edx + edi*8]
fld st(0)
fmul qword [ebx + 0x18]
push eax
mov ecx, esi
fadd qword [ebx]
fstp qword [esp + 0x2c]
fmul qword [ebx + 0x20]
fadd qword [ebx + 8]
fstp qword [esp + 0x34]
call fcn.0042f940
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
fld qword [esp + 0x24]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4 - 8]
fld qword [esp + 0x2c]
lea eax, [edx + ecx*4 - 0xc]
fstp dword [eax + 8]
fld qword [esp + 0x1c]
mov dword [eax], 3
mov ecx, dword [esp + 0x38]
fadd qword [ecx + edi*8]
fcom qword [0x520868]
fnstsw ax
test ah, 0x41
je 0x4f4675
fld st(0)
fmul qword [ebx + 0x18]
push esi
sub esp, 0x10
fadd qword [ebx]
mov eax, esp
sub esp, 8
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
fmul qword [ebx + 0x20]
mov dword [eax], ecx
fadd qword [ebx + 8]
mov dword [eax + 4], edx
fstp qword [esp + 0x48]
fld qword [ebp + 0xc]
fdiv qword [ebp + 0x14]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
fstp qword [esp]
push eax
call fcn.004f3f40
mov eax, dword [esp + 0x5c]
add esp, 0x20
inc edi
cmp edi, eax
jl 0x4f456b
fld qword [ebx + 0x18]
fadd qword [ebx]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
fstp qword [esp + 0x28]
fld qword [ebx + 0x20]
fadd qword [ebx + 8]
fstp qword [esp + 0x30]
call fcn.004f5cb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404530
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
mov dword [esp + 0x34], 0x5205d8
test ecx, ecx
mov dword [esp + 0x80], 2
je 0x4f4697
push ecx
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret