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

Disassembly:
sub esp, 0xa14
push ebx
push ebp
mov ebp, dword [esp + 0xa20]
push esi
push edi
mov edx, dword [ebp]
test dl, 2
mov dword [esp + 0x1c], edx
je 0x4efeb2
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4efbdb
push ebx
call fcn.004bcf00
add esp, 4
test eax, eax
jne 0x4efb82
push ebx
call fcn.004bd2b0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xa8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
mov esi, edx
and esi, 0x2000
mov dword [esp + 0x28], esi
je 0x4efb41
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x4efb41
mov edx, dword [0x69fdfc]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x69fdfc]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x69fdfc]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x69fdfc]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
lea ebx, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x264]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x4c], edx
jle 0x4f03e0
add ecx, 8
mov dword [esp + 0x18], ecx
jmp 0x4efc7f
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x4efab9
mov ecx, 0x10
lea esi, [esp + 0xa4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xa4]
push ecx
push edx
push eax
call fcn.004b9e80
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x4efb9e
jmp 0x4efab9
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], 0x3f800000
or eax, 0x20003
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb0], eax
jmp 0x4efabd
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
cmp edx, 0x4f0410
jne 0x4efdac
fld dword [ebx + 8]
fld dword [ebx + 0xc]
fld st(1)
fmul st(2)
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x38]
fld st(0)
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x30]
fld st(0)
fmul st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x20]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fld dword [esp + 0x40]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fsubr dword [0x58b454]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x30]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x58b454]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x58b454]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x4efdb7
lea ecx, [esp + 0x54]
push ebx
push ecx
call edx
add esp, 8
lea edx, [esp + 0xa4]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.004b9e80
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx + 4]
test eax, eax
je 0x4efe2a
mov ecx, dword [esp + 0x1c]
test ch, 0x10
je 0x4efe09
lea edi, [eax + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4efe0d
push eax
call fcn.004bd230
add esp, 4
jmp 0x4efe2a
test esi, esi
je 0x4efe2a
lea edi, [eax + 0x50]
mov ecx, 0x10
lea esi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 3]
and cl, 0xfb
or cl, 8
mov byte [eax + 3], cl
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and eax, 3
sub eax, 0
je 0x4efe5b
dec eax
je 0x4efea5
dec eax
jne 0x4efe70
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, 0x10
lea esi, [esp + 0xa4]
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x164]
lea edi, [esp + 0xa4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
add ebx, edi
add esi, 0x10
inc eax
mov dword [esp + 0x18], esi
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4efc77
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov esi, dword [esp + 0x14]
sub esi, 0x40
mov dword [esp + 0x14], esi
jmp 0x4efe62
test dl, 1
mov esi, 0x20003
je 0x4efeeb
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x4efeeb
mov ecx, dword [ebp + 0x18]
shl eax, 6
add eax, dword [ecx + 8]
test dh, 0x20
mov dword [esp + 0x10], eax
je 0x4effe9
test dh, 0x40
je 0x4effe9
mov ecx, dword [ecx + 0x14]
jmp 0x4effa8
test dh, 0x40
je 0x4eff9a
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x124]
or ecx, esi
mov dword [esp + 0x14c], 0x3f800000
test dh, 0x20
mov dword [esp + 0x138], 0x3f800000
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x134], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x10], eax
je 0x4effe9
jmp 0x4effa5
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4f0113
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4f0113
push ebx
call fcn.004bcf00
add esp, 4
test eax, eax
jne 0x4f00ba
push ebx
call fcn.004bd2b0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xe8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
and edx, 0x2000
mov dword [esp + 0x44], edx
je 0x4f006b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x4f006b
mov edx, dword [0x69fdfc]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x69fdfc]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x69fdfc]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x69fdfc]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], 0
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x94], edx
lea edi, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x1a8]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edi
jle 0x4f03e0
add edx, 8
mov dword [esp + 0x20], edx
jmp 0x4f01b0
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x4effe5
mov ecx, 0x10
lea esi, [esp + 0xe4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.004b9e80
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x4f00d6
jmp 0x4effe5
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10c], 0x3f800000
or eax, esi
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xf0], eax
jmp 0x4effe9
mov ecx, dword [esp + 0x50]
cmp ecx, 0x4f0410
jne 0x4f02dd
fld dword [edi + 8]
fld dword [edi + 0xc]
fld st(1)
fmul st(2)
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x2c]
fld st(0)
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x3c]
fld st(0)
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x28]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fsubr dword [0x58b454]
fstp dword [esp + 0x54]
fld dword [esp + 0x40]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x58b454]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x30]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x58b454]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
jmp 0x4f02e8
lea edx, [esp + 0x54]
push edi
push edx
call ecx
add esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
call fcn.004b9e80
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x4f0384
mov eax, dword [esp + 0x1c]
test ah, 0x10
je 0x4f0338
lea edi, [ebx + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x4f0342
push ebx
call fcn.004bd230
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x4f0384
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4f0384
jmp 0x4f034a
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
test ah, 0x40
je 0x4f0366
lea eax, [esp + 0xe4]
lea ecx, [ebx + 0x50]
push eax
push esi
push ecx
call fcn.004b9e80
add esp, 0xc
jmp 0x4f0378
lea edi, [ebx + 0x50]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov dl, byte [ebx + 3]
and dl, 0xfb
or dl, 8
mov byte [ebx + 3], dl
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
and eax, 3
sub eax, 0
je 0x4f03a9
dec eax
je 0x4f03f0
dec eax
jne 0x4f03ad
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ecx, dword [ebp + 4]
add esi, 0x40
add ebx, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
jl 0x4f01ac
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov eax, dword [esp + 0x18]
sub eax, 4
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x4f03ad