Function at 0x46ddf0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 4]
cmp esi, 0x200
je 0x46de36
cmp esi, 0xa0
je 0x46de36
cmp esi, 0x202
je 0x46de36
cmp esi, 0x205
je 0x46de36
cmp esi, 0x208
jne 0x46e3c6
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call ebx
test ax, ax
jl 0x46e3c3
push 2
call ebx
test ax, ax
jl 0x46e3c3
push 4
call ebx
test ax, ax
jl 0x46e3c3
test edi, edi
jne 0x46de93
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.004dfd70
test eax, eax
je 0x46de8a
test dword [eax + 0x3c], 0x401
jne 0x46de8a
mov ecx, eax
call fcn.004182f0
test eax, eax
jne 0x46de76
cmp eax, dword [ebp + 0xc]
jne 0x46e49b
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00410aa0
call fcn.00440ad0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x60]
mov ebx, eax
mov dword [esp + 0x3c], ebx
call fcn.00410aa0
test eax, eax
je 0x46ded0
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46ded0
test ebx, ebx
je 0x46e48a
mov ecx, edi
call fcn.004e0076
mov ecx, dword [esi + 0x60]
mov ebx, eax
test ecx, ecx
je 0x46def3
call fcn.00424820
cmp eax, ebx
je 0x46def3
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x46df07
call fcn.00410aa0
test eax, eax
jne 0x46e06d
cmp dword [esi + 0x60], 0
jne 0x46df1a
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push ebx
mov ecx, esi
call eax
mov dword [esi + 0x60], eax
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x46e49b
call fcn.00410aa0
test eax, eax
jne 0x46df90
mov ecx, dword [esi + 0x60]
push ecx
push 0x58125c
call fcn.004f9663
add esp, 8
test eax, eax
je 0x46df54
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x60]
or eax, 3
push edx
call fcn.0046aaa0
jmp 0x46df90
mov eax, dword [esi + 0x60]
push eax
push 0x5653d0
call fcn.004f9663
add esp, 8
test eax, eax
je 0x46e49b
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc0
add eax, 0x40
or eax, dword [esi + 0x40]
or eax, 3
push eax
push ebx
call edx
mov ecx, dword [esi + 0x60]
call fcn.00410aa0
test eax, eax
je 0x46e49b
mov eax, dword [esi + 0x60]
push eax
lea ecx, [esi + 0x98]
mov eax, 1
call fcn.00422310
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push 0x418
call fcn.004183f0
mov ecx, dword [esi + 0x60]
lea edx, [esi + 0x44]
push edx
push 0
push 0x41a
call fcn.004183f0
mov eax, dword [esi + 0x90]
or ebx, 0xffffffff
cmp eax, ebx
je 0x46dff7
mov ecx, dword [esi + 0x60]
push 0
push eax
push 0x413
call fcn.004183f0
mov eax, dword [esi + 0x94]
cmp eax, ebx
je 0x46e011
mov ecx, dword [esi + 0x60]
push 0
push eax
push 0x414
call fcn.004183f0
cmp dword [esi + 0x58], ebx
je 0x46e02a
movzx eax, word [esi + 0x58]
mov ecx, dword [esi + 0x60]
push eax
push 1
push 0x403
call fcn.004183f0
cmp dword [esi + 0x54], ebx
je 0x46e043
movzx ecx, word [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x60]
push 3
push 0x403
call fcn.004183f0
cmp dword [esi + 0x5c], ebx
je 0x46e05c
movzx edx, word [esi + 0x5c]
mov ecx, dword [esi + 0x60]
push edx
push 2
push 0x403
call fcn.004183f0
mov ecx, dword [esi + 0x60]
push 0
push 0
push 0x401
call fcn.004183f0
mov ebx, dword [esi + 0x60]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], ebx
call fcn.00415ff0
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x2c
lea edx, [esp + 0x4c]
push 0
push edx
call fcn.0050bed0
add esp, 0xc
cmp dword [esi + 0x20], 0
jne 0x46e0de
cmp dword [esi + 0x24], 0
mov dword [esp + 0x48], 0x28
je 0x46e0e6
mov dword [esp + 0x48], 0x2c
mov ecx, dword [esp + 0x38]
mov edx, dword [edi]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
mov ecx, edi
call edx
cmp dword [esi + 0x20], 0
mov dword [esp + 0x10], eax
je 0x46e162
mov edi, dword [esp + 0x14]
test edi, edi
je 0x46e162
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x46e162
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46e148
test dx, dx
je 0x46e144
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46e148
add eax, 4
add ecx, 4
test dx, dx
jne 0x46e122
xor eax, eax
jmp 0x46e14d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46e162
push edi
call fcn.00511267
add esp, 4
mov dword [esp + 0x14], 0
test byte [esi + 0x40], 2
jne 0x46e17d
mov eax, dword [esp + 0x6c]
call fcn.004404f0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
call fcn.004404f0
mov ecx, dword [esi + 0x70]
cmp ecx, dword [esp + 0x54]
jne 0x46e1e7
mov edx, dword [esi + 0x6c]
cmp edx, dword [esp + 0x50]
jne 0x46e1e7
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x14], 0
call edi
lea edx, [esi + 0x74]
push edx
lea eax, [esp + 0x78]
push eax
call edi
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x46e1ef
cmp dword [esp + 0x10], 0xffffffff
je 0x46e37b
push ebx
mov ebx, dword [ebp + 0x10]
call fcn.0046db70
jmp 0x46e37b
mov dword [esp + 0xc], 1
cmp dword [esi + 0x64], 0x28
lea eax, [esi + 0x64]
mov dword [esp + 0x44], eax
jb 0x46e212
cmp dword [esp + 0xc], 0
jne 0x46e212
push eax
push 0
push 0x433
mov ecx, ebx
call fcn.004183f0
cmp dword [esp + 0x10], 0xffffffff
je 0x46e336
mov eax, dword [esp + 0x4c]
mov ecx, 0xb
lea esi, [esp + 0x48]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x94]
push ecx
push 0
and eax, 0x3fffffff
push 0x432
mov ecx, ebx
mov dword [esp + 0xa4], eax
call fcn.004183f0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x30]
cmp eax, 3
je 0x46e2c4
cmp eax, 6
je 0x46e2c4
cmp dword [esi + 0x34], 0x50050
jae 0x46e272
test eax, eax
je 0x46e2c4
cmp dword [esi + 0x20], 0
je 0x46e2b4
cmp dword [esp + 0x14], 0
je 0x46e2b4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46e2b4
mov edx, dword [esi + 0x38]
push eax
push edx
push 0x421
mov ecx, ebx
call fcn.004183f0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x94]
push ecx
push 0
mov dword [esp + 0xc0], eax
push 0x439
jmp 0x46e2bd
push 0
push 0
push 0x421
mov ecx, ebx
call fcn.004183f0
cmp dword [esi + 0x24], 0
je 0x46e2fa
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46e2ea
mov edx, dword [esi + 0x28]
mov esi, dword [esi + 0x2c]
add esi, dword [esp + 0x10]
push edx
push eax
call fcn.0042a780
test eax, eax
je 0x46e2ea
push eax
jmp 0x46e2ec
push 0
push 0
push 0x2a49
mov ecx, ebx
call fcn.004183f0
test dword [esp + 0x4c], 0x40000000
jne 0x46e30b
cmp dword [esp + 0x3c], 0
je 0x46e346
push 0
push 1
push 0x401
mov ecx, ebx
call fcn.004183f0
mov eax, dword [ebx + 0x20]
push 0x213
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x46e346
push 0
push 0
push 0x401
mov ecx, ebx
call fcn.004183f0
push ebx
mov ebx, dword [ebp + 0x10]
call fcn.0046db70
mov edi, dword [esp + 0x44]
cmp dword [edi], 0x28
jb 0x46e370
cmp dword [esp + 0xc], 0
je 0x46e370
mov ecx, dword [esp + 0x40]
push edi
push 0
push 0x433
call fcn.004183f0
mov ecx, 0xb
lea esi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x6c]
cmp eax, 0xffffffff
je 0x46e394
cmp dword [esp + 0x68], 0
jne 0x46e394
push eax
call fcn.00511267
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46e3a5
push eax
call fcn.00511267
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46e49b
push eax
call fcn.00511267
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
test edi, edi
jne 0x46e400
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.004dfd70
test eax, eax
je 0x46e3f8
lea esp, [esp]
cmp eax, ebx
je 0x46e400
test dword [eax + 0x3c], 0x401
jne 0x46e3f8
mov ecx, eax
call fcn.004182f0
test eax, eax
jne 0x46e3e0
cmp eax, ebx
jne 0x46e49b
cmp esi, 0x100
jb 0x46e410
cmp esi, 0x108
jbe 0x46e47b
lea eax, [esi - 0x104]
cmp eax, 3
jbe 0x46e47b
cmp esi, 0x201
je 0x46e47b
cmp esi, 0x203
je 0x46e47b
cmp esi, 0x204
je 0x46e47b
cmp esi, 0x206
je 0x46e47b
cmp esi, 0x207
je 0x46e47b
cmp esi, 0x209
je 0x46e47b
cmp esi, 0xa1
je 0x46e47b
cmp esi, 0xa3
je 0x46e47b
cmp esi, 0xa4
je 0x46e47b
cmp esi, 0xa6
je 0x46e47b
cmp esi, 0xa7
je 0x46e47b
cmp esi, 0xa9
jne 0x46e49b
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x60]
call fcn.00410aa0
test eax, eax
je 0x46e49b
mov ecx, dword [esi + 0x60]
push 0
push 0
push 0x401
call fcn.004183f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc