Function at 0x10045fd0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d5b6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1019142c]
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 + 0x2e4]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0
jne 0x10046084
push 0x7d4
call fcn.100de03e
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 0x1014affc
call fcn.10022620
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.1005abc0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
jmp 0x1004606c
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 0x10046158
cmp dword [ebp + 8], 1
jne 0x100460ef
push 0x7d4
call fcn.100de03e
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 0x1014b010
call fcn.10022620
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.1005abc0
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], edx
jmp 0x100460da
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 0x10046158
cmp dword [ebp + 8], 2
jne 0x10046158
push 0x7d4
call fcn.100de03e
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.10022620
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.1005abc0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
jmp 0x10046145
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 0x1014b03c
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x2e4]
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 0x1014b050
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 0x1004625d
cmp dword [ebp - 0x2c], 0
jne 0x1004625d
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jle 0x1004625d
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 0x10046222
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
jmp 0x10046258
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 0x10046245
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp 0x10046258
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 0x1004631f
cmp dword [ebp - 0x30], 0
jle 0x100462ce
cmp dword [ebp - 0x2c], 0
jne 0x100462ce
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 0x10046284
mov dword [ebp - 0x34], 0
jmp 0x100462cc
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 0x100462b9
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 0x100462cc
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 0x1004631f
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 0x100462e9
mov dword [ebp - 0x34], 0
jmp 0x1004631f
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 0x1004630c
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1004631f
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 0x10046336
cmp dword [ebp - 0x2c], 1
jne 0x10046336
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
jmp 0x1004633d
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 0x1004637c
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 0x1004639b
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.100ddfee
mov esp, ebp
pop ebp
ret 0x10