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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1058
call fcn.004a54a0
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x68c]
mov dword [esp + 0x2c], edx
cmp eax, edx
mov dword [esp + 0x34], edx
jne 0x4fb9d7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x71c]
lea eax, [esp + 0x144]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x1d4]
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ebx
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov al, byte [ecx + 1]
test al, al
je 0x4fbb8a
cmp byte [ecx], 0
je 0x4fbb8a
mov byte [ecx + 2], 0
lea eax, [esp + ebx + 0x3c]
add ecx, 0xfffffff4
mov edx, eax
fld dword [esi + 0x78]
mov ebx, dword [ecx]
push eax
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
fmul dword [esp + ebx + 0x48]
fld dword [esi + 0x74]
fmul dword [esp + ebx + 0x44]
faddp st(1)
fld dword [esi + 0x70]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esi + 0x84]
fmul dword [esp + ebx + 0x48]
fld dword [esi + 0x80]
fmul dword [esp + ebx + 0x44]
mov ecx, dword [esp + 0x1c]
faddp st(1)
fld dword [esi + 0x7c]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esi + 0x90]
fmul dword [esp + ebx + 0x48]
fld dword [esi + 0x8c]
fmul dword [esp + ebx + 0x44]
faddp st(1)
fld dword [esi + 0x88]
fmul dword [eax]
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
faddp st(1)
mov dword [edx + 4], ecx
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [edx + 8], ecx
lea ecx, [esp + ebx + 0x3b0]
fld dword [eax]
lea eax, [esi + 0xf0]
mov dword [esp + 0x14], ecx
fstp qword [esp + edi + 0x1a0]
fld dword [esp + ebx + 0x44]
push eax
push ecx
fstp qword [esp + edi + 0x1b0]
fld dword [esp + ebx + 0x50]
fstp qword [esp + edi + 0x1b8]
fld qword [esi + 0x20]
fadd qword [esp + edi + 0x1a8]
fstp qword [esp + edi + 0x1a8]
fld qword [esi + 0x28]
fadd qword [esp + edi + 0x1b0]
fstp qword [esp + edi + 0x1b0]
fld qword [esi + 0x30]
fadd qword [esp + edi + 0x1b8]
fstp qword [esp + edi + 0x1b8]
call fcn.004ecf80
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add esp, 0xc
fld dword [edx]
fadd qword [esp + edi + 0x19c]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
fstp qword [esp + edi + 0x4b4]
fld dword [esp + ebx + 0x3b0]
fadd qword [esp + edi + 0x1a4]
fstp qword [esp + edi + 0x4bc]
fld dword [esp + ebx + 0x3b4]
fadd qword [esp + edi + 0x1ac]
fstp qword [esp + edi + 0x4c4]
inc ecx
add ebx, 0xc
add edi, 0x18
add eax, 4
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
inc edx
add eax, 0x70
add ecx, 0x38
cmp edx, 0x16
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
jl 0x4fba03
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4fbbb9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push ecx
push edx
push eax
lea eax, [esp + 0x4c4]
lea ecx, [esp + 0x1ac]
push eax
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x6d8]
push ecx
push edx
push eax
mov dword [esi + 0x1b8], 0
call fcn.004cc2a0
mov eax, dword [esp + 0x4c]
xor edx, edx
add esp, 0x20
cmp eax, edx
mov dword [esp + 0x28], edx
jle 0x4fbef5
lea ecx, [esp + 0x144]
lea edi, [esp + 0x71c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi]
lea ecx, [edi - 0x58]
cmp eax, edx
mov dword [esp + 0x24], ecx
je 0x4fbddd
mov eax, dword [edi - 8]
mov dword [esp + 0xc], edx
cmp eax, edx
je 0x4fbc52
fld dword [eax + 0xc]
fcomp dword [0x5333ec]
mov dword [esp + 0xc], 1
fnstsw ax
test ah, 0x40
je 0x4fbc52
mov dword [esp + 0xc], edx
mov eax, dword [ecx]
cmp eax, edx
je 0x4fbca9
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, eax
call fcn.004fc860
and eax, 0xff
lea edx, [eax + eax*2]
xor eax, eax
mov ax, word [ebx + 0x1c]
shl edx, 7
add edx, eax
mov eax, dword [edx*4 + 0xa96ae0]
test eax, eax
je 0x4fbc94
lea ecx, [esp + 0x18]
push ecx
push ebx
call eax
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
mov dword [esp + 0x34], eax
je 0x4fbcfe
xor edx, edx
cmp dword [esp + 0xc], edx
jne 0x4fbcf7
mov eax, dword [esp + 0x14]
fld dword [esp + eax + 0x3b4]
fld dword [esp + eax + 0x3b0]
fld dword [esp + eax + 0x3ac]
lea eax, [esp + eax + 0x3b0]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd dword [0x533730]
fcomp qword [edi + 8]
fnstsw ax
test ah, 0x41
jne 0x4fbd00
mov eax, 1
jmp 0x4fbd02
xor edx, edx
xor eax, eax
cmp eax, edx
mov dword [edi], eax
je 0x4fbddd
mov ecx, dword [esp + 0x10]
fld qword [edi + 8]
mov eax, dword [ecx]
lea ecx, [edi - 0x20]
lea edx, [eax*8]
sub edx, eax
fstp dword [esi + edx*8 + 0x1ec]
fld dword [ecx]
fcomp dword [0x5333ec]
lea edx, [esi + edx*8]
fnstsw ax
test ah, 0x40
je 0x4fbd5a
fld dword [edi - 0x1c]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4fbd5a
fld dword [edi - 0x18]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x4fbd98
fld dword [edi - 0x18]
fld dword [edi - 0x1c]
fld dword [ecx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [ecx]
fmul st(1)
fstp dword [ecx]
fld dword [edi - 0x1c]
fmul st(1)
fstp dword [edi - 0x1c]
fld dword [edi - 0x18]
fmul st(1)
fstp dword [edi - 0x18]
fstp st(0)
mov eax, ecx
add edx, 0x1e0
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x70]
push eax
lea eax, [esp + edx + 0x44]
push eax
lea eax, [esi + 0xf0]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.004fc870
add esp, 0x14
cmp eax, 2
je 0x4fbe16
xor edx, edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
add ecx, 0xc
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, 4
add edi, 0x70
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
jl 0x4fbc1a
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1b8]
push 1
inc eax
mov dword [esp + 0x34], 2
mov dword [esi + 0x1b8], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + eax*4 + 0x148]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x28]
push edi
lea ecx, [edi*8]
lea ebx, [esp + edx*4 + 0x44]
sub ecx, edi
lea edx, [esp + 0x40]
add eax, 0x38
mov byte [esi + ecx*8 + 0x1d6], 1
mov ecx, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
push esi
mov dword [esp + 0x40], eax
call fcn.004fbf00
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0x14]
push ebx
push edi
push ecx
push edx
push eax
push esi
call fcn.004fbf50
mov eax, dword [esp + 0x6c]
add esp, 0x38
test eax, eax
je 0x4fbef5
mov ecx, dword [esp + 0xc]
push ecx
lea eax, [ecx + 0x18]
mov edx, eax
mov esi, dword [edx]
mov dword [esp + 0x1c], esi
fld dword [esp + 0x1c]
fmul dword [0x533518]
mov esi, dword [edx + 4]
mov dword [esp + 0x20], esi
mov edx, dword [edx + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [0x533518]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x533518]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edx
call fcn.004ecdb0
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret