Function at 0x10031fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10051dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10080e78]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_524
xor ebx, ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBrush.0
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xa8], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x1c]
call sub.mfc90.dll_Ordinal_1358
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_367
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], vtable.CBitmap.0
mov edx, dword [esp + 0x44]
push edx
mov byte [esp + 0xa4], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_1357
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push ecx
push edx
call sub.mfc90.dll_Ordinal_6074
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0xac]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xb0]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xb4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x98]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x9c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xa0]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xa4]
mov edx, dword [edx + 0x144]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x64]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push edx
push esi
sub eax, edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x58]
sub ecx, esi
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, ebx
jne 0x10032169
xor edi, edi
jmp 0x1003216c
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x34]
push edi
push ecx
call sub.mfc90.dll_Ordinal_6074
lea ecx, [esp + 0x10]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_2097
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 2
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.10001760
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 1
call sub.mfc90.dll_Ordinal_636
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
mov dword [esp + 0x18], vtable.CBrush.0
call fcn.10001760
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], 0xffffffff
call sub.mfc90.dll_Ordinal_744
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.1004da1e
add esp, 0x94
ret