Function at 0x1035d7c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1035d96
mov eax, 0x80030057
jmp 0x103605e
mov eax, dword [0x104f4a8]
mov esi, dword [0x104f4ac]
mov ebx, dword [edi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0x18], 0
add edi, 4
test ebx, ebx
mov eax, dword [edi]
mov dword [ebp - 4], eax
jne 0x1035e00
push 0x2bc
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
jne 0x1035e84
mov eax, dword [ebp - 0x14]
push 1
or eax, dword [0x104f4b8]
lea edx, [ebp - 0x10]
push dword [0x1056c80]
push edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
call fcn.01037221
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x1035e68
lea eax, [ebp - 4]
push eax
push esi
push esi
mov eax, dword [ebx]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
call dword [eax + 0xc]
push 1
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
call fcn.01036a9e
cmp dword [ebp - 0xc], 0
je 0x1035e76
mov eax, dword [ebp - 0xc]
jmp 0x103605e
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 4]
mov dword [edi], eax
jmp 0x1035f52
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]
mov esi, eax
test esi, esi
jne 0x1036010
push 1
lea ecx, [ebp - 0xc]
push dword [ebp - 0x60]
push ecx
mov dword [ebp - 0xc], 0
call fcn.010370fa
mov esi, eax
test esi, esi
jl 0x1036010
push dword [ebp - 0xc]
push dword [0x1056c80]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 1
test eax, eax
push dword [ebp - 0xc]
je 0x1035f28
call fcn.01036b06
push 0x2fb
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
mov esi, 0x800300fc
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Attempt_to_open_more_than_one_stream
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1036010
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 esi, dword [eax]
call dword [esi + 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 4], 0
jne 0x1035f9b
push 0x30d
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 - 0x18]
push eax
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov esi, dword [eax]
push dword [ebp - 4]
call dword [esi + 0x10]
mov esi, eax
test esi, esi
jne 0x1035fc5
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x18], eax
jne 0x1035fc5
xor eax, eax
jmp 0x103605e
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x18], eax
je 0x1036010
push 0x315
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.Not_all_bytes_read_written_from_to_Stream
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0x18], 0
mov dword [edi], 0
jne 0x1036022
mov dword [edi], 0
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 8]
push 1
lea eax, [ebp - 0xc]
push dword [0x1056c80]
push eax
mov dword [ebp - 0xc], 0
call fcn.01037221
test eax, eax
jl 0x103605e
mov edi, dword [ebx]
push dword [ebp - 0xc]
push ebx
call dword [edi + 0x30]
push 1
push dword [ebp - 0xc]
call fcn.01036a9e
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14