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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x585e46
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x66c240]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x66c240]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x12]
xor edi, edi
add eax, 0x1d6
cmp byte [eax], 0
je 0x4f284e
push edi
push 4
push edi
lea esi, [ebx + 0x289]
push eax
mov ecx, esi
call fcn.00478332
mov eax, dword [ebx + 0x12]
push ecx
mov ecx, esi
movss xmm0, dword [eax + 0x216]
movss dword [esp], xmm0
call fcn.00477dfe
push ecx
push ecx
mov dword [esp + 4], 0x3f490fd8
mov ecx, 0x6a7ab0
and dword [esp], edi
push esi
call fcn.004efb75
mov eax, dword [0x6a77f4]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x12]
push dword [eax + 0x182]
call fcn.004796d0
mov eax, dword [0x6a77f4]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x12]
push ecx
movss xmm0, dword [eax + 4]
movss dword [esp], xmm0
push dword [eax]
call fcn.004796e2
mov eax, dword [ebx + 0x12]
mov eax, dword [eax + 0xb4]
mov dword [0x6a3ea0], eax
mov eax, dword [0x6a3ea4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebx + 0x12]
mov edx, dword [eax]
push dword [ecx + 0x14]
push edi
push eax
call dword [edx + 0xd4]
mov eax, dword [ebx + 0x12]
cmp dword [eax + 0x30], edi
mov eax, dword [0x6a3ea4]
push eax
mov ecx, dword [eax]
je 0x4f28e5
call dword [ecx + 0x18]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [0x6a3ea4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebx + 0x12]
push edi
add ecx, 0x20
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xa0]
jmp 0x4f28f2
call dword [ecx + 0x18]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x6a3ea4]
and dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [ebx + 0x12]
push edi
sub esp, 0xc
mov edx, dword [eax]
movss xmm0, dword [ecx + 0x1c]
divss xmm0, dword [0x58c1a4]
mulss xmm0, dword [0x58c1a0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + 0x18]
lea ecx, [esp + 0x54]
movss dword [esp + 4], xmm0
mov dword [esp], 0x42c80000
push ecx
push eax
call dword [edx + 0x88]
mov eax, dword [ebx + 0x12]
mov ecx, 0x696f20
movss xmm0, dword [eax + 0x18]
and dword [0x6a8058], edi
movss dword [0x6a805c], xmm0
mov eax, dword [ebx + 0x12]
movss xmm0, dword [eax + 0x1c]
divss xmm0, dword [0x58c1a4]
mulss xmm0, dword [0x58c1a0]
movss dword [0x6a8060], xmm0
mov eax, dword [ebx + 0x12]
movzx eax, word [eax + 0x138]
push eax
call fcn.0044d83b
mov eax, dword [0x6a3ea4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
movss xmm1, dword [0x58a800]
lea esi, [esp + 0x38]
mov dword [esp + 0x5c], edi
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x12]
lea edi, [esp + 0x68]
or dword [esp + 0x60], 0xffffffff
or dword [esp + 0x64], 0xffffffff
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0xc]
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x10]
mov eax, dword [0x6a3ea4]
mulss xmm0, xmm1
push eax
movss dword [esp + 0x44], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x78], 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor edi, edi
lea edx, [esp + 0x5c]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
cmp byte [0x689bfd], 2
jne 0x4f2a84
and dword [esp + 0x38], edi
lea eax, [ebx + 0x354]
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.SS3DGFunc.dll__VECTOR3Length_4]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x38]
addss xmm0, dword [0x58b100]
push ecx
push ecx
lea ecx, [ebx + 0x31c]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3e490fd8
push eax
lea eax, [esp + 0x50]
push eax
push edi
call fcn.00476e01
mov eax, dword [ebx + 0x12]
cmp dword [eax + 0x13e], edi
je 0x4f2abd
mov esi, 0x69b980
push 0xc
mov ecx, esi
call fcn.0046c901
mov eax, dword [ebx + 0x12]
lea ecx, [ebx + 0x1f6]
push edi
push 4
push edi
add eax, 0x142
push eax
call fcn.00478332
push edi
mov ecx, esi
call fcn.0046c901
mov eax, dword [ebx + 0x12]
cmp dword [eax + 0x1ca], edi
je 0x4f2ce2
add eax, 0x18a
push eax
call fcn.0047650d
mov eax, dword [ebx + 0x12]
push dword [eax + 0x1d2]
push dword [eax + 0x1ce]
call fcn.0047679b
and dword [esp + 0x60], edi
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], 0x41a00000
mov dword [esp + 0x68], 0x41200000
call fcn.004767b0
add esp, 0x10
cmp dword [0x6a2210], edi
jne 0x4f2b27
push edi
push 0x13b
push str.MHMap.cpp
call fcn.0040f147
add esp, 0xc
mov eax, dword [ebx + 0x12]
mov eax, dword [eax + 0x1ca]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x58a810]
call fcn.0055ff30
call fcn.0055fc71
movss xmm1, dword [0x58ace0]
mov esi, eax
mov ecx, esi
mov dword [esp + 0x30], esi
shr ecx, 0x1f
mov dword [esp + 0x24], edi
movd xmm0, esi
mov dword [esp + 0x14], edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ecx*8 + 0x58a810]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x20], xmm1
test esi, esi
je 0x4f2ce2
movaps xmm0, xmm1
call fcn.0055fa90
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x32c]
mov dword [esp + 0x28], eax
movd xmm0, edi
mov ecx, edi
mov edi, dword [esp + 0x34]
xor esi, esi
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov dword [esp + 0x18], esi
addsd xmm0, qword [ecx*8 + 0x58a810]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
jmp 0x4f2bdc
mov esi, dword [esp + 0x18]
push 0xa3
call fcn.0055d518
pop ecx
mov dword [esp + 0x1c], eax
and dword [esp + 0x88], 0
test eax, eax
je 0x4f2c02
mov ecx, eax
call fcn.00476381
mov ebx, eax
jmp 0x4f2c04
xor ebx, ebx
or dword [esp + 0x88], 0xffffffff
call fcn.0055f2eb
xor edx, edx
div edi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x58a810]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x1c], xmm0
call fcn.0055f2eb
xor edx, edx
div edi
mov eax, esi
shr eax, 0x1f
push ecx
push ecx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x58a810]
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov esi, dword [0x6a2210]
addsd xmm0, qword [eax*8 + 0x58a810]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x28]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.0055f2eb
xor edx, edx
mov ecx, ebx
div esi
push edx
call fcn.004763bc
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push esi
push ebx
call fcn.0054d130
mov ebx, dword [esp + 0x18]
inc esi
inc ebx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
cmp ebx, esi
jb 0x4f2bd8
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, esi
jb 0x4f2ba6
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0055dcf4
mov esp, ebp
pop ebp
ret