Function at 0x10066e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0514
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
sub esp, 0x88
mov dword [ebp - 4], 3
lea eax, [ebp + 0x5c]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10002960
mov eax, dword [ebp + 0xc]
sub esp, 0x50
mov ecx, esp
mov byte [ebp - 4], 4
push 0xffffffffffffffff
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x14], eax
xor eax, eax
movsd xmm0, qword [ebp + 0x24]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [ebp + 0x2c]
movsd qword [ecx + 0x20], xmm0
movsd xmm0, qword [ebp + 0x34]
movsd qword [ecx + 0x28], xmm0
movsd xmm0, qword [ebp + 0x3c]
movsd qword [ecx + 0x30], xmm0
add ecx, 0x38
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
lea eax, [ebp + 0x44]
push eax
call fcn.10003050
push dword [ebp + 0x114]
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10002a60
mov dword [ebx], vtable.ImageWrap.0
mov dword [ebx + 0x128], 0
movdqu xmm0, xmmword [ebp + 0xe4]
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x13c], 0
movdqu xmmword [ebx + 0x60], xmm0
mov byte [ebp - 4], 6
movdqu xmm0, xmmword [ebp + 0xf4]
movdqu xmmword [ebx + 0x70], xmm0
mov eax, dword [ebx + 0x128]
cmp eax, dword [ebp + 0x118]
je 0x10066f80
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x118]
test eax, eax
jne 0x1006705b
mov dword [ebx + 0x128], eax
mov eax, dword [ebp + 0x104]
mov edi, dword [ebp + 0x120]
mov esi, dword [ebp + 0x11c]
mov dword [ebx + 0x12c], eax
mov eax, dword [ebp + 0x108]
mov dword [ebx + 0x130], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x134], al
mov eax, dword [ebp + 0x10c]
mov dword [ebx + 0x138], eax
mov eax, dword [ebp + 0x110]
mov dword [ebx + 0x13c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
je 0x100670d2
lea eax, [ebx + 0x118]
movss xmm0, dword [esi]
lea edx, [ebp - 0x20]
mov ecx, dword [ebx + 0x11c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 0x1c], xmm0
cmp edx, ecx
jae 0x10067094
cmp dword [eax], edx
ja 0x10067094
sub edx, dword [eax]
sar edx, 3
mov dword [ebp + 8], edx
cmp ecx, dword [ebx + 0x120]
jne 0x1006702f
push 1
mov ecx, eax
call fcn.1000d2d0
mov edx, dword [ebp + 8]
lea eax, [ebx + 0x118]
mov ecx, dword [ebx + 0x11c]
mov dword [ebp + 0x114], ecx
test ecx, ecx
je 0x100670ba
mov ecx, dword [eax]
mov eax, dword [ecx + edx*8]
mov edx, dword [ebp + 0x114]
mov dword [edx], eax
mov edx, dword [ebp + 8]
mov eax, dword [ecx + edx*8 + 4]
mov ecx, dword [ebp + 0x114]
jmp 0x100670b7
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push dword [ebp + 0x118]
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp dword [ebp + 0x118], 0
mov dword [ebx + 0x128], eax
je 0x10066f80
test eax, eax
jne 0x10066f80
push 0x8007000e
call fcn.100496a0
cmp ecx, dword [ebx + 0x120]
jne 0x100670a5
push 1
mov ecx, eax
call fcn.1000d2d0
mov ecx, dword [ebx + 0x11c]
test ecx, ecx
je 0x100670ba
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
add dword [ebx + 0x11c], 8
lea eax, [ebx + 0x118]
add esi, 8
cmp esi, edi
jne 0x10066fe1
cmp dword [ebp + 0x58], 8
jb 0x100670e3
push dword [ebp + 0x44]
call fcn.10077622
add esp, 4
xor eax, eax
mov dword [ebp + 0x58], 7
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x54], 0
mov word [ebp + 0x44], ax
call fcn.10002760
push dword [ebp + 0x118]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x11c]
test eax, eax
je 0x1006711e
push eax
call fcn.10077622
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x120