Function at 0x10015dd0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100507d4
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
add dword [esp + 0x4c], 4
mov ebx, 3
mov ecx, edi
mov dword [esp + 0x50], ebx
call sym.GuiTk115d.dll_public:_int___thiscall_CGuiControlBar::IsVert_void_
test eax, eax
je 0x10015e4e
call sym.GuiTk115d.dll_public:_int___thiscall_CGuiControlBar::IsFloating_void_
test eax, eax
jne 0x10015e43
call sym.GuiTk115d.dll_public:_int___thiscall_CGuiControlBar::IsRight_void_
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 6
sub dword [esp + 0x54], eax
jmp 0x10015e52
mov eax, 2
sub dword [esp + 0x54], eax
jmp 0x10015e52
sub dword [esp + 0x54], ebx
mov edx, dword [edi + 0x2dc]
cmp edx, 0x8001
jne 0x10015e6a
mov eax, dword [edi + 0x98]
mov dword [esp + 0x58], eax
cmp edx, 0x8002
jne 0x10015e7f
mov eax, dword [edi + 0x98]
add eax, 4
mov dword [esp + 0x58], eax
xor ebp, ebp
cmp dword [edi + 0x2a4], ebp
je 0x10015e91
mov dword [edi + 0x2d0], ebp
jmp 0x10015ea6
mov ecx, edi
call sym.GuiTk115d.dll_public:_int___thiscall_CGuiControlBar::IsFloating_void_
test eax, eax
je 0x10015ea6
mov dword [edi + 0x2d0], 1
mov esi, dword [esp + 0x7c]
cmp dword [edi + 0x2d0], ebp
jne 0x1001602d
cmp edx, 0x8002
jne 0x10015f2c
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
add ecx, 0xfffffffd
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.1001d3d0
push 0x1e
mov dword [esp + 0x78], ebp
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorTabs_void_
mov ecx, dword [edi + 0x2dc]
push eax
push ecx
push esi
lea ecx, [esp + 0x6c]
call fcn.1001d410
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ebp
push ebp
push ebp
push 4
push esi
lea ecx, [esp + 0x7c]
call fcn.1001dca0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.1001d3f0
cmp dword [edi + 0x2dc], 0x8001
jne 0x10016111
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push ebp
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_525
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x78], 1
call sub.mfc90.dll_Ordinal_6078
mov edx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x4c]
push edx
inc eax
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edx
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
inc ecx
push ecx
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
push eax
inc ecx
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
inc edx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x2c], vtable.CPen.0
call fcn.10001760
jmp 0x10016111
cmp edx, 0x8001
jne 0x1001609a
mov ebx, vtable.CBrush.0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
push 2
mov dword [esp + 0x78], 2
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 4]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x2c], ebx
call fcn.10001760
mov ebx, 3
cmp dword [edi + 0x2dc], 0x8002
jne 0x1001626b
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.1001d3d0
mov ecx, dword [edi + 0x2dc]
push ecx
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], ebx
call fcn.1001df40
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ebp
push ebp
push ebp
push 4
push esi
lea ecx, [esp + 0x7c]
call fcn.1001dca0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.1001d3f0
cmp dword [edi + 0x2dc], 0x8002
jne 0x1001626b
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
sub eax, 4
mov dword [esp + 0x1c], ecx
add ecx, 5
mov dword [esp + 0x24], eax
sub eax, ecx
add ebx, 5
cmp eax, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
jle 0x1001626b
dec eax
shr eax, 2
inc eax
lea ebp, [ecx - 1]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CBrush.0
push 0x14
mov dword [esp + 0x78], 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_1358
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
lea eax, [ebx + 2]
mov dword [esp + 0x44], eax
lea eax, [ebp + 1]
mov dword [esp + 0x40], eax
add eax, 2
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
dec eax
lea ecx, [ebp + 2]
mov dword [esp + 0x68], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], ecx
add eax, 2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], eax
call sub.mfc90.dll_Ordinal_2106
mov edx, dword [edi + 0x2dc]
push edx
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_1358
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.10001760
add ebp, 4
sub dword [esp + 0x7c], 1
jne 0x10016160
xor ebp, ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x78], 5
call sub.mfc90.dll_Ordinal_4116
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], vtable.CFont.0
push str.Verdana
push 0x22
push 1
push 2
push 1
push ebp
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push 0xfffffffffffffff5
mov byte [esp + 0xac], 6
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_1358
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov dword [esp + 0x30], eax
call sub.mfc90.dll_Ordinal_6170
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov eax, dword [esp + 0x80]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
mov byte [esp + 0x84], 7
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x58]
mov ebx, eax
sub ebx, ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x80]
mov ebp, dword [edx - 0xc]
sub ebx, 0x1e
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
jle 0x10016453
test ebp, ebp
jle 0x10016432
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
jmp 0x10016380
push 0x100578a4
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.1000fd20
add esp, 0xc
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
mov byte [esp + 0x84], 8
call ebx
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
sub ecx, 0x1e
cmp dword [esp + 0x3c], ecx
jle 0x10016423
mov edx, dword [esp + 0x80]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 9
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x7c]
sub ebp, 2
mov byte [esp + 0x74], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
test ebp, ebp
jg 0x10016380
jmp 0x10016432
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x100578a4
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_945]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
sub eax, ecx
test eax, eax
jle 0x100164ac
cmp dword [edi + 0x2d0], 0
jne 0x10016473
mov eax, dword [edx - 0xc]
mov ecx, dword [esp + 0x5c]
push eax
push edx
push 6
add ecx, 8
push ecx
jmp 0x100164a3
cmp dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style], 0x8001
jne 0x10016494
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0xffffff
mov ecx, esi
call edx
mov edx, dword [esp + 0x80]
mov eax, dword [edx - 0xc]
push eax
mov eax, dword [esp + 0x60]
push edx
push 6
add eax, 8
push eax
mov ebx, dword [esi]
mov edx, dword [ebx + 0x64]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6048
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add ecx, 6
lea edx, [eax - 0x14]
mov dword [edi + 0x288], edx
sub eax, 7
lea ebx, [ecx + 0xd]
mov dword [edi + 0x28c], ecx
mov dword [edi + 0x278], edx
mov dword [edi + 0x27c], ecx
mov dword [edi + 0x290], eax
mov dword [edi + 0x294], ebx
mov ebp, 0xfffffff2
add dword [edi + 0x290], ebp
add dword [edi + 0x288], ebp
cmp dword [edi + 0x2a4], 0
mov dword [edi + 0x280], eax
mov dword [esp + 0x58], ebx
mov dword [edi + 0x284], ebx
lea ebx, [edi + 0x1e0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
push str.Auto_Hide
mov ecx, ebx
jne 0x1001655f
push 0xc
jmp 0x10016561
push 0xe
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiControlBarButton::SetData_int__char_const__
cmp dword [edi + 0x2d0], 0
je 0x10016582
cmp dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style], 0x8002
je 0x10016582
mov eax, 1
jmp 0x10016584
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push eax
push 5
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x298]
push eax
push esi
lea ecx, [edi + 0x148]
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiControlBarButton::Paint_class_CDC___int__class_CRect__unsigned_long_int__int_
cmp dword [edi + 0x2d0], 0
je 0x100165d6
cmp dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style], 0x8002
je 0x100165d6
mov eax, 1
jmp 0x100165d8
xor eax, eax
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x28c]
push eax
push 5
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x290]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x294]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x29c]
push eax
push esi
mov ecx, ebx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiControlBarButton::Paint_class_CDC___int__class_CRect__unsigned_long_int__int_
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
mov edx, dword [esi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 5
mov dword [esp + 0x34], vtable.CFont.0
call fcn.10001760
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8