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

Disassembly:
sub esp, 0x64
push ebx
or eax, 0xffffffff
push ebp
push esi
cmp dword [esp + 0x78], eax
jne 0x4885fc
cmp dword [esp + 0x80], eax
jne 0x4885fc
cmp dword [esp + 0x7c], eax
jne 0x4885fc
cmp dword [esp + 0x84], eax
jne 0x4885fc
test byte [edi], 2
je 0x4885e3
mov eax, edi
call fcn.004881d0
movq xmm0, qword [edi + 0x4c]
movq qword [esp + 0x78], xmm0
movq xmm0, qword [edi + 0x54]
movq qword [esp + 0x80], xmm0
mov ebx, dword [esp + 0x74]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
xor ebp, ebp
cmp dword [esp + 0x80], ebp
jle 0x488866
cmp dword [esp + 0x78], eax
jge 0x488866
cmp ecx, dword [esp + 0x7c]
jle 0x488866
cmp dword [esp + 0x84], ebp
jle 0x488866
mov esi, dword [edi + 0x28]
cmp esi, ebp
je 0x48869f
or eax, 0xffffffff
sub esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
movq xmm0, qword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x38]
push ebx
movq qword [eax + 8], xmm0
call fcn.00473410
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
movq xmm0, qword [esp + 0x20]
movq qword [edi + 0x2c], xmm0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
movq xmm0, qword [esp + 0x28]
movq qword [edi + 0x34], xmm0
push edi
call fcn.00488340
test byte [edi], 2
movq xmm0, qword [esp + 0x78]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [esp + 0x80]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
movq qword [esp + 0x28], xmm0
je 0x48870c
mov eax, edi
call fcn.004881d0
mov eax, dword [edi + 0x4c]
cmp dword [esp + 0x20], eax
jge 0x488719
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x50]
cmp dword [esp + 0x24], eax
jge 0x488726
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x54]
cmp dword [esp + 0x28], eax
jle 0x488733
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x58]
cmp dword [esp + 0x2c], eax
jle 0x488740
mov dword [esp + 0x2c], eax
movq xmm0, qword [edi + 0x2c]
mov eax, dword [edi + 0x10]
movq qword [esp + 0x10], xmm0
movq xmm0, qword [edi + 0x34]
add dword [esp + 0x10], eax
movq qword [esp + 0x18], xmm0
add dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
call fcn.004831c0
add esp, 4
cmp eax, ebp
jle 0x488866
lea ebp, [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x4887b2
mov edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
setle bl
dec ebx
and ebx, eax
mov eax, dword [ebp]
cmp ecx, eax
mov dword [esp + 0x14], ebx
jle 0x4887d0
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 4]
cmp esi, eax
jle 0x4887dd
mov esi, eax
mov dword [esp + 0x1c], esi
cmp edx, ecx
jge 0x488854
cmp ebx, esi
jge 0x488854
movq xmm0, qword [edi + 0x2c]
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [edi + 0x34]
mov eax, dword [esp + 0x20]
add eax, ecx
movq qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x24]
add ecx, esi
add ebx, esi
mov esi, dword [edi + 0x18]
add eax, esi
add edx, esi
mov esi, dword [edi + 0x1c]
add edx, eax
add ecx, esi
add ebx, esi
add ebx, ecx
add ecx, ecx
mov dword [esp + 0x28], edx
lea edx, [eax + eax]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
push ecx
push edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
call fcn.00488420
mov ebx, dword [esp + 0x74]
add ebp, 0x10
sub dword [esp + 0xc], 1
jne 0x488791
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret 0x14