Function at 0x414480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a0e3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4954c4]
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.00428340
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.0041e960
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.00457d58
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x41453d
mov eax, dword [edi + 8]
mov dword [esi], vtable.tcomxTypeHandler.0
mov dword [esi + 4], eax
cmp eax, ebx
je 0x41453f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x41453f
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
test eax, eax
js 0x414720
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.00457d58
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 0x414665
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 0x4146a8
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4146a8
test byte [eax + 0x30], 1
jne 0x414658
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 0x41468f
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea esi, [eax + 1]
push esi
call fcn.00457d58
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.00458396
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 0x4145c2
mov eax, dword [0x49821c]
mov dword [edi + 0x3c], eax
inc eax
mov dword [0x49821c], 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
push ebx
push ebx
lea ecx, [ebp - 0x44]
push ecx
call fcn.00401940
push 0x491990
lea edx, [ebp - 0x44]
push edx
call fcn.00461e23
xor eax, eax
mov dword [ebp - 0x30], vtable.tcomxException.0
mov dword [ebp - 0x28], vtable.tStringBuffer.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov ecx, dword [str.Internal_Error]
mov dword [ebp - 0x2c], ebx
mov edi, ecx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4146d3
sub ecx, esi
lea esi, [ecx + 1]
cmp esi, ebx
jbe 0x4146f2
push esi
mov dword [ebp - 0x24], esi
call fcn.00457d58
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push edi
push eax
call fcn.004692a0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x47e5a8
call fcn.004071f0
add esp, 0x10
push 0x491990
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00461e23
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
call fcn.00401940
push 0x491990
lea eax, [ebp - 0x30]
push eax
call fcn.00461e23
int3