Function at 0x1004a010
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122a56
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1019742c]
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 0x1004a0c4
push 0x7d4
call fcn.100e30b9
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 0x10150668
call fcn.1001fdb0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.1005fc20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
jmp 0x1004a0ac
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 0x1004a198
cmp dword [ebp + 8], 1
jne 0x1004a12f
push 0x7d4
call fcn.100e30b9
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 0x1015067c
call fcn.1001fdb0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.1005fc20
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], edx
jmp 0x1004a11a
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 0x1004a198
cmp dword [ebp + 8], 2
jne 0x1004a198
push 0x7d4
call fcn.100e30b9
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.1001fdb0
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.1005fc20
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
jmp 0x1004a185
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 0x101506a8
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 0x101506bc
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 0x1004a29d
cmp dword [ebp - 0x2c], 0
jne 0x1004a29d
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jle 0x1004a29d
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 0x1004a262
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
jmp 0x1004a298
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 0x1004a285
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp 0x1004a298
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 0x1004a35f
cmp dword [ebp - 0x30], 0
jle 0x1004a30e
cmp dword [ebp - 0x2c], 0
jne 0x1004a30e
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 0x1004a2c4
mov dword [ebp - 0x34], 0
jmp 0x1004a30c
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 0x1004a2f9
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 0x1004a30c
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 0x1004a35f
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 0x1004a329
mov dword [ebp - 0x34], 0
jmp 0x1004a35f
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 0x1004a34c
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1004a35f
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 0x1004a376
cmp dword [ebp - 0x2c], 1
jne 0x1004a376
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
jmp 0x1004a37d
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 0x1004a3bc
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 0x1004a3db
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.100e3069
mov esp, ebp
pop ebp
ret 0x10