Function at 0x10360d3
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10360ed
mov eax, 0x80030057
jmp 0x10362ef
mov eax, dword [0x104f4a8]
mov ecx, dword [0x104f4ac]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0x18], 0
je 0x1036113
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
jmp 0x1036119
mov ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
mov ebx, dword [esi]
test ebx, ebx
jne 0x1036162
push 0x3a7
push str.c:_ntprivatectoleuiole2.0_appscommonchicago.._storage.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.pStg_is_Null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1056c80]
push dword [ebp + 0xc]
mov byte [eax], 3
mov eax, dword [0x1056c80]
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 4], 0
je 0x1036208
push 0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
push dword [ebp - 4]
call dword [eax + 0x30]
push 1
lea edx, [ebp - 0xc]
push dword [ebp - 0x60]
push edx
mov dword [ebp - 0xc], 0
call fcn.010370fa
test eax, eax
jge 0x10361b5
mov edi, eax
jmp 0x10362c8
push dword [ebp - 0xc]
push dword [0x1056c80]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 1
test eax, eax
push dword [ebp - 0xc]
je 0x10361dc
mov edi, 0x800300fc
call fcn.01036b06
jmp 0x10362c8
call fcn.01036b06
lea eax, [ebp - 8]
push eax
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
push dword [ebp - 0x60]
mov eax, dword [ebp - 8]
push dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x1036255
push 1
mov eax, dword [0x1056c80]
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
call fcn.01037221
mov edi, eax
test edi, edi
jl 0x1036249
lea eax, [ebp - 4]
mov edi, dword [ebx]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
push ebx
call dword [edi + 0x10]
mov edi, eax
push 1
push dword [ebp - 0xc]
call fcn.01036a9e
test edi, edi
jne 0x10362c8
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
cmp dword [ebp - 4], 0
jne 0x103629e
push 0x3e7
push str.c:_ntprivatectoleuiole2.0_appscommonchicago.._storage.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.pStm_is_Null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ebx
mov eax, dword [ecx]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [eax + 0xc]
mov edi, eax
test eax, eax
jne 0x10362c8
cmp dword [ebp - 0x10], ebx
je 0x10362ef
test eax, eax
jne 0x10362c8
mov edi, 1
cmp dword [ebp + 0x18], 0
mov dword [esi + 4], 0
jne 0x10362dc
mov dword [esi + 4], 0
cmp dword [ebp - 4], 0
je 0x10362ed
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14