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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp byte [eax], 0
push edi
je 0x413614
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edi, edi
cmp dword [ebp + 0x14], esi
mov byte [ebp - 7], 0
je 0x412986
push esi
push dword [ebp + 0x14]
call ebx
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x48], ebx
je 0x412996
cmp ebx, dword [0x463d9c]
je 0x412996
push dword [ebp + 0x14]
call fcn.0043b4d6
test al, al
pop ecx
jne 0x412996
push 1
push ebx
push dword [0x463d9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 7]
mov edi, ebx
jmp 0x412996
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x412996
push esi
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
push eax
mov dword [0x465070], eax
call fcn.004114fa
push 1
mov dword [0x46506c], eax
call fcn.00410780
add esp, 0xc
cmp dword [0x463490], esi
mov bl, al
mov byte [ebp - 0x30], bl
je 0x4129e1
mov cl, byte [0x46337c]
mov dl, byte [0x46337e]
mov al, cl
not cl
and al, dl
and cl, dl
mov byte [ebp - 1], dl
mov byte [ebp - 8], cl
jmp 0x412a0c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x464268]
cmp eax, dword [0x461060]
jae 0x412a01
mov al, byte [0x464271]
and al, bl
mov byte [ebp - 1], al
jmp 0x412a08
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 8], 0
not al
and al, bl
and byte [0x46507a], al
cmp byte [ebp + 0xc], 0
jne 0x412a4b
push 7
push str.Blind
push dword [ebp + 8]
call fcn.0044188c
add esp, 0xc
test eax, eax
jne 0x412a4b
mov al, byte [0x46507a]
add dword [ebp + 8], 7
not al
and al, bl
mov byte [ebp - 0x15], 1
mov byte [ebp - 2], al
mov byte [ebp - 6], bl
jmp 0x412a5b
mov al, byte [0x46507a]
mov byte [ebp - 0x15], 0
mov byte [ebp - 2], 0
mov byte [ebp - 6], al
cmp byte [ebp - 7], 0
push 2
pop ebx
jne 0x412a6d
cmp byte [0x464499], 0
jne 0x412a8b
cmp byte [0x463352], 0
je 0x412a8b
cmp byte [ebp - 0x15], 0
jne 0x412a8b
push ebx
push 0x14
call fcn.00413c10
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x412a8e
mov dword [ebp - 0x34], esi
mov eax, dword [0x463274]
xor edi, edi
mov dword [ebp - 0x54], eax
mov eax, dword [0x46327c]
inc edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x4c], eax
je 0x412aac
cmp dword [ebp + 0x10], 3
jne 0x412b17
cmp dword [0x4650d4], esi
je 0x412ae3
call fcn.0044638e
test al, al
jne 0x412ae3
cmp byte [ebp + 0xc], al
jne 0x412ade
call fcn.004463df
test al, al
je 0x412ade
push str.Click
push dword [ebp + 8]
call fcn.00438b16
test eax, eax
pop ecx
pop ecx
jne 0x412ae3
mov dword [ebp + 0x10], edi
jmp 0x412b17
cmp dword [ebp + 0x10], 3
jne 0x412aee
mov dword [ebp + 0x10], ebx
jmp 0x412b17
cmp dword [0x463274], esi
mov dword [ebp + 0x10], esi
jge 0x412b0a
cmp dword [0x46327c], esi
jge 0x412b0a
or dword [0x46327c], 0xffffffff
jmp 0x412b10
mov dword [0x46327c], esi
or dword [0x463274], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov dword [0x4650d0], eax
je 0x412b66
cmp eax, edi
jne 0x412b38
mov eax, 0x36b0
mov dword [0x465060], 0x1f4
jmp 0x412b47
mov eax, 0x2ee0
mov dword [0x465060], 0x5dc
add eax, 3
and eax, 0xfffffffc
call fcn.004540a0
mov eax, esp
push dword [ebp - 0x30]
push dword [0x465060]
push eax
call fcn.00410ed9
add esp, 0xc
mov al, byte [0x463d8a]
mov byte [ebp - 0x23], al
mov eax, dword [0x46110c]
cmp eax, 8
je 0x412b7d
cmp eax, 0xa
jne 0x412bb3
cmp dword [ebp + 0x10], esi
jne 0x412bb3
cmp dword [ebp + 0x14], esi
jne 0x412bb3
cmp byte [0x46449b], 0
je 0x412bb3
push edi
mov byte [ebp - 0x16], 1
call fcn.00419e04
pop ecx
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x27], 0
mov esi, 0x8000
jmp 0x413263
mov byte [ebp - 0x16], 0
jmp 0x412b9b
cmp dword [0x4650d0], 0
mov byte [ebp - 9], 0
jne 0x412c10
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
sub eax, dword [0x4642ac]
cmp eax, dword [0x463340]
jbe 0x412c10
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x412c09
push 1
push 0xffffffffffffffff
mov byte [0x461069], 0
call fcn.0040bd90
pop ecx
pop ecx
mov byte [0x461069], 1
call ebx
mov dword [0x4642ac], eax
cmp byte [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
jne 0x41333b
movsx eax, byte [ebx]
push eax
push str._
call fcn.00453c30
test eax, eax
pop ecx
pop ecx
je 0x41333b
movsx eax, byte [ebx]
sub eax, 0x21
je 0x413328
dec eax
dec eax
je 0x413308
sub eax, 8
je 0x4132f5
sub eax, 0x33
je 0x4132e2
sub eax, 0x1d
jne 0x413258
inc ebx
push 0x7d
push ebx
call fcn.00453c30
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x2c], esi
je 0x413253
push ebx
call fcn.00401a9c
mov edi, eax
mov ebx, esi
sub ebx, edi
pop ecx
mov dword [ebp - 0x38], ebx
jne 0x412ca1
inc esi
cmp byte [esi], 0x7d
jne 0x413243
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], ebx
push 5
push 0x457378
push edi
call fcn.0044188c
add esp, 0xc
test eax, eax
jne 0x412d2d
mov byte [esi], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
add edi, 5
push edi
call fcn.00401a9c
pop ecx
push eax
call fcn.00411b9a
add esp, 0x1c
cmp dword [ebp - 0x20], 1
push dword [ebp - 0x44]
mov byte [esi], 0x7d
jge 0x412d0f
movzx eax, byte [0x46334f]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411a2e
add esp, 0x14
jmp 0x413243
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 6]
push dword [ebp - 0x11]
push 0
jmp 0x413238
push 3
push 0x45805c
push edi
call fcn.0044188c
add esp, 0xc
test eax, eax
jne 0x412d4a
mov byte [ebp + 0xc], 1
jmp 0x413243
push 0x457bf0
push edi
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], ebx
mov byte [esi], 0
call fcn.00438ef0
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x412de9
mov al, byte [esi]
mov byte [ebp - 0x22], al
mov eax, esi
sub eax, edi
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
push eax
mov byte [esi], 0
call fcn.00401a9c
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub eax, ebx
pop ecx
je 0x412de9
push 4
push str.Down
push ebx
call fcn.0044188c
add esp, 0xc
test eax, eax
jne 0x412dc5
and dword [ebp - 0x1c], eax
push 4
push str.Temp
add ebx, 4
push ebx
call fcn.0044188c
add esp, 0xc
test eax, eax
setne byte [ebp - 0x21]
jmp 0x412de9
push 0x456858
push ebx
call fcn.00441849
test eax, eax
pop ecx
pop ecx
jne 0x412ddf
mov dword [ebp - 0x1c], 1
jmp 0x412de9
push ebx
call fcn.0040198d
pop ecx
mov dword [ebp - 0x20], eax
push dword [0x465070]
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0x11]
push eax
push edi
call fcn.00413b50
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x412e0d
mov dword [ebp + 8], ebx
jmp 0x412e17
push edi
call fcn.004138f8
pop ecx
mov dword [ebp + 8], eax
cmp byte [ebp - 0xd], 0
jne 0x412e90
cmp word [ebp + 8], bx
jne 0x412e90
movsx eax, byte [edi]
push eax
call fcn.00441cd7
cmp eax, 0x56
pop ecx
jne 0x412e90
movsx eax, byte [edi + 1]
push eax
call fcn.00441cd7
cmp eax, 0x4b
pop ecx
jne 0x412e90
lea eax, [edi + 2]
push 0x458050
push eax
call fcn.00438ef0
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x412e7b
movsx eax, byte [ebx + 1]
push eax
call fcn.00441cd7
cmp eax, 0x43
pop ecx
jne 0x412e7b
push 0x10
push 0
add ebx, 2
push ebx
call fcn.004010a9
add esp, 0xc
mov dword [ebp + 8], eax
push 0x10
lea eax, [edi + 2]
push 0
push eax
call fcn.004010a9
add esp, 0xc
mov byte [ebp - 0xd], al
xor ebx, ebx
cmp esi, ebx
je 0x412e99
mov al, byte [ebp - 0x22]
mov byte [esi], al
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x7d
jl 0x413243
cmp byte [ebp - 0xd], 0
jne 0x4131a1
cmp word [ebp + 8], bx
jne 0x4131a1
cmp dword [ebp - 0x30], 1
jne 0x412eea
cmp dword [ebp + 0x14], ebx
jne 0x413243
cmp dword [ebp - 0x1c], 1
je 0x413243
push dword [ebp - 0x20]
xor eax, eax
mov al, byte [edi]
push eax
call fcn.0041361c
pop ecx
pop ecx
jmp 0x413243
cmp dword [ebp + 0x14], ebx
sete al
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
push edi
call fcn.0041396f
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x413147
cmp dword [ebp + 0x14], ebx
jne 0x412f2c
cmp dword [ebp - 0x1c], ebx
jne 0x412f1f
mov byte [ebp - 9], al
jmp 0x412f2c
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.00410591
pop ecx
pop ecx
cmp dword [0x4650d0], ebx
je 0x412f3e
mov al, byte [0x465058]
jmp 0x4130b3
cmp dword [0x463490], ebx
je 0x412f50
mov al, byte [0x46337c]
jmp 0x4130b3
cmp byte [0x464499], 0
mov byte [ebp + 0xb], 0
jne 0x412fef
cmp byte [0x46449a], 0
jne 0x412fef
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
mov edi, 0x8000
test di, ax
je 0x412f89
mov byte [ebp + 0xb], 0x10
push 0xa1
call esi
test di, ax
je 0x412f99
or byte [ebp + 0xb], 0x20
push 0xa2
call esi
test di, ax
je 0x412fa9
or byte [ebp + 0xb], 1
push 0xa3
call esi
test di, ax
je 0x412fb9
or byte [ebp + 0xb], 2
push 0xa4
call esi
test di, ax
je 0x412fc9
or byte [ebp + 0xb], 4
push 0xa5
call esi
test di, ax
je 0x412fd9
or byte [ebp + 0xb], 8
push 0x5b
call esi
test di, ax
je 0x412fe6
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jmp 0x413068
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 0x413012
push 0x10
call edi
test si, ax
je 0x413016
mov byte [ebp + 0xb], 0x10
push 0x11
call ebx
test si, ax
jne 0x413028
push 0x11
call edi
test si, ax
je 0x41302c
or byte [ebp + 0xb], 1
push 0x12
call ebx
test si, ax
jne 0x41303e
push 0x12
call edi
test si, ax
je 0x413042
or byte [ebp + 0xb], 4
push 0x5b
call ebx
test si, ax
jne 0x413054
push 0x5b
call edi
test si, ax
je 0x413058
or byte [ebp + 0xb], 0x40
push 0x5c
call ebx
test si, ax
jne 0x41306a
push 0x5c
call edi
test si, ax
je 0x41306e
or byte [ebp + 0xb], 0x80
cmp dword [0x463490], 0
je 0x4130ac
mov al, byte [ebp + 0xb]
not al
and al, byte [0x46337c]
je 0x4130ac
not al
and byte [0x46337e], al
and byte [0x46337c], al
and byte [0x46337d], al
xor eax, eax
mov al, byte [0x46337e]
push eax
push 0x463380
call fcn.004102d0
pop ecx
pop ecx
xor eax, eax
mov al, byte [ebp + 0xb]
xor ebx, ebx
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push dword [ebp + 0x14]
push eax
push dword [ebp - 6]
call fcn.004108f4
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp eax, ebx
jle 0x413243
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp + 8], eax
push esi
push 1
push dword [ebp + 0x14]
push ebx
push dword [ebp - 0xd]
push dword [ebp - 0x1c]
call fcn.00410f1f
add esp, 0x18
cmp dword [0x4650d0], ebx
jne 0x41313d
call edi
sub eax, dword [0x4642ac]
cmp eax, dword [0x463340]
jbe 0x41313d
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x413136
push 1
push 0xffffffffffffffff
mov byte [0x461069], 0
call fcn.0040bd90
pop ecx
pop ecx
mov byte [0x461069], 1
call edi
mov dword [0x4642ac], eax
dec dword [ebp + 8]
jne 0x4130de
jmp 0x413243
cmp dword [ebp - 0x38], 4
jbe 0x413243
push 4
push str.ASC
push edi
call fcn.0044188c
add esp, 0xc
test eax, eax
jne 0x413243
cmp dword [ebp + 0x14], ebx
jne 0x413243
add edi, 3
push edi
call fcn.00401a9c
push eax
call fcn.00412239
cmp dword [0x4650d0], 2
mov eax, dword [0x463278]
pop ecx
pop ecx
je 0x413196
mov eax, dword [0x463274]
push eax
call fcn.004105fd
jmp 0x412ee4
xor esi, esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xd]
call fcn.00411421
mov bl, al
add esp, 0xc
test bl, bl
mov byte [ebp - 0x50], bl
je 0x41321b
cmp dword [ebp + 0x14], esi
jne 0x41321b
cmp dword [ebp - 0x1c], esi
jne 0x4131dc
cmp byte [ebp - 0x21], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 9], al
je 0x4131d7
or byte [0x46507a], bl
or byte [ebp - 6], bl
jmp 0x41321b
cmp dword [ebp - 0x1c], 1
jne 0x41321b
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.00410591
mov al, byte [0x46507a]
pop ecx
pop ecx
mov cl, bl
not cl
and byte [ebp - 2], cl
and al, cl
cmp byte [ebp - 0xd], 0xa5
mov byte [0x46507a], al
jne 0x413215
cmp dword [0x46506c], 3
jne 0x413215
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 - 0x50]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 6]
push dword [ebp - 0x11]
push dword [ebp + 8]
push dword [ebp - 0xd]
call fcn.0041252e
add esp, 0x2c
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [ebp + 8], eax
mov byte [ebp - 0x11], 0
mov esi, 0x8000
mov al, byte [ebp - 9]
inc dword [ebp + 8]
mov byte [0x465079], al
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x412bb9
xor ebx, ebx
cmp dword [0x4650d0], ebx
je 0x4133a4
or dword [ebp + 8], 0xffffffff
cmp byte [0x46504d], bl
jne 0x4132d4
cmp dword [0x465064], ebx
jbe 0x4132d4
xor eax, eax
mov al, byte [ebp - 8]
not al
and al, byte [ebp - 1]
cmp byte [ebp - 0x15], bl
push 0xffc3d44d
setne cl
dec cl
push 1
push 1
push ebx
and ecx, eax
or cl, byte [ebp - 6]
xor eax, eax
mov al, byte [0x465058]
mov byte [ebp - 0x15], cl
push eax
push dword [ebp - 0x15]
call fcn.004108f4
push dword [ebp - 0x15]
lea eax, [ebp + 8]
push eax
call fcn.0041241e
add esp, 0x20
push dword [ebp + 8]
call fcn.0040ff40
pop ecx
jmp 0x413575
test byte [ebp - 6], 3
jne 0x413258
or byte [ebp - 0x11], 1
jmp 0x413258
test byte [ebp - 6], 0x30
jne 0x413258
or byte [ebp - 0x11], 0x10
jmp 0x413258
cmp byte [0x46428f], 0
jne 0x413258
test byte [ebp - 6], 0xc0
jne 0x413258
or byte [ebp - 0x11], 0x40
jmp 0x413258
test byte [ebp - 6], 0xc
jne 0x413258
or byte [ebp - 0x11], 4
jmp 0x413258
push dword [0x465070]
mov al, byte [ebx]
push 1
mov byte [ebp - 0x28], al
push 1
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413b50
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x413387
xor ecx, ecx
push ecx
mov eax, 0x80000000
push eax
push eax
push dword [ebp + 0x14]
push ecx
push 2
push 1
push dword [ebp - 6]
push dword [ebp - 0x11]
push ecx
push dword [ebp - 0xd]
call fcn.0041252e
add esp, 0x2c
jmp 0x41339b
cmp dword [ebp + 0x14], 0
jne 0x41339b
xor eax, eax
mov al, byte [ebx]
push 1
push eax
call fcn.0041361c
pop ecx
pop ecx
mov byte [ebp - 0x11], 0
jmp 0x413258
cmp dword [0x463490], ebx
je 0x4133b4
mov cl, byte [0x46337e]
jmp 0x4133d7
cmp dword [0x461060], ebx
jl 0x4133d4
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x464268]
cmp eax, dword [0x461060]
jb 0x4133d4
xor cl, cl
jmp 0x4133d7
mov cl, byte [ebp - 1]
cmp byte [ebp - 0x15], 0
je 0x4133f7
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 - 0x15], dl
xor ebx, ebx
jmp 0x413404
mov al, byte [ebp - 8]
not al
and al, cl
or al, byte [ebp - 6]
mov byte [ebp - 0x15], al
cmp dword [0x463490], ebx
je 0x413419
mov al, byte [0x46337c]
mov byte [ebp + 8], al
jmp 0x41355b
xor bl, bl
cmp byte [0x464499], bl
mov byte [ebp + 0xb], bl
jne 0x4134a2
cmp byte [0x46449a], bl
jne 0x4134a2
push 0xa0
call edi
test si, ax
je 0x41343d
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x41344c
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x41345b
or bl, 1
push 0xa3
call edi
test si, ax
je 0x41346a
or bl, 2
push 0xa4
call edi
test si, ax
je 0x413479
or bl, 4
push 0xa5
call edi
test si, ax
je 0x413488
or bl, 8
push 0x5b
call edi
test si, ax
je 0x413494
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x413519
or bl, 0x80
jmp 0x413519
push 0x10
call edi
test si, ax
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4134ba
push 0x10
call ebx
test si, ax
je 0x4134be
mov byte [ebp + 0xb], 0x10
push 0x11
call edi
test si, ax
jne 0x4134d0
push 0x11
call ebx
test si, ax
je 0x4134d4
or byte [ebp + 0xb], 1
push 0x12
call edi
test si, ax
jne 0x4134e6
push 0x12
call ebx
test si, ax
je 0x4134ea
or byte [ebp + 0xb], 4
push 0x5b
call edi
test si, ax
jne 0x4134fc
push 0x5b
call ebx
test si, ax
je 0x413500
or byte [ebp + 0xb], 0x40
push 0x5c
call edi
test si, ax
jne 0x413512
push 0x5c
call ebx
test si, ax
je 0x413516
or byte [ebp + 0xb], 0x80
mov bl, byte [ebp + 0xb]
cmp dword [0x463490], 0
je 0x413556
mov al, bl
not al
and al, byte [0x46337c]
je 0x413556
not al
and byte [0x46337e], al
and byte [0x46337c], al
and byte [0x46337d], al
xor eax, eax
mov al, byte [0x46337e]
push eax
push 0x463380
call fcn.004102d0
pop ecx
pop ecx
mov byte [ebp + 8], bl
xor ebx, ebx
push 0xffc3d44d
push 1
push 1
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 0x15]
call fcn.004108f4
add esp, 0x18
cmp dword [0x463490], ebx
je 0x413596
mov al, byte [0x46337d]
xor al, byte [0x46337c]
and al, byte [0x46337d]
not al
and byte [0x46337d], al
xor esi, esi
inc esi
cmp dword [ebp - 0x34], esi
jne 0x4135a8
push esi
push 0x14
call fcn.00413c10
pop ecx
pop ecx
cmp byte [ebp - 7], 0
je 0x4135be
push ebx
push dword [ebp - 0x48]
push dword [0x463d9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 0x16], 0
je 0x4135d1
cmp byte [ebp - 0x23], 0
jne 0x4135d1
push ebx
call fcn.00419e04
pop ecx
cmp dword [ebp + 0x10], esi
jne 0x413604
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x463d9c]
jne 0x413604
push esi
push 0xffffffffffffffff
mov byte [0x461069], 0
call fcn.0040bd90
pop ecx
pop ecx
mov byte [0x461069], 1
mov eax, dword [ebp - 0x54]
mov dword [0x463274], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x46327c], eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
leave
ret