Function at 0x41b260
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push str.Load_HGLOBAL_hGlobal__DWORD_dwSize__n
mov dword [esp + 0x18], ebx
call fcn.0041b0d0
add esp, 4
mov ecx, ebx
mov dword [esp + 0x10], 0
call fcn.0041b7e0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebx + 0x7c], eax
jne 0x41b2b2
push str.Load:_Error_locking_memory_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 0x44]
mov edi, 0x44b83c
mov dword [ebx + 0x38], ecx
mov ecx, 3
mov esi, eax
xor edx, edx
mov dword [ebx + 0x78], eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41b3e8
lea edx, [eax + 3]
mov ecx, 3
mov edi, 0x44b838
mov esi, edx
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b2fd
mov esi, edx
mov ecx, 3
mov edi, 0x44b834
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41b3e8
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x7c], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x41b32d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x74]
push esi
push 0x4408c0
push 0
push ecx
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x41b362
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0x9ec
push 0x58
push esi
call edi
mov ecx, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push ecx
call ebp
push 0x9ec
push 0x5a
push esi
mov dword [ebx + 0x28], eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push edx
call ebp
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
push edx
push eax
mov ecx, ebx
call fcn.0041c5d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
lea edi, [eax + 6]
xor ecx, ecx
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x80], edi
mov cl, byte [edi + 4]
mov edx, ecx
sar edx, 7
cmp edx, 1
jne 0x41b439
and ecx, 7
inc ecx
shl edx, cl
lea ecx, [edx + edx*2]
xor edx, edx
mov dword [ebx + 0x40], ecx
mov dl, byte [edi + 5]
mov esi, edx
xor ecx, ecx
xor edx, edx
lea eax, [eax + esi*2]
mov ch, byte [esi + eax + 0xf]
mov dl, byte [esi + eax + 0xd]
mov cl, byte [esi + eax + 0xe]
lea esi, [esi + eax + 0xd]
shl ecx, 8
or ecx, edx
mov dword [ebx + 0x30], ecx
xor eax, eax
xor ecx, ecx
mov ax, word [edi]
xor esi, esi
mov dword [ebx + 0x28], eax
mov cx, word [edi + 2]
mov dword [ebx + 0x2c], ecx
mov ecx, ebx
xor edi, edi
call fcn.0041baf0
mov ecx, ebx
call fcn.0041bb00
test eax, eax
je 0x41b470
mov ecx, ebx
inc esi
call fcn.0041bb00
test eax, eax
jne 0x41b460
cmp esi, edi
jne 0x41b48a
mov edx, dword [esp + 0x40]
mov dword [ebx + 0x7c], edi
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
cmp esi, 1
jne 0x41b4f9
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x7c], edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x41b4ba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x74]
push ecx
push 0x4408c0
push edi
push edx
push eax
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x41b4ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x41b3cf
mov ecx, ebx
call fcn.0041baf0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.0041c330
mov esi, eax
cmp esi, edi
je 0x41b790
lea edx, [esp + 0x44]
mov dword [esp + 0x44], edi
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x41b54c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41b764
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
push 0x4408c0
push edi
push ecx
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
mov eax, dword [esp + 0x44]
je 0x41b57a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41b764
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebx + 0x8c]
mov esi, dword [ebx + 0x90]
add ebx, 0x84
sub esi, ecx
mov eax, 0x92492493
mov ebp, ecx
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x41b69c
mov edi, dword [ebx + 4]
test edi, edi
je 0x41b5d7
mov esi, ecx
mov eax, 0x92492493
sub esi, edi
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov esi, edx
ja 0x41b5dc
mov esi, 1
test edi, edi
jne 0x41b5e4
xor edx, edx
jmp 0x41b5f9
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea edi, [edx + esi]
test edi, edi
mov eax, edi
jge 0x41b604
xor eax, eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [ebx + 4]
mov ecx, ebx
push esi
push ebp
push eax
call fcn.0041c7d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
push ecx
push 1
push eax
mov ecx, ebx
call fcn.0041c810
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
add edx, 0x1c
mov ecx, ebx
push edx
push eax
push ebp
call fcn.0041c7d0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
mov ecx, ebx
call fcn.0041c7c0
mov ecx, ebx
call fcn.0041c790
mov ebp, eax
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
lea ecx, [edi*8]
lea eax, [ebp + 1]
sub ecx, edi
add esp, 4
mov dword [ebx + 4], esi
lea edx, [esi + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ebx + 0xc], edx
lea edx, [esi + ecx*4]
mov dword [ebx + 8], edx
jmp 0x41b760
mov esi, ecx
mov eax, 0x92492493
sub esi, ebp
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x41b711
lea edx, [ebp + 0x1c]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.0041c7d0
mov esi, dword [ebx + 8]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push esi
call fcn.0041c810
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x41b75c
mov edi, ebp
add ebp, 0x1c
mov ecx, 7
lea esi, [esp + 0x20]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x41b6fb
jmp 0x41b75c
lea eax, [ecx - 0x1c]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0041c7d0
mov edx, dword [ebx + 8]
lea eax, [edx - 0x1c]
cmp ebp, eax
je 0x41b741
sub eax, 0x1c
sub edx, 0x1c
mov ecx, 7
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41b72c
lea eax, [ebp + 0x1c]
cmp ebp, eax
je 0x41b75c
mov edi, ebp
add ebp, 0x1c
mov ecx, 7
lea esi, [esp + 0x20]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x41b748
add dword [ebx + 8], 0x1c
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.0041c330
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x41b52a
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x7c], edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx + 0x88]
cmp eax, edi
je 0x41b7c9
mov ecx, dword [ebx + 0x8c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jne 0x41b3cf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8