Function at 0x401361
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
jmp 0x40a5f0
push 0xffffffffffffffff
push 0x40df73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0xb
push 9
lea ebp, [esi + 0x20]
push 0x12
push 0x12
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
push fcn.00401019
push 0x4011a9
push 0xe
lea eax, [esp + 0x1c]
push 8
push eax
call fcn.0040b886
push 0x24e
push 2
push 0x24e
mov dword [esp + 0x94], 0
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
call edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x10]
push 0xff00ff
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push ecx
call ebx
push 0x87
push 2
push 0x87
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x18]
push 0xff00ff
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call ebx
push 0x85
push 2
push 0x85
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xff00ff
and eax, edx
push eax
mov eax, dword [esi + 0x24]
push eax
call ebx
push 0x24c
push 2
push 0x24c
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
push 0xff00ff
and eax, ecx
mov ecx, dword [esi + 0x24]
push eax
push ecx
call ebx
push 0x24f
push 2
push 0x24f
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x30]
push 0xff00ff
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call ebx
push 0x252
push 2
push 0x252
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
push 0xff00ff
and eax, edx
push eax
mov eax, dword [esi + 0x24]
push eax
call ebx
push 0x250
push 2
push 0x250
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push 0xff00ff
and eax, ecx
mov ecx, dword [esi + 0x24]
push eax
push ecx
call ebx
push 0x251
push 2
push 0x251
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x48]
push 0xff00ff
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call ebx
push 0x256
push 2
push 0x256
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xff00ff
and eax, ecx
push eax
mov eax, dword [esi + 0x24]
push eax
call ebx
push 0x257
push 2
push 0x257
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x5c]
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x58]
push 0xff00ff
neg eax
sbb eax, eax
and eax, edi
push eax
push ecx
call ebx
push 0x255
lea ecx, [esp + 0x64]
call fcn.00401127
lea edx, [esp + 0x60]
push 0xff00ff
push edx
mov ecx, ebp
call fcn.00401393
push 0x253
lea ecx, [esp + 0x6c]
call fcn.00401127
lea eax, [esp + 0x68]
push 0xff00ff
push eax
mov ecx, ebp
call fcn.00401393
push 0x254
lea ecx, [esp + 0x74]
call fcn.00401127
lea ecx, [esp + 0x70]
push 0xff00ff
push ecx
mov ecx, ebp
call fcn.00401393
push 0x258
lea ecx, [esp + 0x7c]
call fcn.00401127
push 0xff00ff
lea edx, [esp + 0x7c]
push edx
mov ecx, ebp
call fcn.00401393
push fcn.00401019
push 0xe
lea eax, [esp + 0x18]
push 8
push eax
mov dword [esp + 0x98], 0xffffffff
call fcn.0040b792
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret