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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdf4
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x4f4b5a
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push esi
mov edx, dword [ecx]
push eax
call dword [edx + 0xc8]
test eax, eax
jne 0x4f5640
jmp 0x4f4b5d
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xc0]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.004b1540
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
fld qword [esi + 0xd0]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
fsub qword [esp + 0x98]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov edi, 1
mov dword [esp + 0x7c], edi
fstp qword [esp + 0x38]
fld qword [esi + 0xd8]
fsub qword [esp + 0x88]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fabs
fcomp qword [0x574f40]
fnstsw ax
test ah, 1
jne 0x4f4bff
mov dword [esp + 0x7c], 0
fld qword [esp + 0x30]
fabs
fcomp qword [0x574f40]
fnstsw ax
test ah, 1
je 0x4f4c18
mov dword [esp + 0x64], edi
jmp 0x4f4c24
mov dword [esp + 0x64], 0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4f4c55
test edi, edi
je 0x4f4c55
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x4f4da9
fld qword [esp + 0x30]
fmul qword [esp + 0x30]
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
faddp st(1)
fdivr qword [0x571818]
fld qword [esp + 0xb0]
fsub qword [esp + 0x98]
fmul qword [esp + 0x38]
fld qword [esp + 0xb8]
fsub qword [esp + 0x88]
fmul qword [esp + 0x30]
fst qword [esp + 0x68]
fadd st(1)
fmul st(2)
fstp qword [esp + 0x20]
fld qword [esp + 0xc0]
fsub qword [esp + 0x88]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fmul qword [esp + 0x30]
fst qword [esp + 0x70]
faddp st(1)
fmul st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4f4cd8
fstp qword [esp + 0x10]
jmp 0x4f4ceb
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4f4ce9
fstp qword [esp + 0x20]
jmp 0x4f4ceb
fstp st(0)
fld qword [esp + 0xc8]
fsub qword [esp + 0x98]
fmul qword [esp + 0x38]
fld st(0)
fadd qword [esp + 0x68]
fmul st(2)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4f4d16
fstp qword [esp + 0x10]
jmp 0x4f4d29
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4f4d27
fstp qword [esp + 0x20]
jmp 0x4f4d29
fstp st(0)
fadd qword [esp + 0x70]
fmulp st(1)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4f4d40
fstp qword [esp + 0x10]
jmp 0x4f4d53
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4f4d51
fstp qword [esp + 0x20]
jmp 0x4f4d53
fstp st(0)
fld qword [esp + 0x10]
fcomp qword [0x571800]
fnstsw ax
test ah, 1
je 0x4f4d7e
mov eax, dword [esi + 0x174]
test eax, eax
jne 0x4f4d7e
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fld qword [esp + 0x20]
fcomp qword [0x571818]
fnstsw ax
test ah, 0x41
jne 0x4f4da9
mov eax, dword [esi + 0x178]
test eax, eax
jne 0x4f4da9
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3ff00000
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0xec]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x84], edx
call dword [eax + 0x18]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
fmul qword [0x571968]
mov dword [esp + 0x9f4], eax
mov dword [esp + 0x1f4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1f8], edx
mov dword [esp + 0x9fc], 0x80
mov dword [esp + 0xbfc], 0x100
fstp qword [esp + 0x5f4]
fld qword [esp + 0x10]
fcomp qword [0x571800]
mov dword [esp + 0x9f8], ecx
fnstsw ax
test ah, 1
je 0x4f4e5d
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x4f4e9d
fld qword [esp + 0x10]
fcomp qword [0x571818]
fnstsw ax
test ah, 0x41
jne 0x4f4e86
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x4f4e9d
fld qword [esp + 0x80]
fsub qword [esp + 0x58]
fmul qword [esp + 0x10]
fadd qword [esp + 0x58]
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xf4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004ac890
fld qword [esp + 0x10]
fmul qword [esp + 0x38]
mov eax, dword [esp + 0x7c]
test eax, eax
fadd qword [esp + 0x98]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fadd qword [esp + 0x88]
fstp qword [esp + 0x28]
je 0x4f4f45
test edi, edi
je 0x4f4eff
fld qword [0x571800]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x4f5070
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fld qword [esp + 0xc8]
fsub st(2)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4f5070
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x4f5068
fld qword [esp + 0xb8]
fsub qword [esp + 0x28]
test edi, edi
fdiv qword [esp + 0x38]
je 0x4f4f97
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
fdiv qword [esp + 0x38]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4f5070
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x4f5070
fstp qword [esp + 0xd4]
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
xor edx, edx
fdiv qword [esp + 0x38]
fstp qword [esp + 0xdc]
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xe4]
fld qword [esp + 0xc8]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xec]
lea esi, [edx + 1]
mov dword [esp + 0x48], edx
cmp esi, 4
mov dword [esp + 0x18], esi
mov ecx, esi
jge 0x4f5027
lea edi, [edx*8]
lea esi, [ecx*8]
fld qword [esp + esi + 0xd4]
fcomp qword [esp + edi + 0xd4]
fnstsw ax
test ah, 1
je 0x4f501d
mov dword [esp + 0x48], ecx
mov edi, esi
inc ecx
cmp ecx, 4
jl 0x4f4ffb
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea eax, [esp + edx*8 + 0xd4]
mov edx, dword [esp + ecx*8 + 0xd4]
lea ecx, [esp + ecx*8 + 0xd4]
fld qword [eax]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, esi
fstp qword [ecx]
cmp edx, 3
jl 0x4f4fe2
fld qword [esp + 0xdc]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld st(0)
fmul qword [esp + 0x30]
xor esi, esi
fsubr st(2)
fstp qword [esp + 0xa8]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0xa0]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fsubr st(1)
fstp qword [esp + 0x70]
fstp st(0)
fld qword [esp + 0x10]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x68]
mov edi, dword [esp + esi*4 + 0x9fc]
lea eax, [esp + esi*4 + 0x9fc]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
cmp edi, eax
jle 0x4f51c5
fld qword [esp + edi*8 + 0x1f4]
fcomp qword [0x571800]
fnstsw ax
test ah, 1
je 0x4f50f3
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x4f5139
fld qword [esp + edi*8 + 0x1f4]
fcomp qword [0x571818]
fnstsw ax
test ah, 0x41
jne 0x4f511f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x4f5139
fld qword [esp + 0x80]
fsub qword [esp + 0x58]
fmul qword [esp + edi*8 + 0x1f4]
fadd qword [esp + 0x58]
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x174]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.004ac890
mov eax, dword [esp + 0x54]
xor ecx, ecx
test eax, eax
jle 0x4f5182
mov eax, dword [esp + ecx*4 + 0x174]
mov edx, dword [esp + ecx*4 + 0xf4]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x4f5182
mov eax, dword [esp + 0x54]
inc ecx
cmp ecx, eax
jl 0x4f515d
cmp ecx, dword [esp + 0x54]
je 0x4f51c5
fld qword [esp + esi*8 + 0x1f4]
fadd qword [esp + edi*8 + 0x1f4]
mov ecx, dword [esp + 0x20]
lea eax, [esi + edi]
cdq
sub eax, edx
sar eax, 1
fmul qword [0x571968]
mov dword [ecx], eax
lea ecx, [esi + 1]
mov dword [esp + eax*4 + 0x9fc], edi
cmp eax, ecx
mov edi, eax
fstp qword [esp + eax*8 + 0x1f4]
jg 0x4f50cd
mov eax, dword [esp + 0x54]
xor ecx, ecx
test eax, eax
jle 0x4f51f4
mov eax, dword [esp + ecx*4 + 0x174]
mov edx, dword [esp + ecx*4 + 0xf4]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + ecx*4 + 0xf4], eax
mov eax, dword [esp + 0x54]
inc ecx
cmp ecx, eax
jl 0x4f51cf
fld qword [esp + 0x38]
fmul qword [esp + edi*8 + 0x1f4]
lea edi, [esp + edi*8 + 0x1f4]
mov eax, dword [esp + 0x7c]
test eax, eax
fadd qword [esp + 0x98]
fld qword [esp + 0x30]
fmul qword [edi]
mov eax, dword [esp + 0x64]
fadd qword [esp + 0x88]
fstp qword [esp + 0x28]
je 0x4f5297
test eax, eax
je 0x4f5249
fld qword [0x571800]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x4f53c2
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fld qword [esp + 0xc8]
fsub st(2)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4f53c2
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x4f53c2
fld qword [esp + 0xb8]
fsub qword [esp + 0x28]
test eax, eax
fdiv qword [esp + 0x38]
je 0x4f52e9
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
fdiv qword [esp + 0x38]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4f53c2
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x4f53c2
fstp qword [esp + 0xd4]
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
xor edx, edx
fdiv qword [esp + 0x38]
fstp qword [esp + 0xdc]
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xe4]
fld qword [esp + 0xc8]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xec]
lea esi, [edx + 1]
mov dword [esp + 0x48], edx
cmp esi, 4
mov dword [esp + 0x18], esi
mov ecx, esi
jge 0x4f5379
lea edi, [edx*8]
lea esi, [ecx*8]
fld qword [esp + esi + 0xd4]
fcomp qword [esp + edi + 0xd4]
fnstsw ax
test ah, 1
je 0x4f536f
mov dword [esp + 0x48], ecx
mov edi, esi
inc ecx
cmp ecx, 4
jl 0x4f534d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea eax, [esp + edx*8 + 0xd4]
mov edx, dword [esp + ecx*8 + 0xd4]
lea ecx, [esp + ecx*8 + 0xd4]
fld qword [eax]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, esi
fstp qword [ecx]
cmp edx, 3
jl 0x4f5334
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
fld qword [esp + 0xdc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld st(0)
fmul qword [esp + 0x30]
mov edi, dword [ebx + 0x18]
mov ecx, 0x20
add edi, 0x7c
lea esi, [esp + 0xf4]
fsubr st(2)
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x18]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x48]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x18]
push eax
fsubr st(1)
mov edx, dword [ecx]
fstp qword [esp + 0x94]
fstp st(0)
fld qword [esp + 0x14]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
call dword [edx + 0x70]
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0xac]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.004b0cb0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.004b0ce0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push ecx
push edx
mov ecx, dword [eax + 0x24c]
call fcn.004b0ce0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.004b0ce0
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x24c]
call fcn.004b0ea0
mov eax, dword [esi + 0x24c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [esi + 0x250]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [esi + 0x258]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov ecx, dword [ebx + 0x18]
call fcn.004b1ac0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, 0x20
lea esi, [esp + 0x174]
lea edi, [esp + 0xf4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x28]
cmp esi, 0x100
mov dword [esp + 0x68], eax
jl 0x4f50b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4