Function at 0x422740
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b3957
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov dword [esp + 0x84], ecx
mov ecx, dword [ecx + 0x20]
lea eax, [esp + 0x88]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x8c]
lea ecx, [esp + 0x58]
sub edi, ebp
sub esi, ebx
call fcn.004029d0
mov ebx, 0x4bd52c
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], 0
call fcn.004029d0
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 1
call fcn.004029d0
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 2
call fcn.004029d0
mov dword [esp + 0x38], ebx
mov byte [esp + 0xa4], 3
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x4c0098
push 0xb4
push eax
call fcn.00466cf0
add esp, 0x10
lea ecx, [esp + 0x58]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x4c0098
push 0xb6
push eax
call fcn.00466cf0
add esp, 0x10
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x4c0098
push 0xb9
push eax
call fcn.00466cf0
add esp, 0x10
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x4c0098
push 0xbb
push eax
call fcn.00466cf0
add esp, 0x10
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x10]
call fcn.004029d0
mov ebp, 0x4bd518
mov dword [esp + 0x10], ebp
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edi
push esi
push 0
push 0
mov byte [esp + 0xb4], 4
call ebx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x18]
call fcn.004029d0
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x70]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push edx
push 0
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 4
and eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_CombineRgn]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x70]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x74]
mov eax, esi
sub eax, edx
mov edx, dword [esp + 0x78]
push edx
push esi
push 0
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
neg ecx
mov edx, dword [esp + 0x14]
push 4
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x70]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, edi
push edi
sub eax, ecx
mov ecx, esi
sub ecx, edx
push esi
push eax
push ecx
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 4
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x70]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, edi
push edi
sub eax, edx
push ecx
push eax
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 4
and eax, ebx
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov byte [esp + 0xa4], 4
mov ebx, 0x4bd518
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00402a00
lea ecx, [esp + 0x50]
call fcn.004029d0
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
push 0
and eax, ecx
push 0
push eax
mov byte [esp + 0xb0], 6
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x28]
call fcn.004029d0
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push 0
and eax, ebx
push 0xffffffffffffffff
push eax
mov byte [esp + 0xb0], 7
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_GetRgnBox]
lea edx, [esp + 0x60]
push edx
push eax
call ebx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov eax, esi
push 0
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_OffsetRgn]
lea ecx, [esp + 0x30]
call fcn.004029d0
mov dword [esp + 0x30], 0x4bd518
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
push 0xffffffffffffffff
and eax, edx
push 0xffffffffffffffff
push eax
mov byte [esp + 0xb0], 8
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
push eax
call ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
sub eax, ecx
mov ecx, dword [esp + 0x68]
add eax, edi
sub esi, ecx
mov ecx, dword [esp + 0x34]
add esi, edx
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_OffsetRgn]
push ecx
call esi
lea ecx, [esp + 0x20]
call fcn.004029d0
mov dword [esp + 0x20], 0x4bd518
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
push 0xffffffffffffffff
and eax, edx
push 0
push eax
mov byte [esp + 0xb0], 9
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x60]
push edx
push eax
call ebx
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
sub eax, ebx
add eax, edi
push eax
push 0
push ecx
call esi
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edx, dword [esp + 0x14]
push 2
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov edx, dword [esp + 0x14]
push 2
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
neg ecx
mov edx, dword [esp + 0x14]
push 2
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 2
and eax, ebx
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x10]
push 1
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov esi, 0x4bd504
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x4bd4f0
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0xa4], 0x11
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov dword [esp + 0xa4], 0x12
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret