Function at 0x410e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475883
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x214]
push ebx
push eax
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x411ab2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0x210]
inc ebx
mov dword [ebp - 0x24c], ebx
mov esi, 0x8000
cmp ecx, 0x80be
jne 0x411137
mov esi, dword [ebp - 0x20c]
mov ecx, 0x49eb4c
push esi
call fcn.0040a5a0
push esi
lea ecx, [ebp - 0x2c]
call fcn.00426e60
mov dword [ebp - 4], 0
test esi, esi
je 0x410f6e
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x410f52
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x410f48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
mov eax, edx
push ecx
push eax
call fcn.00452f08
add esp, 8
push 0x18
mov dword [esi + 0x10], 0
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00452f08
add esp, 8
cmp dword [ebp - 0x2c], 0
jne 0x410f9f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x244]
call fcn.004149f0
mov eax, dword [ebp - 0x248]
or eax, 3
cmp dword [ebp - 0x234], 0
mov dword [ebp - 0x248], eax
jne 0x410fa5
mov bl, 1
jmp 0x410fa7
mov eax, dword [ebp - 0x248]
xor bl, bl
test al, 1
je 0x410fee
mov edx, dword [ebp - 0x230]
and eax, 0xfffffffe
mov dword [ebp - 0x248], eax
cmp edx, 0x10
jb 0x410fee
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410fe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
test bl, bl
je 0x411123
push 0x98
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00413c20
mov edx, str.Received_bad_data_from_client:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.0041a0d0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x411036
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0041f8f0
add esp, 4
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00416ab0
mov eax, dword [ebp - 0x248]
or eax, 4
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4110b7
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4110ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00409c70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4110fd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4110f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ebx, dword [ebp - 0x24c]
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x411ab2
jmp 0x410edc
cmp dword [ebp - 0x2c], 0xa
je 0x41171d
lea ecx, [ebp - 0x2c]
call fcn.0040f910
jmp 0x4110c2
lea eax, [ecx - 0x100]
cmp eax, 9
ja 0x41121e
push 0x11
call edi
test si, ax
je 0x41115a
mov eax, dword [ebp - 0x20c]
cmp eax, 0x4f
je 0x41116e
push 0x11
call edi
test si, ax
mov eax, dword [ebp - 0x20c]
je 0x411179
cmp eax, 0x4e
jne 0x411179
mov ecx, dword [ebp - 0x210]
jmp 0x411224
cmp dword [ebp - 0x210], 0x100
jne case.0x41119c.113
add eax, 0xffffff90
cmp eax, 0xb
ja case.0x41119c.113
movzx eax, byte [eax + 0x411bb4]
jmp dword [eax*4 + 0x411ba8]
cmp byte [0x49eb9c], 0
je case.0x41119c.113
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x244]
call fcn.0042f960
mov edx, eax
mov dword [ebp - 4], 0xd
mov ecx, 0xc
call fcn.00409e40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb case.0x41119c.113
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41120f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
jmp case.0x41119c.113
mov eax, dword [ebp - 0x20c]
cmp ecx, 0x201
je 0x4116fe
cmp ecx, 0x2a1
jne 0x4112e4
push 0x10
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push str.In_WM_MOUSEHOVER
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0xe
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4112cc
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4112c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, dword [0x4a6bdc]
mov byte [0x4a6ae8], 0
mov dword [eax + 0x20], 0
jmp 0x4116f3
cmp ecx, 0x2a3
jne 0x411398
push 0x10
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push str.In_WM_MOUSELEAVE
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0xf
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x411380
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411376
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, dword [0x4a6bdc]
mov byte [0x4a6ae8], 0
mov dword [eax + 0x20], 1
jmp 0x4116f3
cmp ecx, 0x200
jne 0x411630
cmp byte [0x49eb9c], 0
je 0x411630
push 0xf
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push str.In_WM_MOUSEMOVE
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x10
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x411441
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
cmp byte [0x4a6ae8], 0
jne 0x411597
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x224], 0x10
mov dword [ebp - 0x220], 3
mov dword [ebp - 0x218], 0x64
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
test eax, eax
je 0x411529
push 0x16
push str.Started_tracking_mouse
mov byte [0x4a6ae8], 1
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x11
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4116fe
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41151a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
jmp 0x4116fe
push 0x11
push str.Cant_track_mouse
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x12
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4116fe
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411588
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
jmp 0x4116fe
push 0x16
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push str.Already_tracking_mouse
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x13
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4116fe
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411621
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
jmp 0x4116fe
cmp ecx, 0x18
jne 0x4116fe
mov edx, str.Unmuting_audio_in_WM_SHOWWINDOW
test eax, eax
jne 0x411647
mov edx, str.Muting_audio_in_WM_SHOWWINDOW
mov ecx, edx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411671
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x244]
call fcn.00417240
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x14
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4116e0
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4116d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, dword [0x4a6bdc]
xor ecx, ecx
cmp dword [ebp - 0x20c], ecx
sete cl
mov dword [eax + 0x18], ecx
mov ecx, dword [0x4a6bdc]
call fcn.0042fd90
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp case.0x41119c.113
push 0x14
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push str.Received_CLOSE_FRAME
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.00417240
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 3
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4117a7
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41179d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b87
push edx
push ecx
call fcn.00452f08
add esp, 8
call fcn.0040b110
mov byte [ebp - 4], 4
mov ecx, dword [0x4a6ae4]
mov dword [0x4a6ae4], 0
test ecx, ecx
je 0x4117ca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [0x4a6afc]
test eax, eax
je 0x411802
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov byte [ebp - 4], 5
mov ecx, dword [0x4a6afc]
mov dword [0x4a6afc], 0
test ecx, ecx
je 0x4117fe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [0x4a6aec]
test eax, eax
je 0x4118ee
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
push 0x98
mov esi, eax
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00413c20
mov edx, str.Closed_controller__
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.0041a0d0
push esi
mov ecx, eax
call fcn.004140b0
mov edx, 0x48bcd0
mov ecx, eax
call fcn.0041a0d0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416ab0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x4118c5
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4118bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b8c
push edx
push ecx
call fcn.00452f08
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [0x4a6aec]
mov dword [0x4a6aec], 0
test ecx, ecx
je 0x4118e3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0xc8]
call fcn.00409c70
mov byte [ebp - 4], 9
mov ecx, dword [0x4a6af8]
mov dword [0x4a6af8], 0
test ecx, ecx
je 0x41190c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
mov byte [ebp - 4], 0
push eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push 0x48b85c
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.00416e00
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 0xa
mov ecx, 0x15
call fcn.0040a2e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x230]
cmp edx, 8
jb 0x4119a0
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b91
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ecx, dword [0x4a6bd8]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [0x4a6bd8]
mov esi, eax
push 0x98
lea eax, [ebp - 0x160]
push 0
mov edi, dword [ecx + 0x1c]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.00413c20
mov edx, str.Stopped_communicator___result
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
call fcn.0041a0d0
push esi
mov ecx, eax
call fcn.00414280
mov edx, str._error
mov ecx, eax
call fcn.0041a0d0
push edi
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00416ab0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xc
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x411a6c
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411a62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b96
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.00409c70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x411ab2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411aa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b9b
push edx
push ecx
call fcn.00452f08
add esp, 8
push 0x98
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.00413c20
mov edx, str.Message_loop_exiting_after_handling
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x1f8]
call fcn.0041a0d0
push dword [ebp - 0x24c]
mov ecx, eax
call fcn.00413ee0
mov edx, str._messages
mov ecx, eax
call fcn.0041a0d0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00416ab0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x411b60
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411b56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411ba0
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.00409c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
lea ecx, [ecx]
mov al, 0x11
inc ecx
add byte [ebx + 0x3004111], ah
adc dword [ecx], eax
add byte [edx], al
add al, byte [eax]
add dword [eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al