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

Disassembly:
push 0xffffffffffffffff
push 0x10053efa
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10080e78]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov edi, dword [esp + 0x284]
mov eax, dword [edi + 0x18]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], edi
call sub.mfc90.dll_Ordinal_2587
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
push 5
mov dword [esp + 0x98], eax
mov dword [esp + 0x54], ecx
call ebx
mov edx, dword [sym.GuiTk115d.dll_int_CNewMenu::cCOLOR_MENUBAR]
push edx
mov esi, eax
call ebx
mov ebx, eax
push ebx
push esi
call fcn.10045dd0
push esi
push ebx
mov dword [esp + 0x50], eax
call fcn.10045dd0
add esp, 0x10
push 0xd
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call fcn.10045e70
add esp, 8
mov esi, eax
push 0xd
mov dword [esp + 0x58], esi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
lea ecx, [esp + 0xb4]
call sub.mfc90.dll_Ordinal_525
cmp dword [esp + 0x288], 0
mov dword [esp + 0x27c], 0
je 0x100496a8
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x68], 0
jne 0x10049696
mov eax, dword [edi + 0x10]
test al, 1
je 0x10049696
and eax, 0xfffffffe
or eax, 0x40
mov dword [edi + 0x10], eax
test byte [edi + 0x10], 0x40
jne 0x100496a4
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xdc]
call sub.mfc90.dll_Ordinal_333
push esi
lea ecx, [esp + 0xc4]
mov byte [esp + 0x280], 1
call sub.mfc90.dll_Ordinal_333
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x280], 2
call sub.mfc90.dll_Ordinal_333
lea esi, [edi + 0x1c]
push esi
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x284], 3
call dword [sym.imp.USER32.dll_CopyRect]
push esi
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push esi
lea edx, [esp + 0xb4]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x288], 0
je 0x10049733
sub dword [esp + 0xb8], 4
jmp 0x10049767
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x98]
lea eax, [ecx + edx + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2470
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x88]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2470
mov ecx, dword [esp + 0x288]
mov esi, 0xf
test ecx, ecx
jne 0x1004979a
add dword [esp + 0x84], 4
sub dword [esp + 0x8c], esi
mov eax, dword [edi + 0x10]
test al, 0xc0
je 0x100497a7
or eax, 1
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x100498d6
mov eax, dword [edi + 0x10]
test al, 1
je 0x100498d6
test al, al
js 0x100498d6
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call sym.GuiTk115d.dll_protected:_void___thiscall_CNewMenu::SetLastMenuRect_struct_HDC_____struct_tagRECT__
test byte [edi + 0x10], 0x40
jne 0x100498d6
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
sub eax, ecx
dec eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 3
dec edi
xor esi, esi
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 4]
push ebx
add ecx, esi
push ecx
push edi
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, 4
jl 0x10049823
mov eax, dword [esp + 0x18]
mov esi, 4
mov dword [esp + 0x14], eax
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::DarkenColor_long_int__unsigned_long_int_
mov edx, dword [esp + 0x7c]
add esp, 8
push eax
mov eax, dword [ebp + 4]
add edx, esi
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x14], ecx
inc esi
cmp esi, 8
jl 0x10049850
mov esi, 8
cmp dword [esp + 0x2c], esi
jl 0x100498b8
lea ebx, [ebx]
mov edx, dword [esp + 0x20]
push ebx
push edx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::DarkenColor_long_int__unsigned_long_int_
mov ecx, dword [ebp + 4]
add esp, 8
push eax
mov eax, dword [esp + 0x78]
add eax, esi
push eax
push edi
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, dword [esp + 0x2c]
jle 0x10049890
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 0xf
add eax, 3
dec edi
cmp eax, 0xc
mov dword [esp + 0x18], eax
jle 0x10049821
mov edi, dword [esp + 0x4c]
test dword [esp + 0x50], 0x800
mov esi, vtable.CBrush.0
je 0x10049957
mov edx, dword [esp + 0x94]
test byte [edx + 8], 1
je 0x1004990b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push edx
push edi
call eax
jmp 0x1004a15c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
inc eax
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x24]
inc eax
push 0x11
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea edx, [esp + 0x74]
push edx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2470
jmp 0x1004a15c
mov eax, dword [edi + 0x10]
test al, 1
je 0x100499c3
test al, al
js 0x100499c3
lea eax, [esp + 0xa8]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0xc0]
push ecx
mov ecx, ebp
mov ebx, eax
call sub.mfc90.dll_Ordinal_6077
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
mov esi, eax
mov eax, dword [esp + 0xbc]
push eax
mov eax, dword [ebp + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6077
push ebx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
mov esi, vtable.CBrush.0
mov ebx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], vtable.CPen.0
mov edi, dword [esp + 0x94]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, edi
mov byte [esp + 0x27c], 5
call fcn.10045fe0
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov eax, ebx
and eax, 8
mov byte [esp + 0x27c], 6
mov dword [esp + 0x50], eax
je 0x10049a64
cmp dword [edi + 0x1c], 0
jge 0x10049a64
test bl, 1
je 0x10049a50
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x44], 0
jle 0x10049a50
mov dword [esp + 0x14], 1
jmp 0x10049a86
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x48], 0
jle 0x10049a86
mov dword [esp + 0x14], 1
jmp 0x10049a86
cmp dword [edi + 0x1c], 0xffffffff
je 0x10049a86
mov eax, 1
mov dword [esp + 0x5c], eax
test al, bl
je 0x10049a7d
mov dword [esp + 0x2c], eax
jmp 0x10049a86
test bl, 2
je 0x10049a86
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x10049d05
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.CFont.0
push 0x154
lea edx, [esp + 0x120]
push 0
push edx
mov byte [esp + 0x288], 7
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
lea eax, [esp + 0x120]
push eax
push 0x154
push 0x29
mov dword [esp + 0x12c], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, 0xf
lea esi, [esp + 0x1bc]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
test bl, 0x20
je 0x10049b0b
mov dword [esp + 0xf0], 0x2bc
lea ecx, [esp + 0xe0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_1358
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ebx, 9
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], bl
call dword [sym.imp.mfc90.dll_Ordinal_2327]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_5963]
mov edi, eax
cmp edi, 0xffffffff
je 0x10049be3
lea edx, [edi + 1]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_4506]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_2480]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0xb
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x10049bf2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 1
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6170
mov dword [esp + 0x80], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
test al, 2
jne 0x10049c45
cmp dword [esp + 0x288], 0
je 0x10049c2e
test al, al
js 0x10049c45
mov esi, dword [ebp]
push 7
add esi, 0x38
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi]
push eax
mov ecx, ebp
call edx
jmp 0x10049c5a
mov esi, dword [ebp]
push 0x11
add esi, 0x38
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [esi]
mov ecx, ebp
call eax
cmp dword [esp + 0x288], 0
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
je 0x10049c7b
push 0x25
lea edi, [esp + 0xb4]
jmp 0x10049ca1
push 0x24
lea ebx, [esp + 0x88]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
cmp edi, 0xffffffff
je 0x10049cab
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0x26
mov edi, ebx
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x38]
push esi
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x30]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x80]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6170
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 6
mov dword [esp + 0x30], vtable.CFont.0
call fcn.10001760
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x288], 0
jne 0x1004a115
cmp dword [esp + 0x14], 0
jne 0x10049df3
cmp dword [esp + 0x5c], 0
jne 0x10049d37
cmp dword [esp + 0x2c], 0
jne 0x10049d37
cmp dword [esp + 0x58], 0
je 0x10049f7f
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 4]
push 0
push 0
push eax
call sub.mfc90.dll_Ordinal_1137
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.100014f0
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x70]
mov ebx, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [esp + 0x50], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x98]
lea edi, [eax + 4]
lea esi, [ecx + 3]
je 0x10049ec0
mov edx, dword [esp + 0xa0]
push 0xffffffffffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], vtable.CBrush.0
cmp dword [esp + 0x2c], 0
mov byte [esp + 0x27c], 0xc
je 0x10049e3b
mov edx, dword [esp + 0x54]
push edx
jmp 0x10049e40
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x3c]
test esi, esi
je 0x10049d37
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
add eax, 4
push 1
add edx, 3
push eax
mov ecx, esi
push edx
test bl, 1
je 0x10049e2e
push 1
push ebp
call fcn.10001a30
jmp 0x10049f7f
push 0
push ebp
call fcn.10001a30
jmp 0x10049f7f
mov eax, dword [esp + 0x40]
push eax
call fcn.10045d70
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x48]
call sub.mfc90.dll_Ordinal_1358
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
mov dword [esp + 0x5c], eax
call sub.mfc90.dll_Ordinal_6077
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x24]
push edx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6077
mov eax, dword [esp + 0x58]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
mov dword [esp + 0x44], vtable.CBrush.0
lea ecx, [esp + 0x44]
jmp 0x10049f2f
cmp dword [esp + 0x2c], 0
je 0x10049f3c
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.CBrush.0
mov ecx, dword [esp + 0x54]
push ecx
mov byte [esp + 0x280], 0xd
call fcn.10045d70
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_1358
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x30]
push edx
push 0x80
push ebx
push eax
push ecx
inc edi
push edi
inc esi
push esi
mov ecx, ebp
call fcn.10001940
sub esi, 2
sub edi, 2
mov dword [esp + 0x30], vtable.CBrush.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 6
call fcn.10001760
test byte [esp + 0x20], 4
je 0x10049f63
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0xc8]
push edx
push 0x20
push ebx
push eax
push ecx
push edi
push esi
mov ecx, ebp
call fcn.10001940
jmp 0x10049f7b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push 0
push 0
push ebx
push edx
push eax
push edi
push esi
mov ecx, ebp
call fcn.10001900
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0x1c], 0
jge 0x1004a0ec
cmp dword [esp + 0x50], 0
je 0x1004a0ec
cmp dword [esp + 0x14], 0
jne 0x1004a0ec
push 0x30
lea edx, [esp + 0xe4]
push 0
push edx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
add esp, 0xc
lea edx, [esp + 0xe0]
push edx
push 0
push ecx
push eax
mov dword [esp + 0xf0], 0x30
mov dword [esp + 0xf4], 8
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
push 0xffffffffffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xa8]
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_InflateRect]
test bl, 1
je 0x1004a033
mov ecx, dword [esp + 0x54]
push ecx
jmp 0x1004a038
mov edx, dword [esp + 0x40]
push edx
call fcn.10045d70
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.CBrush.0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 0xe
call fcn.10001880
lea eax, [esp + 0xa8]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
mov esi, eax
call sub.mfc90.dll_Ordinal_6077
lea edx, [esp + 0x5c]
push edx
mov ecx, ebp
mov edi, eax
call fcn.10045b00
push edi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6077
push esi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6078
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0xf8], 0
push ebx
jne 0x1004a0c0
push 0x62
lea ecx, [esp + 0x64]
push ecx
jmp 0x1004a0c7
push 0x69
lea edx, [esp + 0x64]
push edx
mov ecx, dword [esp + 0x28]
push ebp
call sym.GuiTk115d.dll_protected:_void___thiscall_CNewMenu::DrawSpecialCharStyle_class_CDC___struct_tagRECT_const___char__unsigned_long_int_
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 6
mov dword [esp + 0x30], vtable.CBrush.0
call fcn.10001760
jmp 0x1004a115
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
cmp eax, 0xf000
jb 0x1004a115
cmp eax, 0xf150
ja 0x1004a115
push ebx
push eax
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x28]
push ebp
call sym.GuiTk115d.dll_protected:_void___thiscall_CNewMenu::DrawSpecial_WinXP_class_CDC___struct_tagRECT_const___unsigned_int__unsigned_long_int_
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0xd0]
mov byte [esp + 0x27c], 4
mov dword [esp + 0xd0], vtable.CPen.0
call fcn.10001760
lea ecx, [esp + 0x70]
mov byte [esp + 0x27c], 3
mov dword [esp + 0x70], vtable.CBrush.0
call fcn.10001760
mov esi, vtable.CBrush.0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x27c], 2
mov dword [esp + 0xc8], esi
call fcn.10001760
lea ecx, [esp + 0xc0]
mov byte [esp + 0x27c], 1
mov dword [esp + 0xc0], esi
call fcn.10001760
lea ecx, [esp + 0xd8]
mov byte [esp + 0x27c], 0
mov dword [esp + 0xd8], esi
call fcn.10001760
lea ecx, [esp + 0xa8]
mov dword [esp + 0x27c], 0xffffffff
mov dword [esp + 0xa8], vtable.CPen.0
call fcn.10001760
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.1004da1e
add esp, 0x26c
ret 8