Function at 0x411830
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x438a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
push esi
push 2
mov dword [esp + 0x1c], ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x68]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x10]
push ecx
push 1
push ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jne 0x411a4d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
add edx, 4
push edx
push 0x440dfc
push ebx
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
cmp eax, ebx
jne 0x4118d2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
mov bl, 1
call dword [ecx + 8]
jmp 0x411bbe
push str.ERROR
lea ecx, [esp + 0x6c]
call fcn.004010e0
push str.Ole_Load_fail_n
mov dword [esp + 0x64], ebx
call fcn.0041c01e
add esp, 4
push eax
push str.Ole_Load_fail_n
lea ecx, [esp + 0x70]
call fcn.00403be0
mov word [esp + 0x18], bx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0042a8c9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x6c], eax
push 0x14f
lea eax, [esp + 0x1c]
push 0x43b494
push eax
mov byte [esp + 0x6c], 1
call fcn.0041d090
add esp, 0xc
push str.._srcGUIPicture.cpp
lea ecx, [esp + 0x70]
call fcn.00403b20
push 0x43b47c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b47c
lea ecx, [esp + 0x74]
call fcn.00403be0
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c01e
add esp, 4
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b470
call fcn.0041c01e
add esp, 4
push eax
push 0x43b470
lea ecx, [esp + 0x74]
call fcn.00403be0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b46c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b46c
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b464
call fcn.0041c01e
add esp, 4
push eax
push 0x43b464
lea ecx, [esp + 0x74]
call fcn.00403be0
mov esi, dword [esp + 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x411bbe
push str.ERROR
lea ecx, [esp + 0x18]
call fcn.004010e0
push str.Create_Stream_fail_n
mov dword [esp + 0x64], 2
call fcn.0041c01e
add esp, 4
push eax
push str.Create_Stream_fail_n
lea ecx, [esp + 0x1c]
call fcn.00403be0
mov word [esp + 0x18], bx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0042a8c9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x6c], eax
push 0x156
lea eax, [esp + 0x1c]
push 0x43b494
push eax
mov byte [esp + 0x6c], 3
call fcn.0041d090
add esp, 0xc
push str.._srcGUIPicture.cpp
lea ecx, [esp + 0x70]
call fcn.00403b20
push 0x43b47c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b47c
lea ecx, [esp + 0x74]
call fcn.00403be0
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c01e
add esp, 4
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b470
call fcn.0041c01e
add esp, 4
push eax
push 0x43b470
lea ecx, [esp + 0x74]
call fcn.00403be0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b46c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b46c
lea ecx, [esp + 0x74]
call fcn.00403be0
push 0x43b464
call fcn.0041c01e
add esp, 4
push eax
push 0x43b464
lea ecx, [esp + 0x74]
call fcn.00403be0
mov esi, dword [esp + 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8