Function at 0x416b60
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x42e54e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.00401510
lea ebp, [edi + 0xdc]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xe0]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xe4]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xec]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea esi, [edi + 0xf8]
mov byte [esp + 0x20], 4
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CString::CString
push 0x43caf4
lea ecx, [esi + 4]
mov byte [esp + 0x24], 0x10
mov dword [esi], ebx
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 8]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x10]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x14]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0xc]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
call fcn.0042a502
or eax, 0xffffffff
push 0x43caf4
lea ecx, [esi + 0x38]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x3c]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], ebx
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x48]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x68]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x70]
call fcn.0042a502
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [edi + 0x180], 0x4327bc
mov dword [edi + 0x184], ebx
mov dword [edi + 0x190], ebx
mov dword [edi + 0x18c], ebx
mov dword [edi + 0x188], ebx
lea esi, [edi + 0x198]
mov dword [esi + 4], ebx
mov dword [esi], 0x431df0
push 0x43bc80
lea ecx, [edi + 0xd8]
mov byte [esp + 0x24], 0x13
mov dword [edi], 0x4326fc
mov dword [edi + 0x40], 0x4326f8
call fcn.0042a502
mov ecx, edi
call fcn.00401660
push 0x43caf4
mov ecx, ebp
call fcn.0042a502
push 0x43caf4
lea ecx, [edi + 0xe0]
call fcn.0042a502
mov eax, dword [str.F_Zx_P]
cdq
sub eax, edx
push 0x43caf4
sar eax, 1
mov dword [edi + 0xf0], eax
lea ecx, [edi + 0xe4]
mov dword [edi + 0xf4], ebx
mov dword [edi + 0x194], ebx
call fcn.0042a502
push 0x43caf4
lea ecx, [edi + 0xec]
mov dword [edi + 0xe8], ebx
call fcn.0042a502
mov eax, dword [edi + 0x194]
push eax
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
jne 0x416e3a
push ebx
push ebx
push 0x43bc70
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x1a0], 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret