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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x31c
test eax, eax
push esi
push edi
je 0x10003c61
mov eax, dword [esp + 0x32c]
test eax, eax
jl 0x10003c61
cmp dword [esp + 0x330], 0xffffffff
je 0x10003c61
mov eax, dword [esp + 0x358]
and eax, 1
mov dword [esp + 0x2c], eax
je 0x10002f9f
mov eax, dword [esp + 0x334]
test eax, eax
je 0x10003c61
mov eax, dword [esp + 0x338]
test eax, eax
je 0x10003c61
mov eax, dword [esp + 0x350]
test eax, eax
je 0x10002faf
mov esi, dword [eax + 0xc]
jmp 0x10002fb1
xor esi, esi
mov edi, dword [esp + 0x34c]
push edi
push 0
call dword [sym.imp.OOLAPLib.dll_long_int___cdecl_SimHelp::GetTableNbFields_long_int__long_int_]
add esp, 8
sub eax, esi
mov dword [esp + 0x28], eax
js 0x10003c61
push ebx
push ebp
mov ebp, dword [esp + 0x344]
mov esi, dword [esp + 0x350]
xor eax, eax
mov ebx, dword [ebp + 4]
mov dword [esp + 0x10], eax
and ebx, 1
cmp edi, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jne 0x1000304a
cmp esi, eax
jle 0x1000304a
mov eax, dword [esp + 0x364]
push 0
mov ecx, eax
push eax
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x50], edx
call fcn.10095ef0
mov eax, dword [esp + 0x36c]
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [eax], esi
mov esi, dword [esp + 0x350]
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x344]
mov dword [eax + 0xc], ecx
jmp 0x1000305c
mov edx, dword [esp + 0x364]
push 0
push edx
call fcn.10095ef0
add esp, 8
lea eax, [esp + 0x68]
mov ecx, 0xc
mov word [eax], 0
add eax, 0x10
dec ecx
jne 0x10003065
mov eax, dword [esp + 0x34]
mov edi, 8
test eax, eax
je 0x100030be
mov eax, dword [esp + 0x340]
mov word [esp + 0x88], di
mov ecx, dword [eax + 0x18]
add ecx, edi
push ecx
call fcn.100af44e
mov dword [esp + 0x90], eax
xor eax, eax
mov word [esp + 0x98], di
mov dword [esp + 0xa0], eax
mov word [esp + 0xa8], di
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x360]
mov edi, dword [esp + 0x34c]
and eax, 2
mov dword [esp + 0x38], eax
jne 0x10003264
cmp dword [esp + 0x354], 1
jl 0x10003264
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000310b
push 0
push str.oxIdentifier
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x1000316d
mov esi, dword [esp + 0x350]
lea eax, [ebx + esi]
lea edx, [eax + eax*4]
mov eax, dword [ebp + edx*8 + 0x18]
add eax, edi
lea ecx, [ebp + edx*8]
lea edx, [esp + 0x14]
push edx
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x1000313f
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov eax, dword [esp + 0x364]
xor edx, edx
mov ecx, eax
push eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000318a
push 0
push str.oxParentIdentifier
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x100031ef
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x100031be
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov edx, dword [esp + 0x364]
xor ecx, ecx
lea eax, [edx + 0x10]
mov edx, eax
push eax
mov eax, dword [esp + 0x20]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000320c
push 0
push str.oxSubject
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003264
lea eax, [esi + ebx]
lea edx, [eax + eax*4]
mov eax, dword [ebp + edx*8 + 0x18]
add eax, edi
lea ecx, [ebp + edx*8]
lea edx, [esp + 0x14]
push edx
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003240
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x364]
xor edx, edx
cmp word [esp + 0x14], 8
mov word [esp + 0x14], 0
setne dl
dec edx
and edx, ecx
inc esi
mov dword [eax + 0x48], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x10003285
push 0
push 0x100e0368
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x100033bb
lea eax, [esi + ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
cmp cx, 0xd
jne 0x10003377
mov ecx, dword [eax - 4]
test ecx, ecx
jne 0x10003397
mov edx, dword [esp + 0x330]
mov eax, dword [eax]
mov ecx, dword [edx]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
lea edx, [esi + ebx]
push edx
mov edx, dword [esp + 0x344]
push eax
mov eax, dword [esp + 0x344]
push edx
push eax
call dword [ecx + 0x54]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x10003c1c
mov eax, dword [esp + 0x338]
mov word [esp + 0x14], 8
cmp eax, 3
je 0x10003348
mov ecx, dword [esp + 0x28]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
push edx
push eax
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [esp + 0x10], eax
jns 0x10003357
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x10003357
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x10003397
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003397
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp word [esp + 0x14], 8
mov word [esp + 0x14], 0
setne al
dec eax
and eax, ecx
mov ecx, dword [esp + 0x364]
inc esi
mov dword [ecx + 0x4c], eax
mov eax, dword [esp + 0x358]
test eax, eax
je 0x100033d8
push 0
push str.oxUser
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003430
lea eax, [esi + ebx]
lea edx, [eax + eax*4]
mov eax, dword [ebp + edx*8 + 0x18]
add eax, edi
lea ecx, [ebp + edx*8]
lea edx, [esp + 0x14]
push edx
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x1000340c
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x364]
xor edx, edx
cmp word [esp + 0x14], 8
mov word [esp + 0x14], 0
setne dl
dec edx
and edx, ecx
inc esi
mov dword [eax + 0x44], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000344d
push 0
push str.oxCreatedOn
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x100034a6
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003481
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
cmp word [esp + 0x14], 7
jne 0x1000348f
fld qword [esp + 0x1c]
jmp 0x1000349b
lea edx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_COleDateTime::GetTickCount
fld qword [eax]
mov eax, dword [esp + 0x364]
inc esi
fstp qword [eax + 0x58]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10003924
cmp dword [esp + 0x354], 1
jl 0x10003924
mov eax, dword [esp + 0x358]
test eax, eax
je 0x100034dd
push 0
push 0x100e0344
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003535
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003511
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x364]
xor edx, edx
cmp word [esp + 0x14], 8
mov word [esp + 0x14], 0
setne dl
dec edx
and edx, ecx
inc esi
mov dword [eax + 0x60], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x10003552
push 0
push 0x100e0334
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x100035ab
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003586
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
cmp word [esp + 0x14], 7
jne 0x10003594
fld qword [esp + 0x1c]
jmp 0x100035a0
lea edx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_COleDateTime::GetTickCount
fld qword [eax]
mov eax, dword [esp + 0x364]
inc esi
fstp qword [eax + 0x68]
mov eax, dword [esp + 0x358]
test eax, eax
je 0x100035c8
push 0
push str.oxAttributes
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x1000360b
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x100035fc
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov eax, dword [esp + 0x364]
mov edx, dword [esp + 0x1c]
inc esi
mov dword [eax + 0x70], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x10003628
push 0
push str.oxImportance
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x1000366b
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x1000365c
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov edx, dword [esp + 0x364]
mov eax, dword [esp + 0x1c]
inc esi
mov dword [edx + 0x74], eax
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000368c
push 0
push str.oxAttachment
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003793
lea eax, [esi + ebx]
mov edx, dword [esp + 0x34c]
lea ecx, [eax + eax*4]
mov edi, dword [ebp + ecx*8 + 0x18]
lea eax, [ebp + ecx*8]
add edi, edx
mov ax, word [eax + 0x20]
cmp ax, 0xd
jne 0x10003748
mov eax, dword [edi - 4]
test eax, eax
jne 0x10003768
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x330]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov edx, dword [eax]
lea ecx, [esi + ebx]
push ecx
mov ecx, dword [edi]
push ecx
mov ecx, dword [esp + 0x348]
push ecx
push eax
call dword [edx + 0x54]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x10003c1c
mov ecx, dword [esp + 0x338]
xor eax, eax
cmp ecx, 3
lea edx, [esp + 0x14]
sete al
add eax, 0x81
push edx
push eax
push edi
call fcn.10036970
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x10003768
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003768
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x364]
xor edx, edx
cmp word [esp + 0x14], 8
mov edi, dword [esp + 0x34c]
mov word [esp + 0x14], 0
setne dl
dec edx
and edx, ecx
inc esi
mov dword [eax + 0x78], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x100037b0
push 0
push str.oxAttachmentType
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x100037f3
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x100037e4
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov eax, dword [esp + 0x364]
mov edx, dword [esp + 0x1c]
inc esi
mov dword [eax + 0x7c], edx
mov eax, dword [esp + 0x358]
test eax, eax
je 0x10003810
push 0
push str.oxSignature
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003811
inc esi
cmp dword [esp + 0x354], 2
jl 0x10003924
mov eax, dword [esp + 0x358]
test eax, eax
je 0x1000383c
push 0
push str.oxCommentShort
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003894
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x10003870
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x364]
xor edx, edx
cmp word [esp + 0x14], 8
mov word [esp + 0x14], 0
setne dl
dec edx
and edx, ecx
inc esi
mov dword [eax + 0x50], edx
cmp dword [esp + 0x354], 3
jl 0x10003924
mov eax, dword [esp + 0x358]
test eax, eax
je 0x100038bf
push 0
push str.oxContainer
mov ecx, eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10003924
lea eax, [esi + ebx]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax*4]
mov eax, dword [ebp + ecx*8 + 0x18]
add eax, edi
lea ecx, [ebp + ecx*8]
mov cx, word [ecx + 0x20]
push ecx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
jne 0x100038f3
mov dword [esp + 0x10], 0x80004005
jmp 0x10003c1c
mov edx, dword [esp + 0x364]
xor ecx, ecx
lea eax, [edx + 0x20]
mov edx, eax
push eax
mov eax, dword [esp + 0x20]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
mov edx, dword [esp + 0x364]
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x10003950
cmp word [eax], 0
je 0x10003950
mov edi, edx
push eax
and dword [edi + 0x70], 0xfffffffc
call dword [sym.imp.OOLAPLib.dll_public:_static_long_int___cdecl_CMdComment::GuessTextFormat_unsigned_short_int_const__]
mov ecx, dword [edi + 0x70]
add esp, 4
or ecx, eax
mov dword [edi + 0x70], ecx
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x364]
sub eax, esi
mov dword [ecx + 0x34], eax
mov word [ecx + 0x30], 1
shl eax, 2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, eax
mov eax, dword [esp + 0x364]
mov ecx, dword [eax + 0x34]
mov dword [eax + 0x38], edi
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x350]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x364]
mov edi, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
add ecx, edi
add ecx, edx
cmp esi, ecx
jge 0x10003bd7
lea eax, [esi + ebx]
mov dword [esp + 0x2c], 0
lea edx, [eax + eax*4]
lea ebx, [ebp + edx*8 + 0x20]
mov ebp, dword [sym.imp.OOLAPLib.dll_public:_struct___MIDL___MIDL_itf_OpenMD_0000_0088____thiscall_CMetaData_Cube::GetHierarchy_unsigned_short_int___long_int_]
mov eax, dword [ebx - 8]
mov edi, dword [esp + 0x34c]
mov dx, word [ebx]
lea ecx, [esp + 0x14]
add eax, edi
push ecx
push edx
push eax
call fcn.10036970
add esp, 0xc
test eax, eax
je 0x100038e6
cmp word [esp + 0x14], 8
jne 0x10003b9c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10003b9c
mov ecx, dword [esp + 0x340]
test ecx, ecx
je 0x10003b84
push 0x100e02bc
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10003b80
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x128]
push eax
push ecx
call fcn.100992c0
mov ecx, dword [esp + 0x348]
add esp, 8
lea edx, [esp + 0x128]
push 0
push edx
call ebp
mov edi, eax
test edi, edi
je 0x10003b80
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10003b80
mov ax, word [edi + 0x40e]
cmp ax, 2
je 0x10003a8d
cmp ax, 3
je 0x10003a8d
cmp ax, 1
jne 0x10003b80
lea eax, [edi + 0x188]
push eax
call fcn.100af44e
add edi, 0x81
mov dword [esp + 0xa0], eax
push edi
call fcn.100af44e
mov edx, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esp + 0x128]
push edi
push ecx
push edx
mov dword [esp + 0xbc], eax
call fcn.10099580
lea eax, [esp + 0x58]
push eax
call fcn.10097f90
mov ecx, dword [0x100f0d50]
push edi
push edi
lea edx, [esp + 0x64]
push ecx
push edx
mov edx, dword [esp + 0x35c]
lea eax, [esp + 0x148]
push 1
lea ecx, [esp + 0x8c]
push eax
push ecx
push 0xc
push edx
call fcn.1003def0
add esp, 0x34
test eax, eax
je 0x100038e6
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x10003b33
cmp word [eax], di
je 0x10003b33
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esp + 0x364]
mov edx, dword [ecx + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [edx + ecx], eax
jmp 0x10003b3b
mov dword [esp + 0x10], 0x80004005
lea edx, [esp + 0x4c]
push edx
call fcn.10098030
mov eax, dword [esp + 0xa4]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xa0], edi
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb0], edi
cmp eax, edi
jl 0x10003c1c
jmp 0x10003b9c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x364]
mov ecx, dword [edx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx], eax
mov word [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x364]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
inc esi
mov edx, dword [ecx + 0x34]
mov ecx, dword [esp + 0x350]
add edx, edi
add ebx, 0x28
add edx, ecx
add eax, 4
cmp esi, edx
mov dword [esp + 0x2c], eax
jl 0x100039ce
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10003c14
mov esi, dword [esp + 0x364]
test byte [esi + 0x70], 0x10
jne 0x10003c0d
mov ecx, dword [esp + 0x35c]
mov eax, dword [esi + 0x44]
test ecx, ecx
je 0x10003c5b
test eax, eax
je 0x10003c0d
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10003c14
or dword [esi + 0x70], 0x10000
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x10003c34
mov esi, dword [esp + 0x364]
push esi
call fcn.10095fd0
push 0
push esi
call fcn.10095ef0
add esp, 0xc
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esi, [esp + 0x68]
mov edi, 0xc
push esi
call ebx
add esi, 0x10
dec edi
jne 0x10003c43
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x31c
ret
test eax, eax
jne 0x10003c0d
jmp 0x10003c14
pop edi
mov eax, 0x80070057
pop esi
add esp, 0x31c
ret