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

Disassembly:
push 0xffffffffffffffff
push 0x57f4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x38]
call sub.MFC71.DLL_CDC::CDC
mov edi, dword [esp + 0x58]
mov eax, dword [edi + 4]
xor ebp, ebp
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
call sub.MFC71.DLL_CDC::Attach
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x14]
push 1
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x44]
xor eax, eax
push eax
push ecx
push edx
mov edx, dword [esi + 0x6b0]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, 0x5fda18
call fcn.004beae0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CDC::SelectObject
push 1
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CDC::SetBkMode
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
lea esi, [ebx + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0x38
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x48]
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_GetTextColor]
push 0xffffff
lea ecx, [esp + 0x3c]
mov ebp, eax
call sub.MFC71.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
dec eax
dec ecx
dec edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x58]
add eax, 0x70
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
dec eax
dec ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
push 0x24
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
add edx, 0x70
push eax
mov ecx, esi
mov dword [esp + 0x60], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
dec eax
inc ecx
dec edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push 0x24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
add eax, 0x70
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
dec eax
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
add ecx, 0x70
push 0x24
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], ecx
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x48]
call dword [eax]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc eax
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
add ecx, 0x70
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push 0x24
lea edx, [esp + 0x1c]
mov dword [esp + 0x5c], ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x48]
call dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc eax
dec ecx
inc edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push 0x24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
add eax, 0x70
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
inc eax
inc ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
push 0x24
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
add edx, 0x70
push eax
mov ecx, esi
mov dword [esp + 0x60], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc eax
inc ecx
inc edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push 0x24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
add eax, 0x70
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
push ebp
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x38]
push 0x24
lea ecx, [esp + 0x2c]
add eax, 0x70
push ecx
mov ecx, esi
mov dword [esp + 0x60], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call dword [edx]
mov ecx, 0x5fda18
call fcn.004bead0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CDC::SelectObject
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x10]
add eax, 8
mov dword [esp + 0x34], ecx
push 0xffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], eax
call sub.MFC71.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
dec eax
dec ecx
dec edx
dec esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
lea esi, [ebx + 0x10]
push 0x10
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
dec eax
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
push 0x10
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
dec eax
inc ecx
dec edx
inc edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
dec eax
dec ecx
mov dword [esp + 0x18], ecx
push 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
inc eax
inc edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push eax
mov ecx, esi
mov dword [esp + 0x2c], edx
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
inc eax
dec ecx
inc edx
dec edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
inc eax
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
push 0x10
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
inc eax
inc ecx
inc edx
inc edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
push ebp
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CDC::SetTextColor
mov edi, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
add edi, 0x70
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
call dword [edi]
lea ecx, [esp + 0x38]
call sub.MFC71.DLL_CDC::Detach
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xffffffff
call fcn.00556f48
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8