Function at 0x1038a72
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x104487a
call fcn.0102da74
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0xd], bl
cmp edi, ebx
jne 0x1038ab7
mov dword [ebp - 0x14], 0x80004003
jmp 0x1038c50
add edi, 4
push edi
lea ecx, [ebp - 0x28]
call fcn.0100ac19
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea edi, [edi + eax*2 + 2]
push edi
lea ecx, [ebp - 0x20]
call fcn.0100ac19
cmp dword [esi + 0x44], 4
jne 0x1038ae8
mov byte [ebp - 0xd], 1
jmp 0x1038ba1
push 0x104a890
push 0x18
call fcn.0102dc95
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x1038b0a
mov ecx, eax
call fcn.01039e7e
jmp 0x1038b0c
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x1038b23
mov dword [ebp - 0x14], 0x8007000e
jmp 0x1038c14
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
lea edi, [ebp - 0x24]
push edi
push edx
push ecx
mov ecx, eax
call fcn.0103aecc
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x1038c14
push dword [ebp - 0x24]
lea ecx, [esi + 0x6c]
call fcn.01017300
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x1038c14
lea eax, [ebp - 0x18]
push eax
push 0x10089e0
push dword [ebp - 0x20]
call fcn.01031570
test eax, eax
je 0x1038b93
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
call fcn.0100aa12
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.01010cb4
test al, al
je 0x1038b8a
mov byte [ebp - 0xd], 1
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [ebp - 0xd], bl
je 0x1038bf1
lea eax, [ebp - 0x1c]
push eax
push 0x10089d4
push dword [ebp - 0x20]
call fcn.01031570
test eax, eax
je 0x1038bd4
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
cmp edi, ebx
je 0x1038bd4
push edi
mov ecx, esi
call fcn.01033f49
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x12c], 3
mov esi, dword [esi + 0x9c]
cmp esi, ebx
je 0x1038c14
movzx eax, byte [ebp - 0xd]
push eax
call esi
jmp 0x1038c14
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x12c], 4
cmp eax, ebx
je 0x1038c08
push ebx
call eax
push 0x1a
mov ecx, esi
call fcn.01038a0b
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x1038c22
push 1
call fcn.0100baae
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebp - 0x18], ebx
je 0x1038c3f
push dword [ebp - 0x18]
push ebx
call edi
push eax
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x1c], ebx
je 0x1038c50
push dword [ebp - 0x1c]
push ebx
call edi
push eax
call esi
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x28]
call esi
push ebx
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x14]
call fcn.0102db60
ret 8