Function at 0x402d50
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
push 0
push str.Shell_TrayWnd
mov dword [0x416904], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov ecx, dword [0x416904]
mov dword [esp + 0x10], eax
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x14]
push edx
push 6
push 0x413538
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
shl ecx, 0x10
or ecx, edx
mov eax, 0x2aaaaaab
mov ebx, ecx
mov esi, dword [esp + 0x44]
and ebx, 0xffff
mov edi, ecx
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
shr edi, 0x10
mov word [esi + 0xa0], dx
mov word [esi + 0xa2], di
mov edx, dword [0x416af8]
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x402def
jmp dword [eax*4 + 0x403038]
mov eax, dword [esp + 0x40]
push esi
push ecx
push eax
call fcn.00403050
jmp 0x402ffa
lea ecx, [esp + 0x1c]
mov dword [esi], 0
push ecx
mov dword [esi + 4], 4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
dec ecx
test edx, edx
mov dword [esi + 8], ecx
je 0x402e70
mov eax, dword [esp + 0x30]
cmp eax, 0xa
mov eax, edi
jle 0x402e5e
and eax, 0xffff
add eax, 0xe
mov dword [esi + 0xc], eax
jmp 0x402e70
and eax, 0xffff
lea ecx, [eax + 0xa]
mov dword [esi + 4], ecx
lea ecx, [ecx + eax + 0xa]
mov dword [esi + 0xc], ecx
cmp dword [0x416af8], 3
jne 0x402ed8
test edx, edx
je 0x402ebc
lea eax, [esp + 0x2c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ecx, edi
cmp eax, 0xa
jle 0x402ea6
and ecx, 0xffff
mov edx, eax
sub edx, ecx
sub edx, 0xa
mov dword [esi + 4], edx
jmp 0x402ed5
mov eax, dword [esp + 0x28]
and ecx, 0xffff
mov edx, eax
sub edx, ecx
sub edx, 0xa
mov dword [esi + 4], edx
jmp 0x402ed5
mov eax, dword [esp + 0x28]
mov ecx, edi
and ecx, 0xffff
mov edx, eax
sub edx, ecx
sub edx, 0x28
add eax, 0xffffffe2
mov dword [esi + 4], edx
mov dword [esi + 0xc], eax
mov eax, 5
and edi, 0xffff
mov dword [esi + 0x44], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 5]
lea edx, [esp + 0x14]
mov dword [esi + 0x18], eax
add eax, 5
mov dword [esi + 0x20], eax
push edx
lea ecx, [eax + ebx + 8]
lea eax, [edi + 5]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], eax
push 0xd
inc eax
push 0x413864
push ebp
mov dword [esi + 0x28], ecx
mov dword [esi + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x24]
shl eax, 0x10
or eax, edi
add ecx, 5
and eax, 0xffff
mov dword [esi + 0x30], ecx
add ecx, eax
mov dword [esi + 0x38], ecx
add ecx, 5
shr eax, 2
mov dword [esi + 0x40], ecx
lea ecx, [eax + 8]
lea edi, [ecx + ecx*2]
mov ecx, edx
sub ecx, edi
add edx, 0xfffffffb
mov dword [esi + 0x48], ecx
mov dword [esi + 0x68], edx
lea ecx, [ecx + eax*2]
mov edx, dword [esi + 0x64]
mov dword [esi + 0x74], edx
mov edx, dword [esi + 0x6c]
lea ecx, [eax + ecx - 1]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x60], ecx
add ecx, 0xfffffffd
mov dword [esi + 0x78], ecx
sub ecx, eax
add ecx, 2
mov dword [esi + 0x70], ecx
add ecx, 0xfffffffd
mov edx, ecx
mov dword [esi + 0x98], ecx
sub edx, eax
lea eax, [edx + 5]
mov edx, dword [esi + 0x44]
add edx, 2
mov dword [esi + 0x90], eax
mov dword [esi + 0x84], edx
mov dword [esi + 0x94], edx
mov edx, dword [esi + 0x4c]
add edx, 0xfffffffe
mov dword [esi + 0x8c], edx
mov dword [esi + 0x9c], edx
lea edx, [eax - 2]
mov dword [esi + 0x88], edx
add edx, eax
sub edx, ecx
mov dword [esi + 0x80], edx
jmp case.default.0x402def
mov eax, dword [esp + 0x40]
push esi
push ecx
push eax
call fcn.00402b70
add esp, 0xc
mov ecx, dword [0x416904]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
inc edx
push 1
push edx
mov edx, dword [esi + 8]
sub edx, ecx
inc edx
push edx
push eax
mov eax, dword [0x416904]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret