Function at 0x40e170
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, eax
push edi
cmp esi, 0x410
ja 0x40e2cf
je 0x40e28d
cmp esi, 0x305
jb case.0x40e2f0.1045
cmp esi, 0x306
jbe 0x40e1e8
cmp esi, 0x402
jne case.0x40e2f0.1045
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x1f
push 0x53
call esi
push 0
push 2
push 0x1f
push 0x53
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x29
call fcn.0040ee20
lea eax, [edi - 0x28]
pop edi
pop esi
ret
push 0
push 0x48bb58
call dword [sym.imp.USER32.dll_FindWindowW]
xor ecx, ecx
cmp esi, 0x305
sete cl
mov edi, ecx
test eax, eax
je 0x40e210
push eax
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_SetWindowToForeground]
add esp, 4
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 1
push 0x5b
push 0x5b
call esi
test edi, edi
jne 0x40e22c
push edi
push edi
push 0x2a
push 0x10
call esi
push 0
push 0
push 0x32
push 0x4d
call esi
push 0
push 2
push 0x32
push 0x4d
call esi
test edi, edi
jne 0x40e24d
push edi
push 2
push 0x2a
push 0x10
call esi
push 0
push 3
push 0x5b
push 0x5b
call esi
test edi, edi
je 0x40e274
mov edi, 0x30
call fcn.00426d60
mov esi, dword [esp + 0xc]
call fcn.0040ee20
lea eax, [edi - 0x2f]
pop edi
pop esi
ret
mov edi, 0x31
call fcn.00427000
mov esi, dword [esp + 0xc]
call fcn.0040ee20
lea eax, [edi - 0x30]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x2c
push 0x5a
call esi
push 0
push 2
push 0x2c
push 0x5a
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2a
call fcn.0040ee20
lea eax, [edi - 0x29]
pop edi
pop esi
ret
cmp esi, 0x930b
ja 0x40e477
je 0x40e441
lea eax, [esi - 0x411]
cmp eax, 5
ja case.0x40e2f0.1045
jmp dword [eax*4 + 0x40e4bc]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x15
push 0x59
call esi
push 0
push 2
push 0x15
push 0x59
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2b
call fcn.0040ee20
lea eax, [edi - 0x2a]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x2d
push 0x58
call esi
push 0
push 2
push 0x2d
push 0x58
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2c
call fcn.0040ee20
lea eax, [edi - 0x2b]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x2e
push 0x43
call esi
push 0
push 2
push 0x2e
push 0x43
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2d
call fcn.0040ee20
lea eax, [edi - 0x2c]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x2f
push 0x56
call esi
push 0
push 2
push 0x2f
push 0x56
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2e
call fcn.0040ee20
lea eax, [edi - 0x2d]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x1d
push 0x11
call esi
push 0
push 0
push 0x19
push 0x50
call esi
push 0
push 2
push 0x19
push 0x50
call esi
push 0
push 2
push 0x1d
push 0x11
call esi
mov esi, dword [esp + 0xc]
mov edi, 0x2f
call fcn.0040ee20
lea eax, [edi - 0x2e]
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x2a
push 0x10
call esi
push 0
push 0
push 9
push 0x38
call esi
push 0
push 2
push 9
push 0x38
call esi
push 0
push 2
push 0x2a
push 0x10
call esi
mov eax, 1
pop edi
pop esi
ret
cmp esi, 0x930c
je 0x40e484
xor eax, eax
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x2a
push 0x10
call esi
push 0
push 0
push 4
push 0x33
call esi
push 0
push 2
push 4
push 0x33
call esi
push 0
push 2
push 0x2a
push 0x10
call esi
pop edi
mov eax, 1
pop esi
ret