Function at 0x418cf0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45c4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push str.Baofeng_StormPlayer
mov esi, ecx
xor bl, bl
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp byte [0x45c8d2], bl
je 0x418db2
test edi, edi
je 0x418db2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x418db2
cmp dword [esi + 0xb0c], eax
jne 0x418da9
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push 0xffffff3e
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x51
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 1
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
push 0x53
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call ebx
mov ecx, esi
call fcn.00417b00
mov bl, 1
cmp dword [0x45c8e4], 2
je 0x418ddc
test edi, edi
je 0x418dce
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x418dce
push 1
jmp 0x418dd0
push 0
call fcn.00439bf0
mov ecx, eax
call fcn.00439960
test bl, bl
jne 0x418e67
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
jne 0x418e0d
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x418e4f
cmp eax, dword [esi + 4]
je 0x418e5d
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call ebx
mov edi, eax
mov eax, dword [esi + 4]
push 0
push eax
call ebx
mov ebx, eax
cmp edi, ebx
je 0x418e37
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, ebx
je 0x418e4f
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 3
jl 0x418df7
jmp 0x418e67
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edi, 1
mov dword [esi + 0xb0c], edi
mov dword [0x45c8dc], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00439bf0
mov ecx, eax
call fcn.00439730
mov eax, dword [0x45c8dc]
push eax
call fcn.00439bf0
mov ecx, eax
call fcn.00439860
mov ecx, dword [0x45c8e8]
test ecx, ecx
je 0x418ecf
call fcn.00411790
mov ecx, dword [0x45c8e8]
mov esi, eax
call fcn.004117d0
push eax
push esi
call fcn.0040c270
add esp, 8
push eax
call fcn.00439bf0
mov ecx, eax
call fcn.00439920
call fcn.0040bfb0
mov esi, eax
call fcn.0040c1b0
test eax, eax
je 0x418ee2
push edi
jmp 0x418ee4
inc esi
push esi
call fcn.0040c0c0
add esp, 4
call fcn.0040bcc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b28c
mov esp, ebp
pop ebp
ret