Function at 0x10001fa7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10086dde
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x100a609c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_374]
and dword [esp + 0x70], 0
push dword [esi + 0x18]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_2183]
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 8]
mov esi, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
cmp esi, 3
jne 0x10002263
cmp ebx, 0xffffffff
je 0x10002263
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x78], 1
call dword [sym.imp.mfc100.dll_Ordinal_5204]
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
mov esi, dword [eax - 0xc]
call dword [sym.imp.GDI32.dll_GetTextColor]
imul esi, esi, 0xc
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_2184]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
inc eax
add esi, eax
test byte [esp + 0x10], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], esi
je 0x100020ba
push dword [edi + 0x84]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_4131]
push dword [edi + 0x88]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_12790]
jmp 0x1000211f
and dword [esp + 0x2c], 0
mov esi, vtable.CBrush.0
mov dword [esp + 0x28], esi
mov byte [esp + 0x70], 2
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x2c]
call ebx
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_FillRect]
push dword [edi + 0x94]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_12790]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_3439]
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.10001900
mov eax, dword [esp + 0x10]
and eax, 0x11
cmp al, 0x11
jne 0x100021d0
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4341]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_11939]
push eax
lea ecx, [esp + 0x1c]
call esi
and dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], vtable.CPen.0
mov byte [esp + 0x70], 3
push dword [edi + 0x8c]
push 1
push 2
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x38]
call ebx
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_11940]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call ebx
push dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call esi
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call ebx
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CPen.0
call fcn.10001900
push dword [esp + 0x30]
mov eax, edi
call fcn.10002334
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], eax
call dword [sym.imp.mfc100.dll_Ordinal_1929]
movzx ecx, word [esp + 0x30]
mov eax, dword [eax + 0xc]
push 0
push 0x10
pop ebx
push ebx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push 3
push 0
push 0
push ebx
push ebx
push eax
push edi
push esi
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_DrawIconEx]
inc dword [esp + 0x40]
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_12128]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x24
lea edx, [esp + 0x44]
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 0x70]
push dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_12790]
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_3486]
or dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_943]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret 4