Function at 0x10043050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100539b3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
test byte [edi + 5], 0x20
je 0x10043083
push 0x11
jmp 0x10043085
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x24]
mov ebp, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x50], ecx
lea ecx, [edi + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [edx - 0xc]
push 0
push 0x26
mov dword [esp + 0x7c], eax
call dword [sym.imp.mfc90.dll_Ordinal_2480]
mov ecx, dword [esp + 0x74]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x24]
mov dword [esp + 0x28], eax
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + 0x24]
mov dword [esp + 0x74], 0
call dword [sym.imp.mfc90.dll_Ordinal_4392]
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x78], 1
call fcn.100378c0
add esp, 0xc
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetGraphicsMode]
mov ecx, dword [esi + 4]
push 2
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0x10080b78
mov ecx, esi
call eax
mov edx, dword [edi + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [0x10080ee8]
lea ecx, [ebx + 5]
add edx, eax
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x1c]
add edx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
push edx
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push 0x920
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x4c]
mov dword [0x10080f24], eax
mov eax, dword [esp + 0x50]
mov dword [0x10080f28], eax
add eax, 0xfffffffd
mov dword [0x10080f28], eax
mov eax, dword [esp + 0x74]
mov dword [0x10080ef8], 1
mov dword [0x10080f1c], ebp
mov dword [0x10080f20], ebx
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_525
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x70], 5
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [edi + 0x14c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x148]
add ecx, ebx
add ecx, edx
mov edx, dword [esp + 0x78]
sub ebp, 2
add eax, ebp
push ecx
add eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [edi + 0x150]
mov edi, dword [edi + 0x154]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
add ebx, edi
add ebp, eax
lea eax, [ecx + ebx]
lea ecx, [edx + ebp]
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x74]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 4
mov dword [esp + 0x2c], vtable.CPen.0
call fcn.10001760
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc