Function at 0x5ace00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3dc]
cmp eax, 2
je 0x5ace1f
cmp eax, 4
je 0x5ace1f
xor edi, edi
jmp 0x5ace24
mov edi, 1
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
mov bl, ah
mov eax, 0
and ebx, 0xff
sete al
test edi, edi
mov dword [ebp - 4], eax
je 0x5acf3f
mov ecx, dword [esi + 0x3e0]
push ecx
call fcn.005439a0
add esp, 4
and eax, 0xff
mov dword [ebp - 8], eax
je 0x5ace65
mov dword [ebp - 4], ebx
push 0xb
mov ecx, esi
call fcn.00532d50
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edi, 1
mov dword [eax], edi
mov eax, dword [0x83e050]
cmp eax, edi
jne 0x5ace86
mov dword [ebp - 4], edi
cmp dword [0x83e254], ebx
je 0x5ad143
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1254]
je 0x5acea5
mov eax, dword [0x7a1250]
cmp eax, edi
jne 0x5ad08b
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x5ad08b
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je 0x5acfdf
mov eax, dword [0x83e1c4]
mov ecx, dword [esi + 0xb4]
push eax
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad085
mov eax, dword [edx + 0x2b0]
cmp eax, ebx
je 0x5ad085
cmp dword [eax + 4], ebx
je 0x5ad085
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], 3
mov eax, dword [ecx + 0x214]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0xb0]
mov edi, 1
jmp 0x5ad085
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x258], 0x64
jne 0x5acf5a
xor ebx, ebx
mov ecx, esi
push ebx
call fcn.00532d50
jmp 0x5ace70
mov ecx, 0x83a9e0
call fcn.006f6160
test eax, eax
je 0x5acf97
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x9c]
push eax
mov ecx, 0x83a9e0
call fcn.006f5a20
test eax, eax
je 0x5ace6e
xor ebx, ebx
mov ecx, esi
push ebx
mov dword [ebp - 4], ebx
call fcn.00532d50
jmp 0x5ace70
mov eax, dword [esi + 0xb4]
xor ebx, ebx
cmp dword [eax + 0x60], ebx
je 0x5acfd1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x9c]
push eax
mov ecx, 0x83a9e0
call fcn.006f5a20
test eax, eax
je 0x5ace70
push ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00532d50
jmp 0x5ace70
push 5
mov ecx, esi
call fcn.00532d50
jmp 0x5ace70
cmp dword [0x83e250], ebx
je 0x5ad056
mov eax, dword [ebp + 0x10]
mov edx, dword [0x83e23c]
cmp edx, dword [eax + 0x214]
jne 0x5ad056
mov edx, dword [0x83e1c4]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad04e
mov eax, dword [edx + 0x2b0]
cmp eax, ebx
je 0x5ad04e
cmp dword [eax + 4], ebx
je 0x5ad04e
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x83e23c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
push ecx
mov ecx, edx
mov dword [ebp - 0x20], 3
call dword [eax + 0xa8]
mov edi, 1
mov dword [0x83e250], ebx
jmp 0x5ad085
push 0xb
mov ecx, esi
call fcn.00532d50
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x214]
mov dword [0x83e240], ebx
mov dword [0x83e23c], eax
mov dword [0x83e244], ebx
mov dword [0x83e248], ebx
mov dword [0x83e250], edi
mov dword [0x83e24c], edi
cmp dword [0x83e254], ebx
je 0x5ad143
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad0aa
mov eax, dword [0x7a1254]
cmp eax, edi
jne 0x5ad143
mov ecx, dword [esi + 0x3e0]
push ecx
mov ecx, 0x83a9e0
call fcn.006f8ae0
test eax, eax
je 0x5ad143
mov edx, dword [0x83e1c4]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad659
mov eax, dword [edx + 0x2b0]
cmp eax, ebx
je 0x5ad659
cmp dword [eax + 4], ebx
je 0x5ad659
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esi + 0x3e0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 7
mov ecx, dword [eax + 0x214]
mov eax, dword [edx]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edx
call dword [eax + 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x83e2f8], ebx
je 0x5ad2a7
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad162
mov eax, dword [0x7a1254]
cmp eax, edi
jne 0x5ad2a7
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je 0x5ad2a7
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x5ad1fa
mov edx, dword [0x83e26c]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad2a1
mov eax, dword [edx + 0x2b4]
cmp eax, ebx
je 0x5ad2a1
cmp dword [eax + 4], ebx
je 0x5ad2a1
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push 1
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 3
mov ecx, dword [eax + 0x214]
mov eax, dword [edx]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edx
call dword [eax + 0xb0]
mov edi, 1
jmp 0x5ad2a1
cmp dword [0x83e2f4], ebx
je 0x5ad272
mov eax, dword [ebp + 0x10]
mov edx, dword [0x83e2dc]
cmp edx, dword [eax + 0x214]
jne 0x5ad272
mov edx, dword [0x83e26c]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad26a
mov eax, dword [edx + 0x2b4]
cmp eax, ebx
je 0x5ad26a
cmp dword [eax + 4], ebx
je 0x5ad26a
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push 1
rep stosd dword es:[edi], eax
mov eax, dword [0x83e2dc]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
push ecx
mov ecx, edx
mov dword [ebp - 0x20], 3
call dword [eax + 0xa8]
mov edi, 1
mov dword [0x83e2f4], ebx
jmp 0x5ad2a1
push 0xb
mov ecx, esi
call fcn.00532d50
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x214]
mov dword [0x83e2e0], ebx
mov dword [0x83e2dc], eax
mov dword [0x83e2e4], ebx
mov dword [0x83e2e8], ebx
mov dword [0x83e2f4], edi
mov dword [0x83e2f0], edi
cmp dword [ebp - 4], ebx
je 0x5ad369
cmp dword [0x83e2f8], ebx
je 0x5ad369
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad2cf
mov eax, dword [0x7a1254]
cmp eax, edi
jne 0x5ad369
mov ecx, dword [esi + 0x3e0]
push ecx
mov ecx, 0x83a9e0
call fcn.006f8b10
test eax, eax
je 0x5ad369
mov edx, dword [0x83e26c]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.00529760
mov edx, eax
cmp edx, ebx
je 0x5ad659
mov eax, dword [edx + 0x2b4]
cmp eax, ebx
je 0x5ad659
cmp dword [eax + 4], ebx
je 0x5ad659
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x20]
push 1
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esi + 0x3e0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 7
mov ecx, dword [eax + 0x214]
mov eax, dword [edx]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edx
call dword [eax + 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad37c
mov eax, dword [0x7a1254]
cmp eax, edi
jne 0x5ad5d2
cmp dword [ebp - 4], ebx
je 0x5ad5d2
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dl, ah
test dl, dl
jne 0x5ad5d2
mov eax, dword [esi]
push ebx
push ebx
push edi
push 0x1a
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0xd8]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], ecx
mov ecx, 0x83a9e0
call fcn.006f59b0
test eax, eax
jne 0x5ad4e1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dl, ah
test dl, dl
jne 0x5ad3ed
cmp dword [0x83e054], edi
jne 0x5ad4e1
mov ebx, dword [esi + 0x3e0]
mov edi, dword [esi + 0xd8]
cmp ebx, 0x2710
je 0x5ad46f
mov ecx, dword [0x83c54c]
cmp ecx, 1
jg 0x5ad411
mov ecx, 1
mov eax, dword [0x83c558]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
cmp eax, 0x5a
jl 0x5ad46f
push 0
push 0
push 0
push 0
push 3
mov ecx, 0x7dabc0
call fcn.00512f20
push 0
push 0
push 0xff
push 0x133
call fcn.00581bb0
add esp, 4
mov ecx, 0x7dabc0
push eax
push 1
call fcn.00512f20
mov dword [esi + 0x534], 1
xor ebx, ebx
jmp 0x5ad5f8
mov eax, dword [esi + 0x3dc]
sub eax, 0
je 0x5ad4b9
sub eax, 2
je 0x5ad484
sub eax, 2
jne 0x5ad4d0
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [esi + 0x3e4]
push eax
push ebx
mov edx, dword [ecx]
push edi
push 0x29
push 0
call dword [edx + 8]
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0x3e8]
push 0
push 0
mov ecx, dword [ecx + 0x3c]
push eax
push 0x5a
mov edx, dword [ecx]
jmp 0x5ad4cb
mov ecx, dword [esi + 0xb4]
push 0
push 0
push edi
mov ecx, dword [ecx + 0x3c]
push 0xa
mov edx, dword [ecx]
push 0
call dword [edx + 8]
mov dword [esi + 0x534], 1
xor ebx, ebx
jmp 0x5ad5f8
mov ebx, dword [esi + 0x3e0]
mov edi, dword [esi + 0xd8]
cmp ebx, 0x2710
je 0x5ad563
mov ecx, dword [0x83c54c]
cmp ecx, 1
jg 0x5ad505
mov ecx, 1
mov eax, dword [0x83c558]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
cmp eax, 0x5a
jl 0x5ad563
push 0
push 0
push 0
push 0
push 3
mov ecx, 0x7dabc0
call fcn.00512f20
push 0
push 0
push 0xff
push 0x133
call fcn.00581bb0
add esp, 4
mov ecx, 0x7dabc0
push eax
push 1
call fcn.00512f20
mov dword [esi + 0x534], 0
xor ebx, ebx
jmp 0x5ad5f8
mov eax, dword [esi + 0x3dc]
sub eax, 0
je 0x5ad5ad
sub eax, 2
je 0x5ad578
sub eax, 2
jne 0x5ad5c4
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [esi + 0x3e4]
push eax
push ebx
mov edx, dword [ecx]
push edi
push 0x29
push 0
call dword [edx + 8]
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0x3e8]
push 0
push 0
mov ecx, dword [ecx + 0x3c]
push eax
push 0x5a
mov edx, dword [ecx]
jmp 0x5ad5bf
mov ecx, dword [esi + 0xb4]
push 0
push 1
push edi
mov ecx, dword [ecx + 0x3c]
push 0xa
mov edx, dword [ecx]
push 0
call dword [edx + 8]
mov dword [esi + 0x534], 0
xor ebx, ebx
jmp 0x5ad5f8
cmp dword [esi + 0x534], ebx
jne 0x5ad5f8
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad5ed
mov eax, dword [0x7a1254]
cmp eax, 3
jne 0x5ad5f8
mov dword [esi + 0xd8], ebx
mov eax, dword [esi + 0xc4]
mov ecx, dword [0x7a123c]
cmp eax, ecx
jne 0x5ad617
mov ecx, dword [esi + 0xc8]
mov eax, dword [0x7a1240]
cmp ecx, eax
je 0x5ad63c
cmp dword [esi + 0x534], ebx
jne 0x5ad63c
mov eax, dword [0x7a1264]
cmp eax, ebx
mov eax, dword [0x7a1250]
je 0x5ad632
mov eax, dword [0x7a1254]
cmp eax, ebx
jne 0x5ad63c
mov dword [esi + 0xd8], ebx
mov edx, dword [esi + 0xd8]
mov ecx, esi
push edx
call fcn.005ab270
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x5c], 3
jne 0x5ad659
mov dword [esi + 0xd8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc