Function at 0x342e65e1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x284
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x290]
push ebp
xor ebp, ebp
push esi
xor esi, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebp
jne 0x342e663f
mov eax, 0xfffffc15
jmp 0x342e6a4b
cmp ecx, ebp
je 0x342e6635
push ebx
mov ebx, dword [esp + 0x2a0]
cmp ebx, ebp
jne 0x342e6659
mov eax, 0xfffffc15
jmp 0x342e6a4a
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x48]
push ecx
call edi
push ebx
push ebp
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, dword [esp + 0x298]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x342e6697
mov esi, 0xfffffc0d
jmp 0x342e69f9
cmp dword [esp + 0x2a4], ebp
mov dword [esp + 0x18], ebp
jle 0x342e69d1
lea edx, [esp + 0x48]
push edx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp dword [ecx + eax*4], ebp
je 0x342e699e
push 0xff
push ebp
push 0xc
mov dword [esp + 0x1c], ebp
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x342e668d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push 1
push 0x38
lea edx, [esp + 0x60]
push edx
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x2a8]
push ebp
push edx
push eax
push edi
call fcn.3421d674
mov esi, eax
cmp esi, ebp
jl 0x342e69f9
mov ecx, dword [esp + 0x5c]
push ebp
push SysReAllocString
push ecx
push edi
call fcn.34209c8c
mov esi, eax
cmp esi, ebp
jl 0x342e6967
mov ecx, dword [esp + 0x7c]
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x68]
push 4
lea eax, [esp + 0x54]
push eax
push ecx
push edx
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, ebp
jl 0x342e69f9
test dword [esp + 0x44], 0x1800000
jne 0x342e694f
mov edx, dword [esp + 0x68]
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x68]
push 0x200
lea ecx, [esp + 0xa0]
push ecx
push edx
push eax
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, ebp
jl 0x342e69f9
mov eax, dword [esp + 0x1c]
shr eax, 1
cmp eax, 0x100
jae 0x342e6a64
xor ecx, ecx
mov word [esp + eax*2 + 0x90], cx
lea eax, [esp + 0x90]
mov edx, 8
push eax
mov word [esp + 0x28], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x2c], eax
cmp eax, ebp
je 0x342e668d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jl 0x342e6a6b
inc dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
call ebx
mov ecx, dword [esp + 0x70]
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x68]
push 4
lea eax, [esp + 0x48]
push eax
push ecx
push edx
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, ebp
jl 0x342e69f9
cmp dword [esp + 0x1c], 4
jne 0x342e6a6b
mov ecx, dword [esp + 0x38]
mov eax, 3
lea edx, [esp + 0x24]
mov word [esp + 0x24], ax
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jl 0x342e6a6b
inc dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
call ebx
mov edx, dword [esp + 0x78]
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x68]
push 4
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, ebp
jl 0x342e69f9
cmp dword [esp + 0x1c], 4
jne 0x342e6a6b
mov edx, dword [esp + 0x3c]
mov ecx, 3
lea eax, [esp + 0x24]
mov word [esp + 0x24], cx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jl 0x342e6a6b
inc dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.MSO.dll_Ordinal_5098]
mov ecx, 3
push 1
mov word [esp + 0x28], cx
mov dword [esp + 0x30], ebp
mov ecx, dword [eax + edx*4]
push 0x34226b94
push ecx
call esi
test eax, eax
je 0x342e690a
push 1
push 0x3425b724
lea edx, [esp + 0x98]
push edx
call esi
test eax, eax
jne 0x342e691f
push 1
push 0x342e6a74
lea eax, [esp + 0x98]
push eax
call esi
test eax, eax
je 0x342e6927
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jl 0x342e6a6b
inc dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
call ebx
mov edx, dword [esp + 0x5c]
push ebp
push 1
push edx
push edi
call fcn.34209c8c
mov esi, eax
cmp esi, ebp
jge 0x342e6723
mov eax, dword [esp + 0x5c]
push eax
call fcn.3421c41f
test eax, eax
je 0x342e6980
mov ecx, dword [esp + 0x5c]
push ecx
push edi
call fcn.34207940
mov eax, dword [esp + 0x14]
mov edx, 0x200c
mov dword [esp + 0x5c], 0xffffffff
mov word [esp + 0x48], dx
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jl 0x342e6a6b
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x2a4]
mov dword [esp + 0x18], eax
jl 0x342e66a8
lea ecx, [esp + 0x48]
push ecx
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, 0x200c
mov word [eax], dx
mov dword [eax + 8], ecx
mov dword [esp + 0x20], ebp
cmp esi, 0xfffff9bd
jne 0x342e69f9
xor esi, esi
mov edx, dword [esp + 0x5c]
push edx
call fcn.3421c41f
test eax, eax
je 0x342e6a12
mov eax, dword [esp + 0x5c]
push eax
push edi
call fcn.34207940
cmp esi, ebp
jge 0x342e6a47
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
cmp eax, ebp
je 0x342e6a27
push eax
call edi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x342e6a32
push eax
call edi
mov ecx, dword [esp + 0x40]
push ecx
call ebx
lea edx, [esp + 0x48]
push edx
call ebx
lea eax, [esp + 0x24]
push eax
call ebx
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x288]
pop esi
pop ebp
xor ecx, esp
call fcn.341f1dd1
add esp, 0x284
ret 0x14
mov esi, 0xfffffbf2
jmp 0x342e69f9
mov esi, 0xffffec77
jmp 0x342e69f9