Function at 0x1004a670
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123286
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x3e0]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0
jne 0x1004a724
push 0x7d4
call fcn.100e3899
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x10151790
call fcn.10020010
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.10060230
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
jmp 0x1004a70c
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
jmp 0x1004a7f8
cmp dword [ebp + 8], 1
jne 0x1004a78f
push 0x7d4
call fcn.100e3899
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x101517a4
call fcn.10020010
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.10060230
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], edx
jmp 0x1004a77a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x38], ecx
jmp 0x1004a7f8
cmp dword [ebp + 8], 2
jne 0x1004a7f8
push 0x7d4
call fcn.100e3899
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.MenuInfo
call fcn.10020010
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.10060230
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
jmp 0x1004a7e5
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
push 0x90000000
push 0x101517d0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x3e0]
push ecx
mov ecx, dword [ebp - 0x38]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x38]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x7c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
push 0x101517e4
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x30], 0
jne 0x1004a8fd
cmp dword [ebp - 0x2c], 0
jne 0x1004a8fd
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jle 0x1004a8fd
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 0x28]
jge 0x1004a8c2
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
jmp 0x1004a8f8
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x3c]
jle 0x1004a8e5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp 0x1004a8f8
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp + 0xc]
sub edx, eax
mov dword [ebp - 0x34], edx
jmp 0x1004a9bf
cmp dword [ebp - 0x30], 0
jle 0x1004a96e
cmp dword [ebp - 0x2c], 0
jne 0x1004a96e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
sub ecx, eax
jns 0x1004a924
mov dword [ebp - 0x34], 0
jmp 0x1004a96c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
cmp eax, ecx
jle 0x1004a959
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x1004a96c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp + 0xc]
sub edx, eax
mov dword [ebp - 0x34], edx
jmp 0x1004a9bf
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
sub ecx, eax
jns 0x1004a989
mov dword [ebp - 0x34], 0
jmp 0x1004a9bf
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x3c]
jle 0x1004a9ac
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1004a9bf
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x30], 0
jne 0x1004a9d6
cmp dword [ebp - 0x2c], 1
jne 0x1004a9d6
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
jmp 0x1004a9dd
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x44]
cmp eax, ecx
jle 0x1004aa1c
push 0x41
push 0
push 0
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
sub eax, edx
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
mov ecx, dword [ebp - 0x38]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1004aa3b
push 0x41
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x38]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 0x10