Function at 0x44a790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57b1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x44a7f1
lea ecx, [edi + 0x14]
push ecx
push eax
call dword [sym.imp.GDI32.dll_RectInRegion]
test eax, eax
jne 0x44a7f1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x78], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], vtable.CBkBitmap.0
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x78], 3
cmp dword [ebx], esi
je 0x44a85c
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x14]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edx, dword [ebx]
push 1
push edx
push eax
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x14]
neg eax
push eax
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
sub edx, dword [edi + 0x14]
lea ebx, [edi + 0x14]
push ecx
push edx
lea esi, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.0046bbd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
je 0x44a8b4
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov ecx, dword [edi + 0x9c]
cmp ecx, esi
je 0x44a90e
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax]
push 1
push ebx
push edx
push edi
call eax
test eax, eax
jne 0x44a90e
mov eax, dword [esp + 0x2c]
cmp eax, esi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x44a8f0
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x44a903
push eax
call edi
test eax, eax
je 0x44a903
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
jmp 0x44aa2f
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push 0xf
push esi
mov ecx, edi
mov dword [esp + 0x2c], esi
mov dword [edi + 0xa4], esi
call edx
mov ecx, dword [edi + 0x9c]
cmp ecx, esi
je 0x44a947
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax]
push esi
push ebx
push edx
push edi
call eax
mov ecx, dword [edi + 0xac]
or eax, 0xffffffff
lea edx, [esp + 0x3c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
push eax
mov esi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], 2
call fcn.0046bec0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x44aa56
lea esi, [esp + 0x3c]
lea edi, [esp + 0x10]
call fcn.0046be70
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub edx, dword [ebx]
push 0xff
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [edx]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0046baf0
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x24
test eax, eax
je 0x44aa12
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44aa29
push eax
call esi
test eax, eax
je 0x44aa29
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44aa38
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44aa8e
mov ecx, dword [eax + 8]
test ecx, ecx
mov esi, dword [eax]
mov dword [esp + 0x18], esi
je 0x44aa85
mov edx, dword [ecx + 0x34]
shr edx, 3
not edx
test dl, 1
je 0x44aa85
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
push edx
call eax
test esi, esi
jne 0x44aa52
jmp 0x44a9a5
push 0x80004005
call fcn.0040fcd0
int3