Function at 0x55e4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x704850
mov edi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [edx]
movsd xmm1, qword [edx + 0x14]
movsd xmm2, qword [edx + 0xc]
mov ecx, dword [edx + 0x68]
movq xmm0, qword [edx + 4]
mov dword [ebp - 0x78], eax
mov eax, dword [edx + 0x24]
movsd qword [ebp - 0xb4], xmm1
movsd xmm1, qword [edx + 0x1c]
movsd qword [ebp - 0xbc], xmm2
movsd xmm2, qword [edx + 0x28]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [edx + 0x3c]
movdqu xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x30]
movsd qword [ebp - 0x58], xmm1
movsd xmm1, qword [edx + 0x58]
movsd qword [ebp - 0x70], xmm2
movsd xmm2, qword [edx + 0x48]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x68], eax
movzx eax, byte [edx + 0x34]
movsd qword [ebp - 0x80], xmm1
movsd xmm1, qword [edx + 0x50]
movsd qword [ebp - 0x90], xmm2
movq xmm2, qword [edx + 0xc]
mov byte [ebp - 0x32], al
movzx eax, byte [edx + 0x35]
movsd qword [ebp - 0x88], xmm1
movsd xmm1, qword [edx + 0x60]
movq qword [ebp - 0x4c], xmm2
mov byte [edi + 0x35], al
mov eax, dword [edx + 0x38]
movsd qword [ebp - 0x64], xmm1
movq xmm1, qword [edx + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x40]
movq qword [ebp - 0x44], xmm1
mov dword [ebp - 0x38], eax
movzx eax, byte [ebp - 0x40]
cmp al, 2
mov byte [ebp - 0x31], al
je 0x55e5d9
cmp byte [edi + 0x18], 2
lea esi, [edi + 0xc]
je 0x55e5c0
cmp dword [edi + 0x10], 0
je 0x55e5c0
push dword [esi]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
movq xmm0, qword [ebp - 0xbc]
movq xmm1, qword [ebp - 0xb4]
movq qword [esi + 8], xmm1
movq qword [esi], xmm0
mov eax, dword [ebp - 0x50]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x55e627
mov eax, dword [ebp - 0x50]
movsd xmm0, qword [ebp - 0x58]
cmp dword [edi + 0x20], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 0x94], eax
movsd qword [ebp - 0x9c], xmm0
je 0x55e612
push dword [esi]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x94]
movq xmm0, qword [ebp - 0x9c]
mov dword [esi + 8], eax
movq qword [esi], xmm0
mov ecx, dword [edi + 0x2c]
mov esi, dword [edi + 0x30]
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], edi
sub ecx, esi
mov dword [ebp - 0x28], eax
cmp ecx, ebx
jae 0x55e660
lea ecx, [edi + 0x28]
mov dword [ebp - 0x10], 4
mov edx, esi
mov dword [ebp - 0x74], ebx
push ebx
call fcn.00710590
add esp, 4
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x74]
mov esi, dword [edi + 0x30]
lea eax, [esi + esi*4]
mov ecx, ebx
shl eax, 4
shl ecx, 4
add eax, dword [edi + 0x28]
lea ecx, [ecx + ecx*4]
push ecx
push dword [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebp - 0x32]
add esi, ebx
mov edx, 1
mov dword [ebp - 0x68], 0
mov dword [edi + 0x30], esi
mov byte [edi + 0x34], al
xor eax, eax
cmp dword [ebp - 0x78], 0
sete cl
jne 0x55e6a3
mov edx, dword [edi]
mov dword [edi], edx
mov al, cl
movdqu xmm2, xmmword [ebp - 0xac]
mov esi, dword [ebp - 0x28]
xor edx, edx
movd xmm1, eax
movq xmm0, qword [edi + 4]
pshufd xmm1, xmm1, 0x50
pslld xmm1, 0x1f
psrad xmm1, 0x1f
mov ecx, esi
pand xmm0, xmm1
pandn xmm1, xmm2
por xmm1, xmm0
movq qword [edi + 4], xmm1
call fcn.0052a020
cmp dword [ebp - 0x6c], 0
je 0x55e6f9
push esi
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x24], 0
jne 0x55e716
cmp dword [ebp - 0x54], 0
je 0x55e716
push dword [ebp - 0x58]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x88]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
imul ecx, ebx, 0x38
mov dword [ebp - 0x2c], ecx
add ecx, edx
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x8c]
mov esi, dword [edi + 0x50]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x84]
sub eax, esi
mov dword [ebp - 0x24], ecx
cmp eax, ebx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
jae 0x55e799
mov dword [ebp - 0xac], edx
lea ecx, [edi + 0x48]
mov dword [ebp - 0x10], 2
mov edx, esi
push ebx
call fcn.00712b30
add esp, 4
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xac]
mov esi, dword [edi + 0x50]
imul eax, esi, 0x38
add eax, dword [edi + 0x48]
push dword [ebp - 0x2c]
push edx
push eax
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], ebx
add eax, esi
cmp dword [ebp - 0x48], 0
mov dword [edi + 0x50], eax
je 0x55e7d0
push dword [ebp - 0x4c]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x28]
sub eax, esi
cmp eax, ecx
jae 0x55e7fc
mov eax, ecx
lea ecx, [edi + 0x54]
mov dword [ebp - 0x10], 1
mov edx, esi
push eax
call fcn.00712d20
add esp, 4
mov edi, dword [ebp - 0x3c]
mov esi, dword [edi + 0x5c]
mov ebx, dword [ebp - 0x28]
mov eax, esi
mov edx, dword [ebp - 0x24]
shl eax, 4
add eax, dword [edi + 0x54]
mov ecx, ebx
shl ecx, 4
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebx
cmp dword [ebp - 0x30], 0
mov dword [edi + 0x5c], esi
je 0x55e836
push dword [ebp - 0x24]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [edi + 0x60]
mov edx, dword [edi + 0x60]
mov eax, dword [ebp - 0x5c]
movsd xmm0, qword [ebp - 0x64]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x44], eax
movsd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
lea ecx, [edx + 0x10]
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x30], eax
je 0x55e893
inc eax
lea edx, [ecx + 0x40]
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
call fcn.00529330
mov ecx, dword [ebp - 0x24]
jmp 0x55e870
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x64], 0
je 0x55e8ad
push dword [ebp - 0x2c]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x4c]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret