Function at 0x411f27
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 0x412c1a
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edi, edi
cmp dword [ebp + 0x14], esi
mov byte [ebp - 7], 0
je 0x411f8c
push esi
push dword [ebp + 0x14]
call ebx
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x48], ebx
je 0x411f9c
cmp ebx, dword [0x465c44]
je 0x411f9c
push dword [ebp + 0x14]
call fcn.0043b520
test al, al
pop ecx
jne 0x411f9c
push 1
push ebx
push dword [0x465c44]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 7]
mov edi, ebx
jmp 0x411f9c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x411f9c
push esi
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
push eax
mov dword [0x466f18], eax
call fcn.00410b00
push 1
mov dword [0x466f14], eax
call fcn.0040fd86
add esp, 0xc
cmp dword [0x465338], esi
mov bl, al
mov byte [ebp - 0x30], bl
je 0x411fe7
mov cl, byte [0x465224]
mov dl, byte [0x465226]
mov al, cl
not cl
and al, dl
and cl, dl
mov byte [ebp - 1], dl
mov byte [ebp - 8], cl
jmp 0x412012
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x466110]
cmp eax, dword [0x463060]
jae 0x412007
mov al, byte [0x466119]
and al, bl
mov byte [ebp - 1], al
jmp 0x41200e
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 8], 0
not al
and al, bl
and byte [0x466f22], al
cmp byte [ebp + 0xc], 0
jne 0x412051
push 7
push str.Blind
push dword [ebp + 8]
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x412051
mov al, byte [0x466f22]
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 0x412061
mov al, byte [0x466f22]
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 0x412073
cmp byte [0x466341], 0
jne 0x412091
cmp byte [0x4651f6], 0
je 0x412091
cmp byte [ebp - 0x15], 0
jne 0x412091
push ebx
push 0x14
call fcn.00413216
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x412094
mov dword [ebp - 0x34], esi
mov eax, dword [0x465194]
xor edi, edi
mov dword [ebp - 0x54], eax
mov eax, dword [0x46519c]
inc edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x4c], eax
je 0x4120b2
cmp dword [ebp + 0x10], 3
jne 0x41211d
cmp dword [0x466f7c], esi
je 0x4120e9
call fcn.0044635d
test al, al
jne 0x4120e9
cmp byte [ebp + 0xc], al
jne 0x4120e4
call fcn.004463ae
test al, al
je 0x4120e4
push str.Click
push dword [ebp + 8]
call fcn.00438b5b
test eax, eax
pop ecx
pop ecx
jne 0x4120e9
mov dword [ebp + 0x10], edi
jmp 0x41211d
cmp dword [ebp + 0x10], 3
jne 0x4120f4
mov dword [ebp + 0x10], ebx
jmp 0x41211d
cmp dword [0x465194], esi
mov dword [ebp + 0x10], esi
jge 0x412110
cmp dword [0x46519c], esi
jge 0x412110
or dword [0x46519c], 0xffffffff
jmp 0x412116
mov dword [0x46519c], esi
or dword [0x465194], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov dword [0x466f78], eax
je 0x41216c
cmp eax, edi
jne 0x41213e
mov eax, 0x36b0
mov dword [0x466f08], 0x1f4
jmp 0x41214d
mov eax, 0x2ee0
mov dword [0x466f08], 0x5dc
add eax, 3
and eax, 0xfffffffc
call fcn.004561f0
mov eax, esp
push dword [ebp - 0x30]
push dword [0x466f08]
push eax
call fcn.004104df
add esp, 0xc
mov al, byte [0x465c32]
mov byte [ebp - 0x23], al
mov eax, dword [0x46310c]
cmp eax, 8
je 0x412183
cmp eax, 0xa
jne 0x4121b9
cmp dword [ebp + 0x10], esi
jne 0x4121b9
cmp dword [ebp + 0x14], esi
jne 0x4121b9
cmp byte [0x466343], 0
je 0x4121b9
push edi
mov byte [ebp - 0x16], 1
call fcn.00418254
pop ecx
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x27], 0
mov esi, 0x8000
jmp 0x412869
mov byte [ebp - 0x16], 0
jmp 0x4121a1
cmp dword [0x466f78], 0
mov byte [ebp - 9], 0
jne 0x412216
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
sub eax, dword [0x466154]
cmp eax, dword [0x4651e4]
jbe 0x412216
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 0x41220f
push 1
push 0xffffffffffffffff
mov byte [0x463069], 0
call fcn.0040b5c4
pop ecx
pop ecx
mov byte [0x463069], 1
call ebx
mov dword [0x466154], eax
cmp byte [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
jne 0x412941
movsx eax, byte [ebx]
push eax
push str._
call fcn.00455d80
test eax, eax
pop ecx
pop ecx
je 0x412941
movsx eax, byte [ebx]
sub eax, 0x21
je 0x41292e
dec eax
dec eax
je 0x41290e
sub eax, 8
je 0x4128fb
sub eax, 0x33
je 0x4128e8
sub eax, 0x1d
jne 0x41285e
inc ebx
push 0x7d
push ebx
call fcn.00455d80
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x2c], esi
je 0x412859
push ebx
call fcn.00401a22
mov edi, eax
mov ebx, esi
sub ebx, edi
pop ecx
mov dword [ebp - 0x38], ebx
jne 0x4122a7
inc esi
cmp byte [esi], 0x7d
jne 0x412849
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], ebx
push 5
push 0x459364
push edi
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x412333
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.00401a22
pop ecx
push eax
call fcn.004111a0
add esp, 0x1c
cmp dword [ebp - 0x20], 1
push dword [ebp - 0x44]
mov byte [esi], 0x7d
jge 0x412315
movzx eax, byte [0x4651f3]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411034
add esp, 0x14
jmp 0x412849
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 0x41283e
push 3
push 0x45a04c
push edi
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x412350
mov byte [ebp + 0xc], 1
jmp 0x412849
push 0x459be0
push edi
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], ebx
mov byte [esi], 0
call fcn.00438f35
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4123ef
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.00401a22
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub eax, ebx
pop ecx
je 0x4123ef
push 4
push str.Down
push ebx
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x4123cb
and dword [ebp - 0x1c], eax
push 4
push str.Temp
add ebx, 4
push ebx
call fcn.00441854
add esp, 0xc
test eax, eax
setne byte [ebp - 0x21]
jmp 0x4123ef
push 0x458844
push ebx
call fcn.00441811
test eax, eax
pop ecx
pop ecx
jne 0x4123e5
mov dword [ebp - 0x1c], 1
jmp 0x4123ef
push ebx
call fcn.004019fa
pop ecx
mov dword [ebp - 0x20], eax
push dword [0x466f18]
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0x11]
push eax
push edi
call fcn.00413156
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x412413
mov dword [ebp + 8], ebx
jmp 0x41241d
push edi
call fcn.00412efe
pop ecx
mov dword [ebp + 8], eax
cmp byte [ebp - 0xd], 0
jne 0x412496
cmp word [ebp + 8], bx
jne 0x412496
movsx eax, byte [edi]
push eax
call fcn.00441c9f
cmp eax, 0x56
pop ecx
jne 0x412496
movsx eax, byte [edi + 1]
push eax
call fcn.00441c9f
cmp eax, 0x4b
pop ecx
jne 0x412496
lea eax, [edi + 2]
push 0x45a040
push eax
call fcn.00438f35
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x412481
movsx eax, byte [ebx + 1]
push eax
call fcn.00441c9f
cmp eax, 0x43
pop ecx
jne 0x412481
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 0x41249f
mov al, byte [ebp - 0x22]
mov byte [esi], al
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x7d
jl 0x412849
cmp byte [ebp - 0xd], 0
jne 0x4127a7
cmp word [ebp + 8], bx
jne 0x4127a7
cmp dword [ebp - 0x30], 1
jne 0x4124f0
cmp dword [ebp + 0x14], ebx
jne 0x412849
cmp dword [ebp - 0x1c], 1
je 0x412849
push dword [ebp - 0x20]
xor eax, eax
mov al, byte [edi]
push eax
call fcn.00412c22
pop ecx
pop ecx
jmp 0x412849
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.00412f75
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x41274d
cmp dword [ebp + 0x14], ebx
jne 0x412532
cmp dword [ebp - 0x1c], ebx
jne 0x412525
mov byte [ebp - 9], al
jmp 0x412532
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.0040fb97
pop ecx
pop ecx
cmp dword [0x466f78], ebx
je 0x412544
mov al, byte [0x466f00]
jmp 0x4126b9
cmp dword [0x465338], ebx
je 0x412556
mov al, byte [0x465224]
jmp 0x4126b9
cmp byte [0x466341], 0
mov byte [ebp + 0xb], 0
jne 0x4125f5
cmp byte [0x466342], 0
jne 0x4125f5
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
mov edi, 0x8000
test di, ax
je 0x41258f
mov byte [ebp + 0xb], 0x10
push 0xa1
call esi
test di, ax
je 0x41259f
or byte [ebp + 0xb], 0x20
push 0xa2
call esi
test di, ax
je 0x4125af
or byte [ebp + 0xb], 1
push 0xa3
call esi
test di, ax
je 0x4125bf
or byte [ebp + 0xb], 2
push 0xa4
call esi
test di, ax
je 0x4125cf
or byte [ebp + 0xb], 4
push 0xa5
call esi
test di, ax
je 0x4125df
or byte [ebp + 0xb], 8
push 0x5b
call esi
test di, ax
je 0x4125ec
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jmp 0x41266e
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 0x412618
push 0x10
call edi
test si, ax
je 0x41261c
mov byte [ebp + 0xb], 0x10
push 0x11
call ebx
test si, ax
jne 0x41262e
push 0x11
call edi
test si, ax
je 0x412632
or byte [ebp + 0xb], 1
push 0x12
call ebx
test si, ax
jne 0x412644
push 0x12
call edi
test si, ax
je 0x412648
or byte [ebp + 0xb], 4
push 0x5b
call ebx
test si, ax
jne 0x41265a
push 0x5b
call edi
test si, ax
je 0x41265e
or byte [ebp + 0xb], 0x40
push 0x5c
call ebx
test si, ax
jne 0x412670
push 0x5c
call edi
test si, ax
je 0x412674
or byte [ebp + 0xb], 0x80
cmp dword [0x465338], 0
je 0x4126b2
mov al, byte [ebp + 0xb]
not al
and al, byte [0x465224]
je 0x4126b2
not al
and byte [0x465226], al
and byte [0x465224], al
and byte [0x465225], al
xor eax, eax
mov al, byte [0x465226]
push eax
push 0x465228
call fcn.0040f8d6
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.0040fefa
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp eax, ebx
jle 0x412849
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.00410525
add esp, 0x18
cmp dword [0x466f78], ebx
jne 0x412743
call edi
sub eax, dword [0x466154]
cmp eax, dword [0x4651e4]
jbe 0x412743
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 0x41273c
push 1
push 0xffffffffffffffff
mov byte [0x463069], 0
call fcn.0040b5c4
pop ecx
pop ecx
mov byte [0x463069], 1
call edi
mov dword [0x466154], eax
dec dword [ebp + 8]
jne 0x4126e4
jmp 0x412849
cmp dword [ebp - 0x38], 4
jbe 0x412849
push 4
push str.ASC
push edi
call fcn.00441854
add esp, 0xc
test eax, eax
jne 0x412849
cmp dword [ebp + 0x14], ebx
jne 0x412849
add edi, 3
push edi
call fcn.00401a22
push eax
call fcn.0041183f
cmp dword [0x466f78], 2
mov eax, dword [0x465198]
pop ecx
pop ecx
je 0x41279c
mov eax, dword [0x465194]
push eax
call fcn.0040fc03
jmp 0x4124ea
xor esi, esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xd]
call fcn.00410a27
mov bl, al
add esp, 0xc
test bl, bl
mov byte [ebp - 0x50], bl
je 0x412821
cmp dword [ebp + 0x14], esi
jne 0x412821
cmp dword [ebp - 0x1c], esi
jne 0x4127e2
cmp byte [ebp - 0x21], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 9], al
je 0x4127dd
or byte [0x466f22], bl
or byte [ebp - 6], bl
jmp 0x412821
cmp dword [ebp - 0x1c], 1
jne 0x412821
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.0040fb97
mov al, byte [0x466f22]
pop ecx
pop ecx
mov cl, bl
not cl
and byte [ebp - 2], cl
and al, cl
cmp byte [ebp - 0xd], 0xa5
mov byte [0x466f22], al
jne 0x41281b
cmp dword [0x466f14], 3
jne 0x41281b
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.00411b34
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 [0x466f21], al
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x4121bf
xor ebx, ebx
cmp dword [0x466f78], ebx
je 0x4129aa
or dword [ebp + 8], 0xffffffff
cmp byte [0x466ef5], bl
jne 0x4128da
cmp dword [0x466f0c], ebx
jbe 0x4128da
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 [0x466f00]
mov byte [ebp - 0x15], cl
push eax
push dword [ebp - 0x15]
call fcn.0040fefa
push dword [ebp - 0x15]
lea eax, [ebp + 8]
push eax
call fcn.00411a24
add esp, 0x20
push dword [ebp + 8]
call fcn.0040f546
pop ecx
jmp 0x412b7b
test byte [ebp - 6], 3
jne 0x41285e
or byte [ebp - 0x11], 1
jmp 0x41285e
test byte [ebp - 6], 0x30
jne 0x41285e
or byte [ebp - 0x11], 0x10
jmp 0x41285e
cmp byte [0x466137], 0
jne 0x41285e
test byte [ebp - 6], 0xc0
jne 0x41285e
or byte [ebp - 0x11], 0x40
jmp 0x41285e
test byte [ebp - 6], 0xc
jne 0x41285e
or byte [ebp - 0x11], 4
jmp 0x41285e
push dword [0x466f18]
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.00413156
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x41298d
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.00411b34
add esp, 0x2c
jmp 0x4129a1
cmp dword [ebp + 0x14], 0
jne 0x4129a1
xor eax, eax
mov al, byte [ebx]
push 1
push eax
call fcn.00412c22
pop ecx
pop ecx
mov byte [ebp - 0x11], 0
jmp 0x41285e
cmp dword [0x465338], ebx
je 0x4129ba
mov cl, byte [0x465226]
jmp 0x4129dd
cmp dword [0x463060], ebx
jl 0x4129da
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x466110]
cmp eax, dword [0x463060]
jb 0x4129da
xor cl, cl
jmp 0x4129dd
mov cl, byte [ebp - 1]
cmp byte [ebp - 0x15], 0
je 0x4129fd
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 0x412a0a
mov al, byte [ebp - 8]
not al
and al, cl
or al, byte [ebp - 6]
mov byte [ebp - 0x15], al
cmp dword [0x465338], ebx
je 0x412a1f
mov al, byte [0x465224]
mov byte [ebp + 8], al
jmp 0x412b61
xor bl, bl
cmp byte [0x466341], bl
mov byte [ebp + 0xb], bl
jne 0x412aa8
cmp byte [0x466342], bl
jne 0x412aa8
push 0xa0
call edi
test si, ax
je 0x412a43
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x412a52
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x412a61
or bl, 1
push 0xa3
call edi
test si, ax
je 0x412a70
or bl, 2
push 0xa4
call edi
test si, ax
je 0x412a7f
or bl, 4
push 0xa5
call edi
test si, ax
je 0x412a8e
or bl, 8
push 0x5b
call edi
test si, ax
je 0x412a9a
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x412b1f
or bl, 0x80
jmp 0x412b1f
push 0x10
call edi
test si, ax
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x412ac0
push 0x10
call ebx
test si, ax
je 0x412ac4
mov byte [ebp + 0xb], 0x10
push 0x11
call edi
test si, ax
jne 0x412ad6
push 0x11
call ebx
test si, ax
je 0x412ada
or byte [ebp + 0xb], 1
push 0x12
call edi
test si, ax
jne 0x412aec
push 0x12
call ebx
test si, ax
je 0x412af0
or byte [ebp + 0xb], 4
push 0x5b
call edi
test si, ax
jne 0x412b02
push 0x5b
call ebx
test si, ax
je 0x412b06
or byte [ebp + 0xb], 0x40
push 0x5c
call edi
test si, ax
jne 0x412b18
push 0x5c
call ebx
test si, ax
je 0x412b1c
or byte [ebp + 0xb], 0x80
mov bl, byte [ebp + 0xb]
cmp dword [0x465338], 0
je 0x412b5c
mov al, bl
not al
and al, byte [0x465224]
je 0x412b5c
not al
and byte [0x465226], al
and byte [0x465224], al
and byte [0x465225], al
xor eax, eax
mov al, byte [0x465226]
push eax
push 0x465228
call fcn.0040f8d6
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.0040fefa
add esp, 0x18
cmp dword [0x465338], ebx
je 0x412b9c
mov al, byte [0x465225]
xor al, byte [0x465224]
and al, byte [0x465225]
not al
and byte [0x465225], al
xor esi, esi
inc esi
cmp dword [ebp - 0x34], esi
jne 0x412bae
push esi
push 0x14
call fcn.00413216
pop ecx
pop ecx
cmp byte [ebp - 7], 0
je 0x412bc4
push ebx
push dword [ebp - 0x48]
push dword [0x465c44]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 0x16], 0
je 0x412bd7
cmp byte [ebp - 0x23], 0
jne 0x412bd7
push ebx
call fcn.00418254
pop ecx
cmp dword [ebp + 0x10], esi
jne 0x412c0a
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x465c44]
jne 0x412c0a
push esi
push 0xffffffffffffffff
mov byte [0x463069], 0
call fcn.0040b5c4
pop ecx
pop ecx
mov byte [0x463069], 1
mov eax, dword [ebp - 0x54]
mov dword [0x465194], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x46519c], eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
leave
ret