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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 8]
test byte [edx + 0xb], 1
mov edi, edx
mov ebx, ecx
jne 0x4ce8a4
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jae 0x4ce95b
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 8], ecx
jmp 0x4ce8ba
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jae 0x4ce95b
dec esi
mov dword [esp + 0x10], ecx
mov dword [eax + 0xc], esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
push eax
call fcn.004c90b0
add esp, 4
movsd xmm1, qword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [esp + 0x34]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x24]
mov edx, dword [esp + 0x20]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x3c]
mov dword [esp + 4], ecx
movsd qword [esp + 0xa8], xmm2
movsd xmm2, qword [esp + 0x44]
mov ecx, dword [esp + 0x54]
cmp eax, 0x2a
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [esp + 0xb8], xmm2
mov dword [esp + 0xc8], ecx
movsd qword [esp + 0xc0], xmm1
je 0x4cea08
cmp eax, 0x2b
jne 0x4ceb19
cmp dword [edi + 0x20], 0
jne 0x4cec77
lea eax, [esp + 0x60]
mov dword [edi + 0x20], 0xffffffff
mov dword [esp + 0x64], 0
lea edx, [edi + 0x24]
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x18]
push eax
call fcn.004c6b00
add esp, 4
inc dword [edi + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, 0x2a
jne 0x4ce9ad
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx], eax
jmp 0x4cec65
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
movsd qword [ebx + 0x30], xmm2
movsd qword [ebx + 0x28], xmm1
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x30]
movsd qword [ebx + 0x38], xmm0
movsd qword [ebx + 0x20], xmm2
movsd qword [ebx + 0x18], xmm1
movsd xmm2, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x20]
movsd qword [ebx + 0x10], xmm2
movsd qword [ebx + 8], xmm1
mov dword [ebx + 4], ecx
mov dword [ebx], eax
jmp 0x4cec65
mov dword [esp], ebx
lea ebx, [esp + 0x24]
lea eax, [edi + 0x24]
mov dword [esp + 0x5c], eax
nop word cs:[eax + eax]
test byte [edi + 0xb], 1
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
jne 0x4cea50
cmp ecx, esi
jae 0x4ceb91
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 8], ecx
jmp 0x4cea5c
cmp ecx, esi
jae 0x4ceb91
dec esi
mov dword [eax + 0xc], esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push dword [esp + 8]
call fcn.004c90b0
add esp, 4
movsd xmm1, qword [ebx + 8]
mov edx, dword [esp + 0x20]
movsd xmm2, qword [ebx + 0x10]
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [ebx]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [ebx + 0x18]
mov dword [esp + 0x14], edx
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
cmp ecx, 0x2a
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [ebx + 0x28]
movsd qword [esp + 0x80], xmm2
mov dword [esp + 0x90], edx
movsd qword [esp + 0x88], xmm1
jne 0x4ceb88
cmp dword [edi + 0x20], 0
jne 0x4cec6d
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x20], 0xffffffff
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x5c]
call fcn.004c6d70
add esp, 8
inc dword [edi + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, 0x2a
jne 0x4cec0c
mov edx, dword [esp + 0x14]
jmp 0x4cea20
movsd xmm1, qword [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
movsd xmm2, qword [esp + 0xb0]
movsd xmm0, qword [esp + 0xc0]
movsd qword [ebx + 0x2c], xmm1
movsd xmm1, qword [esp + 0xa8]
mov dword [ebx + 0x3c], ecx
movsd qword [ebx + 0x24], xmm2
movsd xmm2, qword [esp + 0x98]
mov ecx, dword [esp + 4]
movsd qword [ebx + 0x34], xmm0
movsd qword [ebx + 0x1c], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [ebx + 0xc], xmm2
movsd qword [ebx + 0x14], xmm1
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
jmp 0x4cec65
mov edx, dword [esp + 0x58]
cmp ecx, 0x2b
jne 0x4ceba9
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 0x2a
jmp 0x4cec65
mov esi, dword [esp]
movsd xmm1, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x78]
mov edx, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
movsd qword [esi + 0x2c], xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esi + 0x24], xmm2
movsd xmm2, qword [esp + 0x60]
mov dword [esi + 0x3c], edx
movsd qword [esi + 0x34], xmm0
movsd qword [esi + 0x1c], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [esi + 0xc], xmm2
movsd qword [esi + 0x14], xmm1
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4cec65
mov edx, dword [esp]
movsd xmm2, qword [esp + 0x44]
movsd xmm1, qword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + 0x2c], xmm2
movsd qword [edx + 0x24], xmm1
movsd xmm2, qword [esp + 0x34]
movsd xmm1, qword [esp + 0x2c]
mov dword [edx + 0x3c], ecx
movsd qword [edx + 0x34], xmm0
movsd qword [edx + 0x1c], xmm2
movsd qword [edx + 0x14], xmm1
movsd xmm2, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x24]
movsd qword [edx + 0xc], xmm1
movsd qword [edx + 4], xmm2
mov dword [edx], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x85031c
call fcn.007c1ec0
mov ecx, 0x85034c
call fcn.007c1ec0
int3