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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, ecx
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x18], ebx
cmp eax, ecx
jne 0x45b5ac
mov eax, dword [ebx + 4]
cmp eax, 0x200
je 0x45b6e6
cmp eax, 0x201
jne 0x45b2a0
mov esi, dword [esi + 0x5184]
test esi, esi
je 0x45b289
mov eax, dword [esi]
mov ecx, dword [eax + 0x64]
push esi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x100
jne 0x45b4af
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
movzx edi, ax
shr edi, 0xf
push 0x12
and edi, 1
call ebx
push 0x10
call ebx
mov edx, dword [esi + 0x7c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
cmp edx, 0xd
jne 0x45b313
test edi, edi
je 0x45b2ff
push 2
push 0
lea edx, [esi - 0x60]
push edx
mov ecx, eax
call fcn.00468380
jmp 0x45b6e6
push 0
push 1
lea ecx, [esi - 0x60]
push ecx
mov ecx, eax
call fcn.00468380
jmp 0x45b6e6
cmp edx, 0x71
jne 0x45b32b
mov edx, dword [esi + 0x7c]
push 0
push eax
push 0x1076
push edx
call ebx
jmp 0x45b6e6
cmp edx, 0x74
jne 0x45b3a2
mov eax, dword [esi + 0x4c38]
test eax, eax
jne 0x45b37d
mov eax, dword [esi + 0x4ebc]
push eax
call dword [sym.imp.SHELL32.dll_ILClone]
mov edi, eax
mov dword [esp + 0x14], edi
push 0
push 1
lea eax, [esi + 0x52fc]
push eax
xor edx, edx
mov ecx, edi
mov dword [esp + 0x34], 2
call fcn.00480d50
test edi, edi
je 0x45b6e6
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45b6e6
cmp eax, 1
jne 0x45b6e6
mov ecx, dword [esi + 0x5180]
push 0
push eax
push eax
push ecx
lea edx, [esi + 0x52fc]
push edx
call fcn.00482780
jmp 0x45b6e6
cmp edx, 0x2e
jne 0x45b3b5
lea eax, [esi - 0x60]
push eax
call fcn.0046a420
jmp 0x45b6e6
cmp edx, 8
jne 0x45b3dc
lea ecx, [esi - 0x60]
call fcn.0046d8b0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x45b405
cmp edx, 0x4f
je 0x45b3ea
cmp edx, 0x6f
jne 0x45b405
lea edi, [esi - 0x60]
call fcn.0046f270
test eax, eax
jne 0x45b6e6
push edi
call fcn.00465350
jmp 0x45b6e6
cmp edx, 0x6a
jne 0x45b417
lea edi, [esi + 0x78]
call fcn.004c40c0
jmp 0x45b6e6
test edi, edi
je 0x45b6e6
cmp edx, 0x41
je 0x45b429
cmp edx, 0x61
jne 0x45b437
lea ecx, [esi + 0x78]
push ecx
call fcn.004c4140
jmp 0x45b6e6
cmp edx, 0x57
je 0x45b441
cmp edx, 0x77
jne 0x45b44e
lea eax, [esi - 0x60]
call fcn.00466530
jmp 0x45b6e6
cmp edx, 0x43
je 0x45b458
cmp edx, 0x63
jne 0x45b466
lea edx, [esi - 0x60]
push edx
call fcn.0046b590
jmp 0x45b6e6
cmp edx, 0x56
je 0x45b474
cmp edx, 0x76
jne 0x45b6e6
mov eax, dword [esi + 0x4c38]
test eax, eax
jne 0x45b492
mov eax, dword [esi + 0x5174]
push eax
lea ecx, [esi - 0x60]
call fcn.0046a9f0
jmp 0x45b6e6
cmp eax, 1
jne 0x45b6e6
mov ecx, dword [esi + 0x5180]
push ecx
lea ecx, [esi - 0x60]
call fcn.0046a9f0
jmp 0x45b6e6
cmp eax, 0x104
jne 0x45b6e6
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 8]
cmp edx, 0x56
je 0x45b598
cmp edx, 0x76
je 0x45b598
cmp edx, 0x45
je 0x45b57d
cmp edx, 0x65
je 0x45b57d
cmp edx, 0x41
je 0x45b56f
cmp edx, 0x61
je 0x45b56f
cmp edx, 0x54
je 0x45b554
cmp edx, 0x74
je 0x45b554
cmp edx, 0x4d
je 0x45b539
cmp edx, 0x6d
je 0x45b539
cmp edx, 0x49
je 0x45b51d
cmp edx, 0x69
jne 0x45b6e6
lea edi, [esi - 0x60]
call fcn.0046f270
test eax, eax
jne 0x45b6e6
mov ecx, edi
call fcn.004641d0
jmp 0x45b6e6
lea edi, [esi - 0x60]
call fcn.0046f170
test eax, eax
jne 0x45b6e6
push edi
call fcn.004633b0
jmp 0x45b6e6
lea edi, [esi - 0x60]
call fcn.0046f170
test eax, eax
jne 0x45b6e6
push edi
call fcn.00464c60
jmp 0x45b6e6
lea edx, [esi - 0x60]
push edx
call fcn.00462060
jmp 0x45b6e6
lea edi, [esi - 0x60]
call fcn.0046f170
test eax, eax
jne 0x45b6e6
push edi
call fcn.00461940
jmp 0x45b6e6
push 1
push 0
lea ecx, [esi - 0x60]
push ecx
mov ecx, eax
call fcn.00468380
jmp 0x45b6e6
cmp dword [ebx + 4], 0x100
jne 0x45b67f
cmp dword [ebx + 8], 0xd
jne 0x45b67f
mov ebx, dword [sym.imp.USER32.dll_GetParent]
xor edi, edi
test eax, eax
je 0x45b6e6
cmp eax, dword [esi - 0x5c]
je 0x45b6e6
cmp eax, dword [esi + 0x4424]
je 0x45b5f2
push eax
call ebx
inc edi
cmp edi, 3
jl 0x45b5cb
jmp 0x45b6e6
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esi + 0x4420]
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 3
call fcn.004bed20
lea edx, [esp + 0x14]
push edx
call fcn.0041ba70
push eax
call fcn.0041b9c0
mov eax, dword [esi + 0x537c]
mov edx, dword [esp + 0x14]
push 0
push 1
lea ecx, [esi + 0x52fc]
push ecx
or edi, 0xffffffff
xor ecx, ecx
mov dword [esi + 0x5384], eax
mov dword [esi + 0x537c], edi
call fcn.00480d50
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x45b6e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b6e6
mov ecx, dword [esi - 0x5c]
push 0x7fbc
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebx], eax
jne 0x45b6e6
cmp dword [ebx + 4], 0x203
jne 0x45b6e6
movzx edi, word [ebx + 0xc]
movzx ebx, word [ebx + 0xe]
mov eax, 0x14
call int.0041cd00
cmp edi, eax
jge 0x45b6e6
mov eax, 0x14
call int.0041cd00
cmp ebx, eax
jge 0x45b6e6
lea edi, [esi - 0x60]
call fcn.0046f270
test eax, eax
jne 0x45b6e6
call fcn.0046f270
test eax, eax
jne 0x45b6e6
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi - 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4