Function at 0x100433b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100539ff
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.10040e70
push sym.GuiTk115d.dll_public_virtual:_void___thiscall_CGuiToolButton::destructor_void_
push sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::constructor_void_
push 3
push 0x11c
lea edi, [esi + 0x24]
xor ebp, ebp
push edi
mov dword [esp + 0x48], ebp
mov dword [esi], vtable.CMenuControl.0
call fcn.1004dc72
lea ebx, [esi + 0x378]
mov ecx, ebx
mov byte [esp + 0x34], 1
call sub.mfc90.dll_Ordinal_436
mov eax, dword [esp + 0x3c]
or byte [esi + 5], 8
push 0xff00ff
push 3
push 9
push 0x4678
mov ecx, ebx
mov byte [esp + 0x44], 2
mov dword [esi + 0x380], eax
mov dword [esi + 0x3b4], ebp
mov dword [esi + 0x3b8], 0xffffffff
call sub.mfc90.dll_Ordinal_1692
mov eax, dword [esi + 0x380]
mov edx, dword [esi + 0x25c]
mov edx, dword [edx + 0x144]
push 0xf060
push eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esi + 0x25c]
push 0x5000000b
push 0x10056108
mov ecx, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call edx
mov eax, dword [esi + 0x37c]
push ebp
push 2
push eax
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.100014f0
push eax
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SethIcon_struct_HICON____
push str.Close
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetToolTip_char_const__
mov ecx, dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style]
push ecx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetColor_unsigned_long_int_
push ebp
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::ShowDark_int_
mov eax, dword [esi + 0x380]
mov edx, dword [esi + 0x140]
push 0xf120
lea ebx, [esi + 0x140]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
push ecx
mov edx, dword [edx + 0x144]
push 0x5000000b
push 0x10056108
mov ecx, ebx
call edx
mov eax, dword [esi + 0x37c]
push ebp
push 1
push eax
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.100014f0
push eax
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SethIcon_struct_HICON____
push 0x1005ef10
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetToolTip_char_const__
mov ecx, dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style]
push ecx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetColor_unsigned_long_int_
push ebp
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::ShowDark_int_
mov eax, dword [esi + 0x380]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push 0xf020
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x5000000b
push 0x10056108
mov ecx, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call edx
mov eax, dword [esi + 0x37c]
push ebp
push ebp
push eax
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.100014f0
push eax
mov ecx, edi
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SethIcon_struct_HICON____
push 0x1005ef04
mov ecx, edi
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetToolTip_char_const__
mov ecx, dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style]
push ecx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
mov ecx, edi
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::SetColor_unsigned_long_int_
push ebp
mov ecx, edi
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiToolButton::ShowDark_int_
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.10042110
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2 + 3]
add ecx, 2
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4