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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push edi
mov ecx, dword [ebp + 0x2c]
cmp ecx, edx
jne 0x46268c
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp + 0x28]
jne 0x46268c
shl ecx, 5
mov eax, dword [ecx + 0x544d3c]
shl eax, 3
push eax
push 0
push dword [ebp + 4]
call fcn.004f0560
add esp, 0xc
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x30], 0
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
cmp edx, 0x1f
jae 0x4628ae
push esi
mov esi, edx
shl esi, 5
push dword [esi + 0x544d3c]
push 8
push dword [ebp + 4]
call fcn.00460620
add esp, 4
push eax
call fcn.00460b60
add esp, 0xc
test eax, eax
je 0x4628ad
movups xmm0, xmmword [ebp + 0x20]
movups xmm1, xmmword [ebp]
movups xmm2, xmmword [ebp + 0x10]
movups xmmword [esp + 0x5c], xmm0
movq xmm0, qword [ebp + 0x30]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x544d3c]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x544d40]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + str.43333333VUUUUUUU]
mov ecx, dword [esi + 0x544d4c]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esi + 0x544d50]
mov ecx, dword [esi + 0x544d54]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov eax, dword [esi + 0x544d38]
psrldq xmm1, 4
mov dword [ebp + 0x28], eax
movd esi, xmm1
movd eax, xmm2
movq qword [esp + 0x6c], xmm0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
movd dword [esp + 0x38], xmm1
lea eax, [esi + eax*8]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x46289a
mov ecx, dword [0x97f670]
nop word [eax + eax]
mov edx, dword [esi + 4]
test edx, edx
je 0x46276b
cmp edx, ecx
jne 0x462777
add esi, 8
cmp esi, eax
jne 0x462760
jmp 0x46289a
lea edx, [ebp + 0x10]
mov dword [esp + 0x28], edx
lea ecx, [ebp + 0x18]
mov dword [esp + 0x24], ecx
lea ebx, [ebp + 0x14]
mov dword [esp + 0x20], ebx
lea edi, [ebp + 0x20]
mov dword [esp + 0x1c], edi
lea eax, [ebp + 4]
mov dword [esp + 0x18], eax
test esi, esi
je 0x46289a
mov ebp, dword [esi]
mov eax, dword [esi + 4]
push 0
push ebp
push dword [ecx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
push dword [ecx]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], eax
call fcn.004ef900
push dword [edi + 4]
mov dword [esp + 0x34], eax
mov ebp, edx
push dword [edi]
push 0
push dword [esp + 0x1c]
call fcn.004ef900
mov edi, eax
mov eax, edx
mul dword [ebx]
mov ecx, eax
mov dword [esp + 0x7c], edx
mov eax, edi
mul dword [ebx]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x2c]
add ecx, edx
adc eax, 0
inc eax
mov dword [esp + 0x7c], eax
mov eax, ebp
mov ebp, dword [esp + 0x18]
mul ebx
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x30]
mul ebx
add ecx, edx
mov ecx, dword [ebp]
adc edi, 0
cmp dword [ecx + edi*8 + 4], 0
lea eax, [ecx + edi*8]
je 0x462838
mov edx, dword [esp + 0x7c]
lea eax, [edi + edx]
mov edi, eax
sub edi, ebx
cmp eax, ebx
cmovb edi, eax
cmp dword [ecx + edi*8 + 4], 0
lea eax, [ecx + edi*8]
jne 0x462822
mov ecx, dword [esp + 0x10]
add esi, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
cmp esi, dword [esp + 0x14]
je 0x462896
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
nop
mov eax, dword [esi + 4]
test eax, eax
je 0x46286f
cmp eax, dword [0x97f670]
jne 0x46287a
add esi, 8
cmp esi, dword [esp + 0x14]
jne 0x462860
jmp 0x462896
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
test esi, esi
jne 0x4627a2
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x38]
mov dword [ebp + 0x30], eax
call fcn.004605c0
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret