Function at 0x422ee0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4b3b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.00402950
mov esi, 0x4bd530
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0
call fcn.00402950
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x30]
call fcn.00402950
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x28]
call fcn.00402950
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x20]
call fcn.00402950
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x18]
call fcn.00402950
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x40]
call fcn.00402950
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x10]
call fcn.00402950
mov dword [esp + 0x10], esi
push 0xdb
push 2
push 0xdb
mov byte [esp + 0x94], 7
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
call esi
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x4c]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call edi
push 0xdd
push 2
push 0xdd
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x68]
push edx
push 0x18
push eax
call edi
mov ecx, dword [esp + 0x6c]
push 0xdc
push 2
push 0xdc
mov dword [esp + 0x64], ecx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x68]
push edx
push 0x18
push eax
call edi
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
push 0xda
push 2
push 0xda
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call edi
mov edx, dword [esp + 0x70]
push 0xde
push 2
push 0xde
mov dword [esp + 0x70], edx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call edi
push 0xdf
push 2
push 0xdf
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push 0x18
push eax
call edi
mov ebx, dword [esp + 0x6c]
push 0xd9
push 2
push 0xd9
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x68]
push ecx
push 0x18
push edx
call edi
push 0xe0
push 2
push 0xe0
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call edi
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
test ebp, ebp
jne 0x423140
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
inc eax
push ecx
push eax
push ecx
push edx
lea edx, [esp + 0x20]
push edx
push edi
call fcn.004233e0
add esp, 0x18
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
inc eax
inc ecx
push eax
push ecx
push eax
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call fcn.004233e0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
push edi
call fcn.00423540
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ebx
inc eax
push edx
push eax
push ecx
lea edx, [esp + 0x54]
push eax
push edx
push edi
call fcn.00423540
add esp, 0x48
test ebp, ebp
jne 0x4231cb
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
push edi
call fcn.004232f0
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x68]
mov ecx, dword [esi + 4]
sub eax, edx
inc eax
push ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
push edi
call fcn.004232f0
add esp, 0x20
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x64]
mov ecx, dword [esi]
sub eax, edx
inc eax
lea edx, [esp + 0x28]
push eax
push ecx
push edx
push edi
call fcn.004232f0
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x60]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x64]
sub eax, ebx
sub esi, ecx
inc eax
inc esi
push esi
push eax
lea eax, [esp + 0x48]
push eax
push edi
call fcn.004232f0
mov esi, 0x4bd508
add esp, 0x20
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x4bd4f4
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret