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

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x44db38
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44db25
mov edx, dword [esi + 0x78]
push ebx
mov ebx, dword [esi + 0x74]
push ebp
push edi
push 0
movzx ebp, ax
push 0
shr eax, 0x10
push 0
sub eax, edx
sub ebp, ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0
mov dword [esp + 0x20], eax
call ebx
push 0
push 0
push 0
push 0
mov edi, eax
call ebx
mov ebx, dword [sym.imp.GDI32.dll_CombineRgn]
push 5
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x5c]
push edi
push eax
push edi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d8d6
push eax
push 0
push edi
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov ecx, dword [esi + 0x58]
push 2
push edi
push ecx
push edi
call ebx
test ebp, ebp
je 0x44d8ee
push 0
push ebp
push edi
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 0x60]
push 5
push eax
push edx
push eax
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d912
push eax
mov eax, dword [esp + 0x44]
push 0
push eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov ecx, dword [esp + 0x40]
push 2
push edi
push ecx
push edi
call ebx
mov edx, dword [esi + 0x54]
push 2
push edi
push edx
push edi
call ebx
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebp, ebp
je 0x44d9fb
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x80]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x88]
push 2
push 4
lea ecx, [esp + 0x1c]
add edx, ebp
add eax, ebp
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov edx, dword [esi + 0x68]
push 1
push eax
push edx
push eax
mov dword [esp + 0x50], eax
call ebx
mov eax, dword [esp + 0x40]
push 2
push edi
push eax
push edi
call ebx
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 2
push 4
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov ecx, dword [esi + 0x70]
push 1
push eax
push ecx
push eax
mov dword [esp + 0x50], eax
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d9e5
mov edx, dword [esp + 0x40]
push eax
push 0
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [esp + 0x40]
push 2
push edi
push eax
push edi
call ebx
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x44dac5
mov ecx, dword [esi + 0x84]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x74]
add ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x7c]
push 2
mov dword [esp + 0x2c], ecx
push 4
lea ecx, [esp + 0x1c]
add eax, edx
push ecx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov edx, dword [esi + 0x64]
push 1
push eax
push edx
push eax
mov dword [esp + 0x50], eax
call ebx
mov eax, dword [esp + 0x40]
push 2
push edi
push eax
push edi
call ebx
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 2
push 4
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov ecx, dword [esi + 0x6c]
push 1
push eax
push ecx
push eax
mov dword [esp + 0x50], eax
call ebx
test ebp, ebp
je 0x44daab
mov edx, dword [esp + 0x40]
push 0
push ebp
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [esp + 0x40]
push 2
push edi
push eax
push edi
call ebx
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
test ebp, ebp
je 0x44db02
test edx, edx
je 0x44db02
mov eax, dword [esi + 0x94]
test eax, eax
je 0x44db02
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x8c]
add edx, eax
push edx
lea edx, [ecx + ebp]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push edi
mov ebp, eax
push ebp
push edi
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x18]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esp + 0x44]
pop edi
pop ebp
pop ebx
mov dword [ecx], 0
xor eax, eax
pop esi
add esp, 0x24
ret 0x10
mov edx, dword [esp + 0x38]
mov dword [edx], 0
xor eax, eax
pop esi
add esp, 0x24
ret 0x10
mov eax, dword [esp + 0x38]
mov dword [eax], 0
xor eax, eax
pop esi
add esp, 0x24
ret 0x10