Function at 0x459450
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov eax, 0x21a0
call fcn.004d4ce0
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov ebx, dword [esp + 0x21b4]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebx], 0
mov edx, dword [edx + 0x7590]
lea eax, [esp + 0x58]
push 0x824
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
lea ecx, [esp + 0x58]
push 0x4f2e6c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4594b9
mov word [eax], 0x2e
jmp 0x45949b
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
cmp edi, 8
jle 0x459536
push 5
lea edx, [esp + 0x5c]
push 0x4f2e60
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x459536
mov esi, 0x2f
cmp word [esp + 0x64], si
je 0x45959f
cmp word [esp + 0x62], si
je 0x459517
lea eax, [esp + 0x62]
push 0x1038
lea ecx, [esp + 0x6a]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov word [esp + 0x62], si
mov word [esp + 0x64], si
jmp 0x45959f
lea edx, [esp + 0x64]
push 0x1036
lea eax, [esp + 0x6a]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov word [esp + 0x64], si
jmp 0x45959f
cmp edi, 9
jle 0x45959f
push 6
lea ecx, [esp + 0x5c]
push str.https:
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x45959f
mov esi, 0x2f
cmp word [esp + 0x66], si
je 0x45959f
cmp word [esp + 0x64], si
je 0x459582
lea edx, [esp + 0x64]
push 0x1036
lea eax, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov word [esp + 0x64], si
jmp 0x45959a
lea ecx, [esp + 0x66]
push 0x1034
lea edx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov word [esp + 0x66], si
mov eax, dword [0x727964]
test eax, eax
je 0x459650
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebp
mov si, ax
push 0x12
shr esi, 8
and esi, 0xff
call ebp
mov di, ax
push 0x10
shr edi, 8
and edi, 0xff
call ebp
shr eax, 8
and eax, 0xff
test esi, esi
je 0x45960f
test edi, edi
je 0x4595f2
push 0x72e968
push 0x72d968
jmp 0x45963a
test eax, eax
je 0x45962c
mov eax, dword [esp + 0x21b8]
push 0x72c968
lea edx, [esp + 0x5c]
push 0x72b968
push edx
push eax
jmp 0x459647
test eax, eax
je 0x45962c
mov edx, dword [esp + 0x21b8]
push 0x72a968
lea ecx, [esp + 0x5c]
push 0x729968
push ecx
push edx
jmp 0x459647
test esi, esi
je 0x459650
push 0x728968
push 0x727968
mov ecx, dword [esp + 0x21c0]
lea eax, [esp + 0x60]
push eax
push ecx
push ebx
call fcn.00432eb0
add esp, 0x14
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 4
test eax, eax
jne 0x45966f
lea edx, [esp + 0x58]
push edx
push ebx
call ebp
add esp, 8
mov esi, dword [sym.imp.MSVCRT.dll_wcsstr]
push str.baidu.com_s
push ebx
call esi
add esp, 8
test eax, eax
jne 0x459693
push str.baidu.com_baidu_
push ebx
call esi
add esp, 8
test eax, eax
je 0x459706
push 0x4f2e0c
push ebx
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x459706
lea eax, [esp + 0x10a0]
push ebx
push eax
call ebp
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
mov ecx, esi
sub ecx, ebx
lea edx, [esp + 0x10a8]
sar ecx, 1
push 0x4f2df4
push edx
mov word [esp + ecx*2 + 0x10b0], 0
call edi
add esi, 6
push 0x4f2df0
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x18
test eax, eax
je 0x4596f8
push eax
lea eax, [esp + 0x10a4]
push eax
call edi
add esp, 8
lea ecx, [esp + 0x10a0]
push ecx
push ebx
call ebp
add esp, 8
mov ecx, 0x11
mov esi, str.http:__www.google.com.hk_search_q
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push edx
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4597a7
lea ebp, [ebx + 0x44]
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
push str.ieutf_8
lea eax, [ebp + esi*2 - 0x12]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0xc
test eax, eax
jne 0x4597a7
mov ecx, 0x411
lea edi, [esp + 0x10a2]
mov word [esp + 0x10a0], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi - 9]
cmp eax, 0x823
jb 0x459775
mov eax, 0x823
push eax
lea ecx, [esp + 0x10a4]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov eax, dword [esp + 0x21c4]
add esp, 0xc
lea edx, [esp + 0x10a0]
push edx
push str.http:__www.google.com.hk_search_clientaff_cs_worldbrowserforid1ieutf_8oeUTF_8hlzh_CNq_s
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21a0
ret 8