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

Disassembly:
sub esp, 0xb4
push ebx
mov ebx, dword [esp + 0xbc]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
cmp dword [ebx + 4], 0
je 0x1004d955
call fcn.10032740
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x1004d955
push ebp
push edi
mov ebp, dword [eax]
mov ecx, esi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
push edi
push dword [eax]
lea eax, [esp + 0x18]
mov dword [esp + 0x24], edi
push ebp
push eax
call fcn.1004d320
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x1004d93a
movups xmm0, xmmword [esi + 8]
mov edi, dword [esi]
lea ecx, [esp + 0x48]
push ebp
movups xmmword [esp + 0x4c], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [esp + 0x5c], xmm0
movups xmm0, xmmword [edi + 8]
movups xmmword [esp + 0x64], xmm0
movq xmm0, qword [edi + 0x18]
movq qword [esp + 0x74], xmm0
call fcn.10040180
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
comisd xmm0, xmmword [0x101fcb90]
jb 0x1004d7f7
movups xmm0, xmmword [esp + 0x60]
movups xmm1, xmmword [ebp]
movups xmmword [esp + 0x2c], xmm0
movq xmm0, qword [esp + 0x70]
movups xmmword [esp + 0x60], xmm1
movq qword [esp + 0x3c], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [esp + 0x70], xmm0
movups xmmword [edi + 8], xmm1
movq xmm0, qword [esp + 0x70]
movq qword [edi + 0x18], xmm0
cmp edi, dword [esp + 0x1c]
jne 0x1004d73c
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x11], 0
je 0x1004d7cd
mov eax, dword [ebx]
movups xmm0, xmmword [ebp]
mov eax, dword [eax]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [eax + 0x18], xmm0
mov edi, dword [ebx]
mov edi, dword [edi]
mov edi, dword [edi]
lea eax, [esp + 0x60]
movups xmm0, xmmword [esp + 0x60]
push eax
lea eax, [esp + 0x4c]
movups xmmword [esp + 0x98], xmm0
push eax
movq xmm0, qword [esp + 0x78]
lea eax, [esp + 0x34]
movq qword [esp + 0xac], xmm0
movups xmm0, xmmword [edi + 8]
push eax
movups xmmword [esp + 0xb8], xmm0
movq xmm0, qword [edi + 0x18]
movq qword [esp + 0xc8], xmm0
call fcn.1003f3d0
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x40]
fstp qword [esp + 0x38]
push eax
call fcn.1003f3d0
movsd xmm0, qword [esp + 0x3c]
add esp, 0x18
fstp qword [esp + 0x1c]
comisd xmm0, xmmword [esp + 0x1c]
jbe 0x1004d7df
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x84]
jmp 0x1004d932
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x80]
jmp 0x1004d932
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x88]
jmp 0x1004d932
xorps xmm1, xmm1
comisd xmm1, xmm0
jb 0x1004d923
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [ebp]
movups xmmword [esp + 0x2c], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [esp + 0x3c], xmm0
movups xmmword [esp + 0x48], xmm1
movq xmm0, qword [ebp + 0x10]
movq qword [esp + 0x58], xmm0
movups xmmword [esi + 8], xmm1
movq xmm0, qword [esp + 0x58]
movq qword [esi + 0x18], xmm0
mov eax, dword [ebx]
cmp esi, dword [eax]
jne 0x1004d866
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x11], 0
je 0x1004d8ff
mov esi, dword [eax + 4]
movups xmm0, xmmword [ebp]
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [esi + 0x18], xmm0
mov esi, dword [esi + 4]
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], esi
push eax
movups xmm0, xmmword [esi + 8]
lea eax, [esp + 0x34]
push eax
movups xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [esp + 0xb0], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [esp + 0xb8], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [esp + 0xc8], xmm0
call fcn.1003f3d0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x40]
fstp qword [esp + 0x30]
push eax
call fcn.1003f3d0
fstp qword [esp + 0x3c]
movsd xmm0, qword [esp + 0x3c]
add esp, 0x18
comisd xmm0, xmmword [esp + 0x1c]
jbe 0x1004d914
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x90]
jmp 0x1004d932
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x8c]
jmp 0x1004d932
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x94]
jmp 0x1004d932
mov eax, dword [esi]
push ebp
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x98]
push eax
mov ecx, ebx
call fcn.1004d580
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x44]
jne 0x1004d662
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xb4
ret 8