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

Disassembly:
push 0xffffffffffffffff
push 0x100500b9
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], vtable.CBrush.0
mov ebx, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x18]
push eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], ebp
call sub.mfc90.dll_Ordinal_2587
mov esi, eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [ebx + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x98], 1
call sub.mfc90.dll_Ordinal_4116
and ebx, 1
mov dword [esp + 0x30], ebx
je 0x1000d5e0
cmp dword [edi + 0xcc], 3
jne 0x1000d645
mov eax, dword [edi + 0xfc]
jmp 0x1000d5ee
cmp dword [edi + 0xcc], 3
jne 0x1000d645
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_1358
cmp dword [edi + 0xcc], 3
jne 0x1000d645
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
push 0xfffffffffffffffe
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
push 0xfffffffffffffffe
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_InflateRect]
sub dword [esp + 0x70], 2
lea eax, [esp + 0x68]
jmp 0x1000d667
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_1358
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], ebp
mov dword [esp + 0x34], eax
jle 0x1000d6b5
mov eax, dword [ecx - 0xc]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
cmp ebx, ebp
je 0x1000d6be
add dword [esp + 0x64], 2
mov eax, 1
cmp dword [edi + 0xec], eax
jne 0x1000d742
cmp ebx, ebp
je 0x1000d6d9
mov dword [esp + 0x14], 2
jmp 0x1000d6e8
xor edx, edx
cmp dword [edi + 0xd4], eax
sete dl
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov eax, dword [edi + eax*4 + 0xdc]
cmp eax, ebp
je 0x1000d73a
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov dl, byte [esp + 0x80]
mov al, byte [esp + 0x7c]
mov ecx, dword [esp + 0x84]
add dl, dl
add al, al
push ecx
movzx ebx, dl
movzx ebp, al
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x88]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
jmp 0x1000d74a
mov dword [esp + 0x14], 0xffffffff
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0xec]
mov edx, 1
cmp eax, edx
jne 0x1000db44
cmp dword [edi + 0xf0], 0
jne 0x1000d880
cmp dword [esp + 0x14], 0xffffffff
je 0x1000dbe0
mov eax, dword [esp + 0x58]
lea ecx, [eax + ebp + 5]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp dword [edi + 0x10c], 0
mov ecx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x1000d81d
cmp dword [edi + 0xd4], 1
jne 0x1000d81d
test byte [esp + 0x18], 4
jne 0x1000d81d
inc eax
push 0x8001
mov dword [esp + 0x24], eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_333
test eax, eax
je 0x1000d7d9
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edi + edx*4 + 0xdc]
push 0x80
push eax
push ebx
push ebp
push ecx
mov eax, 3
push eax
mov ecx, esi
call fcn.10001900
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CBrush.0
call fcn.10001760
mov eax, 1
sub dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_333
test eax, eax
je 0x1000d83b
mov eax, dword [eax + 4]
xor edx, edx
cmp dword [esp + 0x18], 4
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + eax*4 + 0xdc]
mov eax, dword [esp + 0x28]
setne dl
dec edx
and edx, 0x20
push edx
mov edx, dword [esp + 0x30]
push ecx
push ebx
push ebp
push edx
push eax
mov ecx, esi
call fcn.10001900
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CBrush.0
call fcn.10001760
jmp 0x1000dbe0
cmp eax, edx
jne 0x1000db44
cmp dword [edi + 0xf0], edx
jne 0x1000dbe0
cmp dword [esp + 0x14], 0xffffffff
je 0x1000dbe0
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, 1
mov dword [esp + 0x24], eax
cmp dword [edi + 0xc8], edx
jne 0x1000d9ff
cmp dword [edi + 0x10c], 0
mov ecx, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x1000d94d
cmp dword [edi + 0xd4], edx
jne 0x1000d94d
test byte [esp + 0x18], cl
jne 0x1000d94d
inc eax
push 0x8001
mov dword [esp + 0x24], eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call sub.mfc90.dll_Ordinal_333
test eax, eax
je 0x1000d90a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + ecx*4 + 0xdc]
push eax
mov eax, dword [esp + 0x24]
push 0x80
push edx
push ebx
push ebp
push eax
mov eax, 5
push eax
mov ecx, esi
call fcn.10001900
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], vtable.CBrush.0
call fcn.10001760
dec dword [esp + 0x28]
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + ecx*4 + 0xdc]
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp dword [esp + 0x18], 4
setne dl
dec edx
and edx, 0x20
or edx, 3
push edx
mov edx, dword [esp + 0x28]
push ebx
push ebp
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_DrawStateA]
test byte [esp + 0x18], 4
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
lea ebp, [eax + ebp + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], ebp
je 0x1000d9e7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
push 0
push 0
push 1
push 0x20
push eax
mov eax, dword [esp + 0x4c]
push edx
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
mov dword [esp + 0x48], esp
mov dword [eax + 4], ebp
call fcn.1000c6d0
jmp 0x1000dbe0
push 0x24
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.10001990
jmp 0x1000dbe0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
add eax, 4
cmp dword [edi + 0x10c], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], eax
je 0x1000daa9
cmp dword [edi + 0xd4], 1
jne 0x1000daa9
test byte [esp + 0x18], 4
jne 0x1000daa9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
inc ecx
push 0x8001
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ecx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call sub.mfc90.dll_Ordinal_333
test eax, eax
je 0x1000da6f
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edi + edx*4 + 0xdc]
mov edx, dword [esp + 0x54]
push 0x80
push eax
push ebx
push ebp
push ecx
push edx
mov ecx, esi
call fcn.10001900
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], vtable.CBrush.0
call fcn.10001760
mov ecx, dword [esp + 0x1c]
test byte [esp + 0x18], 4
mov edx, dword [esp + 0x68]
je 0x1000dae5
mov eax, dword [esp + 0x3c]
push 0
push 0
push 1
push 0x20
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x88]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
mov dword [esp + 0x44], esp
mov dword [eax + 4], edx
call fcn.1000c6d0
jmp 0x1000daf8
push 0x24
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.10001990
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + ecx*4 + 0xdc]
sub eax, ebp
sub eax, 4
xor ecx, ecx
cmp dword [esp + 0x18], 4
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
setne cl
dec ecx
and ecx, 0x20
or ecx, 3
push ecx
push ebx
push ebp
push edx
push eax
mov eax, dword [esp + 0x34]
push 0
push eax
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_DrawStateA]
jmp 0x1000dbe0
cmp dword [edi + 0xf0], edx
jne 0x1000dbe0
mov eax, dword [ecx - 0xc]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
cdq
sub eax, edx
mov ebx, eax
sub ecx, ebp
mov eax, ecx
cdq
sub eax, edx
sar ebx, 1
add ebx, dword [esp + 0x5c]
sar eax, 1
add eax, ebp
test byte [esp + 0x18], 4
je 0x1000dbc7
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
push 0
push 0
push 1
push 0x20
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov ecx, esi
mov dword [esp + 0x48], esp
call fcn.1000c680
jmp 0x1000dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x25
lea ebx, [esp + 0x5c]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
je 0x1000dd2d
cmp eax, 1
jne 0x1000dc44
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea eax, [esp + 0x60]
push eax
jmp 0x1000df73
cmp eax, 2
jne 0x1000dc67
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x1000df73
cmp eax, 3
jne 0x1000dc8b
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
push esi
mov ecx, edi
mov dword [eax + 0xc], ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiButton::DrawBottonXP_class_CDC___class_CRect__int_
jmp 0x1000df7a
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_2263
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
push 1
push 0
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_525
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x98], 2
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
inc ecx
push ecx
inc edx
mov ebx, eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc ecx
push ecx
dec edx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 1
mov dword [esp + 0x38], vtable.CPen.0
call fcn.10001760
jmp 0x1000df7a
cmp dword [edi + 0xd4], 1
jne 0x1000de65
cmp eax, 1
jne 0x1000dd5d
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea eax, [esp + 0x60]
push eax
jmp 0x1000df73
cmp eax, 2
jne 0x1000dd80
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x1000df73
cmp eax, 3
jne 0x1000dd8c
push 0
jmp 0x1000dc6e
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_2263
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
push 1
push 0
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_525
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x98], 3
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
add ecx, 0xfffffffe
push ecx
inc edx
mov ebx, eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc eax
push eax
add ecx, 0xfffffffe
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add eax, 0xfffffffe
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 1
mov dword [esp + 0x38], vtable.CPen.0
call fcn.10001760
jmp 0x1000df7a
test eax, eax
jne 0x1000df43
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_2263
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
push 1
push 0
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_525
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x98], 4
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
add ecx, 0xfffffffe
push ecx
inc edx
mov ebx, eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc eax
push eax
add ecx, 0xfffffffe
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add eax, 0xfffffffe
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 1
mov dword [esp + 0x38], vtable.CPen.0
call fcn.10001760
jmp 0x1000df7a
cmp eax, 3
jne 0x1000df66
mov al, byte [esp + 0x18]
test al, 4
je 0x1000df57
push 3
jmp 0x1000dc6e
test al, 0x10
je 0x1000dc6c
push 1
jmp 0x1000dc6e
mov eax, dword [edi + 0xfc]
push eax
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_2263
test byte [esp + 0x18], 0x10
je 0x1000dfa8
cmp dword [edi + 0xcc], 3
je 0x1000dfa8
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x40], vtable.CBrush.0
call fcn.10001760
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4