Function at 0x40b5da
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41167a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ebx, [esi + 0x60]
mov ecx, ebx
mov dword [esp + 0x18], ebx
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::SetParent_class_CWnd__
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 0x64
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x44]
push 0x64
mov dword [esp + 0x34], ecx
push 0x82
push 0x32
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
call sub.MFC42.DLL_CRect::DeflateRect
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add ecx, 0x1e
add eax, 0x12c
mov dword [esp + 0x30], ecx
push str.1234567890_ABCDEFG_HIJKLMN_OPQ_RST_UVWXYZ
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
call fcn.0040f88c
xor esi, esi
push 0x4201f8
push 0x41f57c
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], esi
call sub.MFC42.DLL_CString::Replace
jmp 0x40b675
mov ebx, dword [esp + 0x14]
push 0x58
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x5c], 1
je 0x40b6db
push 0x202020
push 0xa0dcf0
push 0
push 0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
lea ecx, [esp + 0x2c]
mov edx, esp
mov dword [esp + 0x3c], esp
push 1
push esi
push edx
mov byte [esp + 0x84], 2
call sub.MFC42.DLL_CString::Mid
mov ecx, edi
mov byte [esp + 0x78], 1
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov ebp, eax
jmp 0x40b6dd
xor ebp, ebp
push ebp
mov ecx, ebx
mov byte [esp + 0x60], 0
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
mov eax, esi
mov ecx, 0xa
cdq
idiv ecx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
sub esp, 0x10
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
dec ecx
lea edi, [edx + edx*2]
lea edx, [edx + edx*2 + 3]
lea edi, [edi + edi*4]
lea edx, [edx + edx*4]
lea edi, [eax + edi*2]
lea eax, [eax + edx*2]
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_class_CRect_
cmp esi, 9
je 0x40b746
cmp esi, 0x13
je 0x40b746
cmp esi, 0x1d
jne 0x40b755
push 0x1e
lea eax, [esp + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
inc esi
cmp esi, 0x24
jl 0x40b671
push 0x58
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov bl, 5
test esi, esi
mov byte [esp + 0x5c], bl
je 0x40b7bc
push 0x64
push 0xffffffffffffffff
push 0xd2
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
mov byte [esp + 0x78], 6
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
mov ecx, esi
mov byte [esp + 0x78], bl
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
jmp 0x40b7be
xor esi, esi
push 0x24
push 0x24
push 0x37
push 0x32
mov ecx, esi
mov byte [esp + 0x6c], 0
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_int__int__int__int_
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
push 0x58
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov bl, 7
test esi, esi
mov byte [esp + 0x5c], bl
je 0x40b83b
push 0x64
push 0xffffffffffffffff
push 0xff
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
mov byte [esp + 0x78], 8
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
mov ecx, esi
mov byte [esp + 0x78], bl
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
jmp 0x40b83d
xor esi, esi
push 0x1e
push 0x2e
push 0x5a
push 0x32
mov ecx, esi
mov byte [esp + 0x6c], 0
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_int__int__int__int_
push esi
mov ecx, edi
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
mov esi, dword [esp + 0x30]
push 0x58
dec esi
mov dword [esp + 0x34], esi
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x5c], 9
je 0x40b8c2
push 0x202020
push 0x64c8ff
push 0
push 0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
mov byte [esp + 0x78], 0xa
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41f564
call fcn.0040f88c
mov ecx, esi
mov byte [esp + 0x78], 9
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
jmp 0x40b8c4
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, eax
push ecx
push 0x3c
add edx, 0xb4
push eax
push edx
mov ecx, esi
mov byte [esp + 0x6c], 0
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_int__int__int__int_
push esi
mov ecx, edi
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
push 0x58
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov bl, 0xb
test esi, esi
mov byte [esp + 0x5c], bl
je 0x40b951
push 0x202020
push 0x64c8ff
push 0
push 0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
mov byte [esp + 0x78], 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41f56c
call fcn.0040f88c
mov ecx, esi
mov byte [esp + 0x78], bl
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
jmp 0x40b953
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, eax
push ecx
push 0x3c
add edx, 0xf0
push eax
push edx
mov ecx, esi
mov byte [esp + 0x6c], 0
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_int__int__int__int_
push esi
mov ecx, edi
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
push 0x58
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov bl, 0xd
test esi, esi
mov byte [esp + 0x5c], bl
je 0x40b9e0
push 0x202020
push 0x80a4ff
push 0
push 0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4201f8
call fcn.0040f88c
push ecx
mov byte [esp + 0x78], 0xe
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41f574
call fcn.0040f88c
mov ecx, esi
mov byte [esp + 0x78], bl
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::constructor_class_CString__class_CString__short_int__short_int__short_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
jmp 0x40b9e2
xor esi, esi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
sub eax, ebx
mov byte [esp + 0x5c], 0
add eax, 0xf
push eax
lea eax, [esp + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, dword [esp + 0x40]
mov ecx, esp
add eax, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call sub.SSQFrame.dll_public:_void___thiscall_CQButton::SetRect_class_CRect_
push esi
mov ecx, edi
call sub.SSQFrame.dll_public:_void___thiscall_CQToolBar::Add_class_CQButton__
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret