Function at 0x461810
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 0x46185f
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp + 0x28]
jne 0x46185f
shl ecx, 5
mov eax, dword [ecx + 0x544954]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push 0
push dword [ebp]
call fcn.004f0580
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 0x461a8a
push esi
mov esi, edx
shl esi, 5
push dword [esi + 0x544954]
push 0xc
push dword [ebp]
call fcn.004606a0
add esp, 4
push eax
call fcn.00460be0
add esp, 0xc
test eax, eax
je 0x461a89
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], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x544954]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x544958]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x544960]
mov ecx, dword [esi + 0x544964]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esi + 0x544968]
mov ecx, dword [esi + 0x54496c]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov eax, dword [esi + 0x544950]
mov dword [ebp + 0x28], eax
movd ecx, xmm1
movd eax, xmm2
movups xmmword [esp + 0x3c], xmm1
mov dword [ebp + 0x30], 0
movq qword [esp + 0x6c], xmm0
mov dword [ebp + 0x34], 0
movd dword [esp + 0x38], xmm1
lea eax, [eax + eax*2]
mov dword [esp + 0x7c], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x34], eax
cmp ecx, eax
je 0x461a76
mov edx, dword [esp + 0x48]
mov esi, dword [ecx + 4]
test esi, esi
je 0x46193d
cmp esi, edx
jne 0x46194d
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, eax
jne 0x461932
jmp 0x461a76
lea ebx, [ebp + 0x10]
mov dword [esp + 0x20], ebx
lea edx, [ebp + 0x18]
mov dword [esp + 0x1c], edx
lea edi, [ebp + 0x14]
mov dword [esp + 0x18], edi
lea esi, [ebp + 0x20]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x461a76
push dword [edx + 4]
mov eax, dword [ecx + 8]
push dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push 0
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
push ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
call fcn.004ef920
push 0
push dword [esp + 0x14]
mov ebp, eax
mov ebx, edx
push dword [esi + 4]
push dword [esi]
call fcn.004ef920
mov esi, eax
mov eax, edx
mul dword [edi]
mov ecx, eax
mov dword [esp + 0x24], edx
mov eax, esi
mul dword [edi]
mov edi, dword [esp + 0x24]
mov eax, ebx
mov ebx, dword [esp + 0x28]
add ecx, edx
adc edi, 0
mul ebx
inc edi
mov esi, eax
mov ecx, edx
mov eax, ebp
mul ebx
mov eax, dword [esp + 0x78]
add esi, edx
adc ecx, 0
mov edx, dword [eax]
lea eax, [ecx + ecx*2]
cmp dword [edx + eax*4 + 4], 0
lea eax, [edx + eax*4]
je 0x461a09
nop
lea eax, [ecx + edi]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
cmovb ecx, eax
lea eax, [ecx + ecx*2]
cmp dword [edx + eax*4 + 4], 0
lea eax, [edx + eax*4]
jne 0x4619f0
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x7c]
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, ebp
je 0x461a72
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
je 0x461a4d
cmp eax, dword [esp + 0x48]
jne 0x461a5a
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, ebp
jne 0x461a40
jmp 0x461a72
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x461971
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x38]
mov dword [ebp + 0x30], eax
call fcn.00460640
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret