Function at 0x414803
Capabilities:
Check for time delay via gettickcount
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 0
push edi
je 0x41563b
mov edi, dword [0x465108]
xor ebx, ebx
inc ebx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x38], edi
jne 0x414897
push 7
push str.Blind
push esi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x414897
add esi, 7
mov byte [0x4693fc], bl
mov dword [ebp + 8], esi
cmp dword [ebp + 0x10], ebx
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x54], eax
je 0x414861
cmp dword [ebp + 0x10], 3
jne 0x4148c8
cmp dword [0x469484], 0
je 0x4148a0
call fcn.004470a6
test al, al
jne 0x4148a0
cmp byte [ebp + 0xc], al
jne 0x414892
call fcn.004470f7
test al, al
je 0x414892
push str.Click
push esi
call fcn.00439733
test eax, eax
pop ecx
pop ecx
jne 0x4148a0
mov dword [ebp + 0x10], ebx
jmp 0x4148c8
mov byte [0x4693fc], 0
jmp 0x41484a
cmp dword [ebp + 0x10], 3
jne 0x4148af
mov dword [ebp + 0x10], 2
jmp 0x4148c8
xor eax, eax
cmp dword [edi + 0x5c], eax
mov dword [ebp + 0x10], eax
jge 0x4148c1
cmp dword [edi + 0x64], eax
jge 0x4148c1
or eax, 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x64], eax
and dword [ebp - 0x14], 0
cmp dword [ebp + 0x14], 0
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 7], 0
je 0x414930
push 0
push dword [ebp + 0x14]
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x50], esi
je 0x4149d2
cmp esi, dword [0x467c9c]
je 0x4149d2
push dword [ebp + 0x14]
call fcn.0043c146
test al, al
pop ecx
jne 0x4149d2
push 1
push esi
push dword [0x467c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 7]
mov dword [ebp - 0x14], esi
jmp 0x4149d2
test byte [0x468171], 0xc0
je 0x4149c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x468168]
cmp eax, 0x32
jae 0x4149c0
cmp dword [ebp + 0x10], 0
jne 0x4149c0
cmp byte [0x4693fc], 0
jne 0x4149c0
cmp byte [0x46839f], 0
je 0x4149c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x467c9c]
jne 0x4149c0
cmp byte [ebp + 0xc], 0
je 0x414991
push 0x45c09c
push esi
call fcn.00439b0d
pop ecx
test eax, eax
pop ecx
setne al
jmp 0x414a23
mov esi, 0x45c09c
push esi
push dword [ebp + 8]
jmp 0x4149b5
inc eax
push 0x45c098
push eax
call fcn.00439b0d
test eax, eax
pop ecx
pop ecx
je 0x414a21
cmp byte [eax], 0x7b
je 0x414a21
push esi
push eax
call fcn.00439b0d
test eax, eax
pop ecx
pop ecx
jne 0x41499c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4149d2
push 0
push eax
call ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edi, edi
push edi
push eax
mov dword [0x469420], eax
call fcn.004132da
push 1
mov dword [0x46941c], eax
call fcn.00412558
add esp, 0xc
cmp dword [0x467388], edi
mov bl, al
mov byte [ebp - 0x34], bl
je 0x414a56
mov cl, byte [0x467270]
mov dl, byte [0x467272]
mov al, cl
not cl
and al, dl
and cl, dl
mov byte [ebp - 1], dl
mov byte [ebp - 8], cl
jmp 0x414a81
mov al, 1
test al, al
je 0x4149c0
push 0x5b
call edi
test ah, ah
js 0x414a37
push 0x5c
call edi
test ah, ah
jns 0x4149c0
and dword [0x46506c], 0
xor esi, esi
inc esi
push esi
push 0x8000012f
call fcn.0040de6e
pop ecx
pop ecx
mov dword [0x46506c], esi
jmp 0x414a27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x468168]
cmp eax, dword [0x465060]
jae 0x414a76
mov al, byte [0x468171]
and al, bl
mov byte [ebp - 1], al
jmp 0x414a7d
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 8], 0
mov cl, byte [0x46942a]
not al
and al, bl
and cl, al
mov al, byte [0x4693fc]
test al, al
mov byte [0x46942a], cl
je 0x414aa8
not cl
and cl, bl
mov byte [ebp - 2], cl
mov byte [ebp - 6], bl
jmp 0x414aaf
mov byte [ebp - 2], 0
mov byte [ebp - 6], cl
cmp byte [ebp - 7], 0
jne 0x414abe
cmp byte [0x468399], 0
jne 0x414ade
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 0xca], 0
je 0x414ade
test al, al
jne 0x414ade
push 2
push 0x14
call fcn.00415c53
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
jmp 0x414ae1
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp + 0x10]
cmp esi, edi
mov dword [0x469480], esi
je 0x414b32
cmp esi, 1
jne 0x414b04
mov eax, 0x36b0
mov dword [0x469410], 0x1f4
jmp 0x414b13
mov eax, 0x2ee0
mov dword [0x469410], 0x5dc
add eax, 3
and eax, 0xfffffffc
call fcn.00458250
mov eax, esp
push dword [ebp - 0x34]
push dword [0x469410]
push eax
call fcn.00412cb7
add esp, 0xc
mov al, byte [0x467c8a]
mov byte [ebp - 0x27], al
mov eax, dword [0x465118]
cmp eax, 8
je 0x414b49
cmp eax, 0xa
jne 0x414b74
cmp esi, edi
jne 0x414b74
cmp dword [ebp + 0x14], edi
jne 0x414b74
cmp byte [0x46839b], 0
je 0x414b74
push 1
mov byte [ebp - 0x19], 1
call fcn.0041ad7b
pop ecx
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x2f], 0
jmp 0x41533e
mov byte [ebp - 0x19], 0
jmp 0x414b67
xor ebx, ebx
cmp dword [0x469480], ebx
mov byte [ebp - 9], 0
jne 0x414bd6
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4681ac]
mov ecx, dword [0x465108]
cmp eax, dword [ecx + 0xb0]
jbe 0x414bd6
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x414bcf
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
mov dword [0x46506c], ebx
call fcn.0040de6e
pop ecx
pop ecx
mov dword [0x46506c], edi
call esi
mov dword [0x4681ac], eax
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x4152d3
movsx eax, byte [esi]
push eax
push 0x45c090
call fcn.00457de0
test eax, eax
pop ecx
pop ecx
je 0x4152d3
movsx eax, byte [esi]
sub eax, 0x21
je 0x4152c7
dec eax
dec eax
je 0x4152b2
sub eax, 8
je 0x41529f
sub eax, 0x33
je 0x41528c
sub eax, 0x1d
jne 0x415333
inc esi
push 0x7d
push esi
call fcn.00457de0
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
je 0x415333
push esi
call fcn.00401ea8
mov ebx, edi
sub ebx, eax
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x40], ebx
jne 0x414cca
lea eax, [edi + 1]
mov cl, byte [eax]
cmp cl, 0x7d
jne 0x414c69
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x14], edi
inc ebx
jmp 0x414cc7
cmp cl, 0x20
je 0x414c77
cmp cl, 9
jne 0x415281
push eax
call fcn.00401ea8
push 4
mov esi, eax
push str.Down
push esi
call fcn.00442545
add esp, 0x10
test eax, eax
je 0x414cab
push 2
push 0x45a85c
push esi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x415281
push 0x7d
push esi
call fcn.00457de0
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
je 0x415333
mov ebx, edi
sub ebx, dword [ebp + 8]
mov dword [ebp - 0x40], ebx
mov esi, dword [ebp + 8]
push 5
push 0x45b39c
push esi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x414d5c
mov byte [edi], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
add esi, 5
push esi
call fcn.00401ea8
pop ecx
push eax
call fcn.004139c2
add esp, 0x1c
cmp dword [ebp - 0x24], 1
push dword [ebp - 0x44]
mov byte [edi], 0x7d
jge 0x414d3e
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0xc7]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00413851
add esp, 0x14
jmp 0x415281
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 6]
push dword [ebp - 0x18]
push 0
jmp 0x415276
push 3
push 0x45c08c
push esi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x414d79
mov byte [ebp + 0xc], 1
jmp 0x415281
push 0x45bc18
push dword [ebp + 8]
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x34], ebx
mov byte [edi], 0
call fcn.00439b0d
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x414e1b
mov al, byte [esi]
mov byte [ebp - 0x26], al
mov eax, esi
sub eax, dword [ebp + 8]
mov byte [esi], 0
mov dword [ebp - 0x34], eax
lea eax, [esi + 1]
push eax
call fcn.00401ea8
mov edi, eax
mov eax, dword [ebp - 0x14]
sub eax, edi
pop ecx
je 0x414e1b
push 4
push str.Down
push edi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x414df7
and dword [ebp - 0x20], eax
push 4
push str.Temp
add edi, 4
push edi
call fcn.00442545
add esp, 0xc
test eax, eax
setne byte [ebp - 0x25]
jmp 0x414e1b
push 0x45a85c
push edi
call fcn.00442502
test eax, eax
pop ecx
pop ecx
jne 0x414e11
mov dword [ebp - 0x20], 1
jmp 0x414e1b
push edi
call fcn.0040137d
pop ecx
mov dword [ebp - 0x24], eax
push dword [0x469420]
mov edi, dword [ebp + 8]
push 0
push 1
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00415b93
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x414e42
and dword [ebp - 0x2c], 0
jmp 0x414e4c
push edi
call fcn.0041593b
pop ecx
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0xd], 0
jne 0x414eca
cmp word [ebp - 0x2c], 0
jne 0x414eca
movsx eax, byte [edi]
push eax
call fcn.00442990
cmp eax, 0x56
pop ecx
jne 0x414eca
movsx eax, byte [edi + 1]
push eax
call fcn.00442990
cmp eax, 0x4b
pop ecx
jne 0x414eca
mov ebx, dword [ebp + 8]
add ebx, 2
push 0x45c080
push ebx
call fcn.00439b0d
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x414eb4
movsx eax, byte [edi + 1]
push eax
call fcn.00442990
cmp eax, 0x43
pop ecx
jne 0x414eb4
push 0x10
push 0
add edi, 2
push edi
call fcn.004010ae
add esp, 0xc
mov dword [ebp - 0x2c], eax
push 0x10
push 0
push ebx
call fcn.004010ae
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp + 8]
add esp, 0xc
mov byte [ebp - 0xd], al
test esi, esi
je 0x414ed3
mov al, byte [ebp - 0x26]
mov byte [esi], al
cmp dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x7d
jl 0x415281
cmp byte [ebp - 0xd], 0
jne 0x4151e3
cmp word [ebp - 0x2c], 0
jne 0x4151e3
cmp dword [ebp - 0x34], 1
jne 0x414f26
cmp dword [ebp + 0x14], 0
jne 0x415281
cmp dword [ebp - 0x20], 1
je 0x415281
push dword [ebp - 0x24]
xor eax, eax
mov al, byte [edi]
push eax
call fcn.00415646
pop ecx
pop ecx
jmp 0x415281
xor esi, esi
cmp dword [ebp + 0x14], esi
sete al
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
call fcn.004159b2
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x415187
cmp dword [ebp + 0x14], esi
jne 0x414f64
cmp dword [ebp - 0x20], esi
jne 0x414f5b
mov byte [ebp - 9], al
jmp 0x414f64
push dword [ebp - 0xd]
call fcn.0041235e
pop ecx
cmp dword [0x469480], esi
je 0x414f76
mov al, byte [0x469408]
jmp 0x4150e9
cmp dword [0x467388], esi
je 0x414f88
mov al, byte [0x467270]
jmp 0x4150e9
cmp byte [0x468399], 0
mov byte [ebp + 0xb], 0
jne 0x415027
cmp byte [0x46839a], 0
jne 0x415027
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
mov edi, 0x8000
test di, ax
je 0x414fc1
mov byte [ebp + 0xb], 0x10
push 0xa1
call esi
test di, ax
je 0x414fd1
or byte [ebp + 0xb], 0x20
push 0xa2
call esi
test di, ax
je 0x414fe1
or byte [ebp + 0xb], 1
push 0xa3
call esi
test di, ax
je 0x414ff1
or byte [ebp + 0xb], 2
push 0xa4
call esi
test di, ax
je 0x415001
or byte [ebp + 0xb], 4
push 0xa5
call esi
test di, ax
je 0x415011
or byte [ebp + 0xb], 8
push 0x5b
call esi
test di, ax
je 0x41501e
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jmp 0x4150a0
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x41504a
push 0x10
call edi
test si, ax
je 0x41504e
mov byte [ebp + 0xb], 0x10
push 0x11
call ebx
test si, ax
jne 0x415060
push 0x11
call edi
test si, ax
je 0x415064
or byte [ebp + 0xb], 1
push 0x12
call ebx
test si, ax
jne 0x415076
push 0x12
call edi
test si, ax
je 0x41507a
or byte [ebp + 0xb], 4
push 0x5b
call ebx
test si, ax
jne 0x41508c
push 0x5b
call edi
test si, ax
je 0x415090
or byte [ebp + 0xb], 0x40
push 0x5c
call ebx
test si, ax
jne 0x4150a2
push 0x5c
call edi
test si, ax
je 0x4150a6
or byte [ebp + 0xb], 0x80
cmp dword [0x467388], 0
je 0x4150e4
mov al, byte [ebp + 0xb]
not al
and al, byte [0x467270]
je 0x4150e4
not al
and byte [0x467272], al
and byte [0x467270], al
and byte [0x467271], al
xor eax, eax
mov al, byte [0x467272]
push eax
push 0x467278
call fcn.00412040
pop ecx
pop ecx
xor eax, eax
mov al, byte [ebp + 0xb]
mov esi, 0xffc3d44d
push esi
xor edi, edi
push edi
push edi
push dword [ebp + 0x14]
push eax
push dword [ebp - 6]
call fcn.004126cc
mov eax, dword [ebp - 0x24]
add esp, 0x18
cmp eax, edi
jle 0x415281
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
push esi
push 1
push dword [ebp + 0x14]
push edi
push dword [ebp - 0xd]
push dword [ebp - 0x20]
call fcn.00412cfd
add esp, 0x18
cmp dword [0x469480], edi
jne 0x41517d
call ebx
sub eax, dword [0x4681ac]
mov ecx, dword [0x465108]
cmp eax, dword [ecx + 0xb0]
jbe 0x41517d
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x415176
push 1
push 0xffffffffffffffff
mov dword [0x46506c], edi
call fcn.0040de6e
pop ecx
pop ecx
mov dword [0x46506c], 1
call ebx
mov dword [0x4681ac], eax
dec dword [ebp + 8]
jne 0x415116
jmp 0x415281
cmp ebx, 4
jbe 0x415281
push 4
push str.ASC
push edi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x415281
cmp dword [ebp + 0x14], esi
jne 0x415281
add edi, 3
push edi
call fcn.00401ea8
push eax
call fcn.00414070
cmp dword [0x469480], 2
mov eax, dword [0x465108]
pop ecx
pop ecx
jne 0x4151d5
mov eax, dword [eax + 0x60]
jmp 0x4151d8
mov eax, dword [eax + 0x5c]
push eax
call fcn.004123cc
jmp 0x414f20
xor esi, esi
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0xd]
call fcn.00413201
mov bl, al
add esp, 0xc
test bl, bl
mov byte [ebp - 0x58], bl
je 0x415259
cmp dword [ebp + 0x14], esi
jne 0x415259
cmp dword [ebp - 0x20], esi
jne 0x41521e
cmp byte [ebp - 0x25], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 9], al
je 0x415219
or byte [0x46942a], bl
or byte [ebp - 6], bl
jmp 0x415259
cmp dword [ebp - 0x20], 1
jne 0x415259
push dword [ebp - 0xd]
call fcn.0041235e
mov al, byte [0x46942a]
pop ecx
mov cl, bl
not cl
and byte [ebp - 2], cl
and al, cl
cmp byte [ebp - 0xd], 0xa5
mov byte [0x46942a], al
jne 0x415253
cmp dword [0x46941c], 3
jne 0x415253
and byte [ebp - 2], 0xfe
or al, byte [ebp - 2]
mov byte [ebp - 6], al
push esi
mov eax, 0x80000000
push eax
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x58]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 6]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0xd]
call fcn.00414367
add esp, 0x2c
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
jmp 0x41532f
test byte [ebp - 6], 3
jne 0x415333
or byte [ebp - 0x18], 1
jmp 0x415333
test byte [ebp - 6], 0x30
jne 0x415333
or byte [ebp - 0x18], 0x10
jmp 0x415333
cmp byte [0x46818f], 0
jne 0x415333
test byte [ebp - 6], 0xc0
jne 0x415333
or byte [ebp - 0x18], 0x40
jmp 0x415333
test byte [ebp - 6], 0xc
jne 0x415333
or byte [ebp - 0x18], 4
jmp 0x415333
push dword [0x469420]
mov al, byte [esi]
xor edi, edi
inc edi
push edi
mov byte [ebp - 0x30], al
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415b93
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x41531d
push ebx
mov eax, 0x80000000
push eax
push eax
push dword [ebp + 0x14]
push ebx
push 2
push edi
push dword [ebp - 6]
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0xd]
call fcn.00414367
add esp, 0x2c
jmp 0x41532f
cmp dword [ebp + 0x14], ebx
jne 0x41532f
xor eax, eax
mov al, byte [esi]
push edi
push eax
call fcn.00415646
pop ecx
pop ecx
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 9]
inc dword [ebp + 8]
mov byte [0x469429], al
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x414b7a
xor esi, esi
cmp dword [0x469480], esi
je 0x4153be
or dword [ebp + 8], 0xffffffff
cmp byte [0x4693fe], 0
jne 0x4153b0
cmp dword [0x469414], esi
jbe 0x4153b0
xor eax, eax
mov al, byte [ebp - 8]
not al
and al, byte [ebp - 1]
cmp byte [0x4693fc], 0
push 0xffc3d44d
setne cl
dec cl
push 1
push 1
push esi
and ecx, eax
or cl, byte [ebp - 6]
xor eax, eax
mov al, byte [0x469408]
mov byte [ebp - 0x14], cl
push eax
push dword [ebp - 0x14]
call fcn.004126cc
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.00414255
add esp, 0x20
push dword [ebp + 8]
call fcn.00411ca0
pop ecx
jmp 0x41559f
cmp dword [0x467388], esi
je 0x4153ce
mov cl, byte [0x467272]
jmp 0x4153f1
cmp dword [0x465060], esi
jl 0x4153ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x468168]
cmp eax, dword [0x465060]
jb 0x4153ee
xor cl, cl
jmp 0x4153f1
mov cl, byte [ebp - 1]
cmp byte [0x4693fc], 0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
je 0x415423
mov al, cl
xor al, byte [ebp - 1]
mov dl, al
and dl, byte [ebp - 1]
and al, cl
not dl
and dl, byte [ebp - 6]
or dl, al
mov byte [ebp - 0x14], dl
jmp 0x415430
mov al, byte [ebp - 8]
not al
and al, cl
or al, byte [ebp - 6]
mov byte [ebp - 0x14], al
cmp dword [0x467388], 0
je 0x415446
mov al, byte [0x467270]
mov byte [ebp + 8], al
jmp 0x415583
cmp byte [0x468399], 0
mov byte [ebp + 0xb], 0
jne 0x4154d2
cmp byte [0x46839a], 0
jne 0x4154d2
push 0xa0
call esi
test di, ax
mov bl, 0x10
jne 0x41546d
mov bl, byte [ebp + 0xb]
push 0xa1
call esi
test di, ax
je 0x41547c
or bl, 0x20
push 0xa2
call esi
test di, ax
je 0x41548b
or bl, 1
push 0xa3
call esi
test di, ax
je 0x41549a
or bl, 2
push 0xa4
call esi
test di, ax
je 0x4154a9
or bl, 4
push 0xa5
call esi
test di, ax
je 0x4154b8
or bl, 8
push 0x5b
call esi
test di, ax
je 0x4154c4
or bl, 0x40
push 0x5c
call esi
test di, ax
je 0x415543
or bl, 0x80
jmp 0x415543
push 0x10
call esi
test di, ax
jne 0x4154e4
push 0x10
call ebx
test di, ax
je 0x4154e8
mov byte [ebp + 0xb], 0x10
push 0x11
call esi
test di, ax
jne 0x4154fa
push 0x11
call ebx
test di, ax
je 0x4154fe
or byte [ebp + 0xb], 1
push 0x12
call esi
test di, ax
jne 0x415510
push 0x12
call ebx
test di, ax
je 0x415514
or byte [ebp + 0xb], 4
push 0x5b
call esi
test di, ax
jne 0x415526
push 0x5b
call ebx
test di, ax
je 0x41552a
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jne 0x41553c
push 0x5c
call ebx
test di, ax
je 0x415540
or byte [ebp + 0xb], 0x80
mov bl, byte [ebp + 0xb]
cmp dword [0x467388], 0
je 0x415580
mov al, bl
not al
and al, byte [0x467270]
je 0x415580
not al
and byte [0x467272], al
and byte [0x467270], al
and byte [0x467271], al
xor eax, eax
mov al, byte [0x467272]
push eax
push 0x467278
call fcn.00412040
pop ecx
pop ecx
mov byte [ebp + 8], bl
push 0xffc3d44d
push 1
push 1
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.004126cc
add esp, 0x18
xor esi, esi
cmp dword [0x467388], esi
je 0x4155c0
mov al, byte [0x467271]
xor al, byte [0x467270]
and al, byte [0x467271]
not al
and byte [0x467271], al
xor edi, edi
inc edi
cmp dword [ebp - 0x3c], edi
jne 0x4155d2
push edi
push 0x14
call fcn.00415c53
pop ecx
pop ecx
cmp byte [ebp - 7], 0
je 0x4155e8
push esi
push dword [ebp - 0x50]
push dword [0x467c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 0x19], 0
je 0x4155fb
cmp byte [ebp - 0x27], 0
jne 0x4155fb
push esi
call fcn.0041ad7b
pop ecx
cmp dword [ebp + 0x10], edi
jne 0x41562c
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x467c9c]
jne 0x41562c
push edi
push 0xffffffffffffffff
mov dword [0x46506c], esi
call fcn.0040de6e
pop ecx
pop ecx
mov dword [0x46506c], edi
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x64], ecx
lea esp, [ebp - 0x88]
pop edi
pop esi
pop ebx
leave
ret