Function at 0x10040710
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x1008deb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x100c87bc]
push 0xd9
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [edi + 4]
push eax
push 1
lea esi, [edi + 4]
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x4c], eax
mov edx, dword [esi]
push 0
push edx
call fcn.10064a50
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str._of_the__s_Toolbar_is_available
call fcn.10001280
lea eax, [esp + 0x18]
push eax
call fcn.10064970
mov ebx, eax
lea ecx, [edi + 0x24]
push ecx
lea edx, [esp + 0x2c]
push 0x100a9278
push edx
mov dword [esp + 0x40], 0
call fcn.10014180
add esp, 0x18
mov ecx, dword [ebx]
mov byte [esp + 0x28], 1
test ecx, ecx
je 0x100407c5
mov ecx, dword [ecx]
jmp 0x100407c7
xor ecx, ecx
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1000c8b0
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100407fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x10]
mov byte [esp + 0x28], 4
test ebx, ebx
je 0x10040848
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10040840
test ebx, ebx
je 0x10040840
mov eax, dword [ebx]
test eax, eax
je 0x10040827
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10040837
push eax
call fcn.10071dac
add esp, 4
push ebx
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edx
push 0xd6
push eax
call ebx
mov eax, dword [edi + 0x34]
cmp dword [eax - 0xc], 0
jne 0x1004086b
mov eax, 0x100a37a4
push eax
lea ecx, [esp + 0x18]
call fcn.1000b5a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push ecx
push 0xd7
push edx
call ebx
mov eax, dword [edi + 0x2c]
cmp dword [eax - 0xc], 0
jne 0x100408a4
mov ecx, dword [esi]
push 0xd8
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.10001030
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100408e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004090f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10