Function at 0x417680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce43
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4a99f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, dword [ebp + 8]
mov dword [edi + 4], vtable.ISppDispatch.0
mov dword [edi], vtable.tSppDispatch.0
mov dword [edi + 4], vtable.tSppDispatch.1.0
mov dword [edi + 0x10], ebx
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x60]
push ecx
call fcn.00430050
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [ebx + 8], 0x10
mov eax, dword [edi + 0x10]
push 0xffffd8f0
call fcn.00422770
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
push eax
call edx
push 8
call fcn.0046a923
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x41773d
mov eax, dword [edi + 8]
mov dword [esi], vtable.tcomxTypeHandler.0
mov dword [esi + 4], eax
cmp eax, ebx
je 0x41773f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x41773f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 8]
lea edx, [ebp - 0x10]
mov dword [edi + 0x24], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x417973
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [edi + 8]
mov dword [edi + 0x20], edx
movzx esi, word [eax + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
push ecx
mov dword [ebp - 0x18], esi
call eax
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a923
xor esi, esi
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], ebx
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x18], ebx
jbe 0x417865
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push esi
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jl 0x4178e1
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4178e1
test byte [eax + 0x30], 1
jne 0x417858
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x2c]
mov dword [edx + ecx*8], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 1
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jl 0x41788f
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea esi, [eax + 1]
push esi
call fcn.0046a923
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
mov dword [ecx + edx*8 + 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
push esi
push edx
mov edx, dword [ecx + eax*8 + 4]
push edx
call fcn.0046b024
mov eax, dword [ebp + 0xc]
add esp, 0x10
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [edi + 0x34]
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jb 0x4177c2
mov eax, dword [0x4ac33c]
mov dword [edi + 0x3c], eax
inc eax
mov dword [0x4ac33c], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x30], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x44], vtable.tcomxException.0
mov dword [ebp - 0x3c], vtable.tStringBuffer.0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 3
mov dword [ebp - 0x40], ebx
mov ebx, dword [str.Internal_Error]
lea esi, [ebp - 0x3c]
call fcn.0040ac40
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, 0x491568
call fcn.00408e30
add esp, 4
push 0x4a52e0
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.004722ce
mov dword [ebp - 0x30], vtable.tcomxException.0
mov dword [ebp - 0x28], vtable.tStringBuffer.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
mov eax, dword [str.Internal_Error]
mov dword [ebp - 0x2c], ebx
mov edi, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417910
sub eax, edx
lea esi, [eax + 1]
cmp esi, ebx
jbe 0x417942
lea eax, [esi + 2]
push eax
mov dword [ebp - 0x24], esi
call fcn.0046a923
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ecx + eax], bl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add esp, 4
mov byte [eax + edx + 1], bl
mov ecx, dword [ebp - 0x20]
push esi
push edi
push ecx
call fcn.00475900
mov edx, dword [ebp - 0x20]
push edx
mov ecx, 0x491568
call fcn.00408e30
add esp, 0x10
push 0x4a52e0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004722ce
mov dword [ebp - 0x30], vtable.tcomxException.0
mov dword [ebp - 0x28], vtable.tStringBuffer.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
mov ebx, dword [str.Internal_Error]
lea esi, [ebp - 0x28]
call fcn.0040ac40
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x491568
call fcn.00408e30
add esp, 4
push 0x4a52e0
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.004722ce
int3