Function at 0x413270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f93
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x48f4c4]
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.004262f0
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.0041d620
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.0045321f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x41332d
mov eax, dword [edi + 8]
mov dword [esi], vtable.tcomxTypeHandler.0
mov dword [esi + 4], eax
cmp eax, ebx
je 0x41332f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x41332f
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 0x413510
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.0045321f
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 0x413455
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 0x413498
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x413498
test byte [eax + 0x30], 1
jne 0x413448
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 0x41347f
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea esi, [eax + 1]
push esi
call fcn.0045321f
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.0045385d
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 0x4133b2
mov eax, dword [0x491dfc]
mov dword [edi + 0x3c], eax
inc eax
mov dword [0x491dfc], 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.00401650
push 0x48c4a0
lea edx, [ebp - 0x44]
push edx
call fcn.0045c664
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 0x4134c3
sub ecx, esi
lea esi, [ecx + 1]
cmp esi, ebx
jbe 0x4134e2
push esi
mov dword [ebp - 0x24], esi
call fcn.0045321f
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push edi
push eax
call fcn.00464420
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x479578
call fcn.00406630
add esp, 0x10
push 0x48c4a0
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0045c664
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
call fcn.00401650
push 0x48c4a0
lea eax, [ebp - 0x30]
push eax
call fcn.0045c664
int3