Function at 0x412a46
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 0x413739
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edi, edi
cmp dword [ebp + 0x14], esi
mov byte [ebp - 7], 0
je 0x412aab
push esi
push dword [ebp + 0x14]
call ebx
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x48], ebx
je 0x412abb
cmp ebx, dword [0x464dbc]
je 0x412abb
push dword [ebp + 0x14]
call fcn.0043b0bc
test al, al
pop ecx
jne 0x412abb
push 1
push ebx
push dword [0x464dbc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 7]
mov edi, ebx
jmp 0x412abb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x412abb
push esi
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
push eax
mov dword [0x466090], eax
call fcn.0041161f
push 1
mov dword [0x46608c], eax
call fcn.004108a5
add esp, 0xc
cmp dword [0x4644b0], esi
mov bl, al
mov byte [ebp - 0x30], bl
je 0x412b06
mov cl, byte [0x46439c]
mov dl, byte [0x46439e]
mov al, cl
not cl
and al, dl
and cl, dl
mov byte [ebp - 1], dl
mov byte [ebp - 8], cl
jmp 0x412b31
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x465288]
cmp eax, dword [0x462060]
jae 0x412b26
mov al, byte [0x465291]
and al, bl
mov byte [ebp - 1], al
jmp 0x412b2d
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 8], 0
not al
and al, bl
and byte [0x46609a], al
cmp byte [ebp + 0xc], 0
jne 0x412b70
push 7
push str.Blind
push dword [ebp + 8]
call fcn.0044147c
add esp, 0xc
test eax, eax
jne 0x412b70
mov al, byte [0x46609a]
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 0x412b80
mov al, byte [0x46609a]
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 0x412b92
cmp byte [0x4654b9], 0
jne 0x412bb0
cmp byte [0x464372], 0
je 0x412bb0
cmp byte [ebp - 0x15], 0
jne 0x412bb0
push ebx
push 0x14
call fcn.00413d35
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x412bb3
mov dword [ebp - 0x34], esi
mov eax, dword [0x464294]
xor edi, edi
mov dword [ebp - 0x54], eax
mov eax, dword [0x46429c]
inc edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x4c], eax
je 0x412bd1
cmp dword [ebp + 0x10], 3
jne 0x412c3c
cmp dword [0x4660f4], esi
je 0x412c08
call fcn.00445f7d
test al, al
jne 0x412c08
cmp byte [ebp + 0xc], al
jne 0x412c03
call fcn.00445fce
test al, al
je 0x412c03
push str.Click
push dword [ebp + 8]
call fcn.004386f1
test eax, eax
pop ecx
pop ecx
jne 0x412c08
mov dword [ebp + 0x10], edi
jmp 0x412c3c
cmp dword [ebp + 0x10], 3
jne 0x412c13
mov dword [ebp + 0x10], ebx
jmp 0x412c3c
cmp dword [0x464294], esi
mov dword [ebp + 0x10], esi
jge 0x412c2f
cmp dword [0x46429c], esi
jge 0x412c2f
or dword [0x46429c], 0xffffffff
jmp 0x412c35
mov dword [0x46429c], esi
or dword [0x464294], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov dword [0x4660f0], eax
je 0x412c8b
cmp eax, edi
jne 0x412c5d
mov eax, 0x36b0
mov dword [0x466080], 0x1f4
jmp 0x412c6c
mov eax, 0x2ee0
mov dword [0x466080], 0x5dc
add eax, 3
and eax, 0xfffffffc
call fcn.00454e20
mov eax, esp
push dword [ebp - 0x30]
push dword [0x466080]
push eax
call fcn.00410ffe
add esp, 0xc
mov al, byte [0x464daa]
mov byte [ebp - 0x23], al
mov eax, dword [0x46210c]
cmp eax, 8
je 0x412ca2
cmp eax, 0xa
jne 0x412cd8
cmp dword [ebp + 0x10], esi
jne 0x412cd8
cmp dword [ebp + 0x14], esi
jne 0x412cd8
cmp byte [0x4654bb], 0
je 0x412cd8
push edi
mov byte [ebp - 0x16], 1
call fcn.00419f23
pop ecx
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x27], 0
mov esi, 0x8000
jmp 0x413388
mov byte [ebp - 0x16], 0
jmp 0x412cc0
cmp dword [0x4660f0], 0
mov byte [ebp - 9], 0
jne 0x412d35
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
sub eax, dword [0x4652cc]
cmp eax, dword [0x464360]
jbe 0x412d35
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 0x412d2e
push 1
push 0xffffffffffffffff
mov byte [0x462069], 0
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
call ebx
mov dword [0x4652cc], eax
cmp byte [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
jne 0x413460
movsx eax, byte [ebx]
push eax
push str._
call fcn.004549b0
test eax, eax
pop ecx
pop ecx
je 0x413460
movsx eax, byte [ebx]
sub eax, 0x21
je 0x41344d
dec eax
dec eax
je 0x41342d
sub eax, 8
je 0x41341a
sub eax, 0x33
je 0x413407
sub eax, 0x1d
jne 0x41337d
inc ebx
push 0x7d
push ebx
call fcn.004549b0
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x2c], esi
je 0x413378
push ebx
call fcn.00401aa2
mov edi, eax
mov ebx, esi
sub ebx, edi
pop ecx
mov dword [ebp - 0x38], ebx
jne 0x412dc6
inc esi
cmp byte [esi], 0x7d
jne 0x413368
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], ebx
push 5
push 0x458378
push edi
call fcn.0044147c
add esp, 0xc
test eax, eax
jne 0x412e52
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.00401aa2
pop ecx
push eax
call fcn.00411cbf
add esp, 0x1c
cmp dword [ebp - 0x20], 1
push dword [ebp - 0x44]
mov byte [esi], 0x7d
jge 0x412e34
movzx eax, byte [0x46436f]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411b53
add esp, 0x14
jmp 0x413368
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 0x41335d
push 3
push 0x45905c
push edi
call fcn.0044147c
add esp, 0xc
test eax, eax
jne 0x412e6f
mov byte [ebp + 0xc], 1
jmp 0x413368
push 0x458bf0
push edi
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], ebx
mov byte [esi], 0
call fcn.00438acb
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x412f0e
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.00401aa2
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub eax, ebx
pop ecx
je 0x412f0e
push 4
push str.Down
push ebx
call fcn.0044147c
add esp, 0xc
test eax, eax
jne 0x412eea
and dword [ebp - 0x1c], eax
push 4
push str.Temp
add ebx, 4
push ebx
call fcn.0044147c
add esp, 0xc
test eax, eax
setne byte [ebp - 0x21]
jmp 0x412f0e
push 0x457858
push ebx
call fcn.00441439
test eax, eax
pop ecx
pop ecx
jne 0x412f04
mov dword [ebp - 0x1c], 1
jmp 0x412f0e
push ebx
call fcn.00401993
pop ecx
mov dword [ebp - 0x20], eax
push dword [0x466090]
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0x11]
push eax
push edi
call fcn.00413c75
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x412f32
mov dword [ebp + 8], ebx
jmp 0x412f3c
push edi
call fcn.00413a1d
pop ecx
mov dword [ebp + 8], eax
cmp byte [ebp - 0xd], 0
jne 0x412fb5
cmp word [ebp + 8], bx
jne 0x412fb5
movsx eax, byte [edi]
push eax
call fcn.004418c7
cmp eax, 0x56
pop ecx
jne 0x412fb5
movsx eax, byte [edi + 1]
push eax
call fcn.004418c7
cmp eax, 0x4b
pop ecx
jne 0x412fb5
lea eax, [edi + 2]
push 0x459050
push eax
call fcn.00438acb
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x412fa0
movsx eax, byte [ebx + 1]
push eax
call fcn.004418c7
cmp eax, 0x43
pop ecx
jne 0x412fa0
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 0x412fbe
mov al, byte [ebp - 0x22]
mov byte [esi], al
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x7d
jl 0x413368
cmp byte [ebp - 0xd], 0
jne 0x4132c6
cmp word [ebp + 8], bx
jne 0x4132c6
cmp dword [ebp - 0x30], 1
jne 0x41300f
cmp dword [ebp + 0x14], ebx
jne 0x413368
cmp dword [ebp - 0x1c], 1
je 0x413368
push dword [ebp - 0x20]
xor eax, eax
mov al, byte [edi]
push eax
call fcn.00413741
pop ecx
pop ecx
jmp 0x413368
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.00413a94
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x41326c
cmp dword [ebp + 0x14], ebx
jne 0x413051
cmp dword [ebp - 0x1c], ebx
jne 0x413044
mov byte [ebp - 9], al
jmp 0x413051
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.004106b6
pop ecx
pop ecx
cmp dword [0x4660f0], ebx
je 0x413063
mov al, byte [0x466078]
jmp 0x4131d8
cmp dword [0x4644b0], ebx
je 0x413075
mov al, byte [0x46439c]
jmp 0x4131d8
cmp byte [0x4654b9], 0
mov byte [ebp + 0xb], 0
jne 0x413114
cmp byte [0x4654ba], 0
jne 0x413114
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
mov edi, 0x8000
test di, ax
je 0x4130ae
mov byte [ebp + 0xb], 0x10
push 0xa1
call esi
test di, ax
je 0x4130be
or byte [ebp + 0xb], 0x20
push 0xa2
call esi
test di, ax
je 0x4130ce
or byte [ebp + 0xb], 1
push 0xa3
call esi
test di, ax
je 0x4130de
or byte [ebp + 0xb], 2
push 0xa4
call esi
test di, ax
je 0x4130ee
or byte [ebp + 0xb], 4
push 0xa5
call esi
test di, ax
je 0x4130fe
or byte [ebp + 0xb], 8
push 0x5b
call esi
test di, ax
je 0x41310b
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jmp 0x41318d
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 0x413137
push 0x10
call edi
test si, ax
je 0x41313b
mov byte [ebp + 0xb], 0x10
push 0x11
call ebx
test si, ax
jne 0x41314d
push 0x11
call edi
test si, ax
je 0x413151
or byte [ebp + 0xb], 1
push 0x12
call ebx
test si, ax
jne 0x413163
push 0x12
call edi
test si, ax
je 0x413167
or byte [ebp + 0xb], 4
push 0x5b
call ebx
test si, ax
jne 0x413179
push 0x5b
call edi
test si, ax
je 0x41317d
or byte [ebp + 0xb], 0x40
push 0x5c
call ebx
test si, ax
jne 0x41318f
push 0x5c
call edi
test si, ax
je 0x413193
or byte [ebp + 0xb], 0x80
cmp dword [0x4644b0], 0
je 0x4131d1
mov al, byte [ebp + 0xb]
not al
and al, byte [0x46439c]
je 0x4131d1
not al
and byte [0x46439e], al
and byte [0x46439c], al
and byte [0x46439d], al
xor eax, eax
mov al, byte [0x46439e]
push eax
push 0x4643a0
call fcn.004103f5
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.00410a19
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp eax, ebx
jle 0x413368
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.00411044
add esp, 0x18
cmp dword [0x4660f0], ebx
jne 0x413262
call edi
sub eax, dword [0x4652cc]
cmp eax, dword [0x464360]
jbe 0x413262
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 0x41325b
push 1
push 0xffffffffffffffff
mov byte [0x462069], 0
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
call edi
mov dword [0x4652cc], eax
dec dword [ebp + 8]
jne 0x413203
jmp 0x413368
cmp dword [ebp - 0x38], 4
jbe 0x413368
push 4
push str.ASC
push edi
call fcn.0044147c
add esp, 0xc
test eax, eax
jne 0x413368
cmp dword [ebp + 0x14], ebx
jne 0x413368
add edi, 3
push edi
call fcn.00401aa2
push eax
call fcn.0041235e
cmp dword [0x4660f0], 2
mov eax, dword [0x464298]
pop ecx
pop ecx
je 0x4132bb
mov eax, dword [0x464294]
push eax
call fcn.00410722
jmp 0x413009
xor esi, esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xd]
call fcn.00411546
mov bl, al
add esp, 0xc
test bl, bl
mov byte [ebp - 0x50], bl
je 0x413340
cmp dword [ebp + 0x14], esi
jne 0x413340
cmp dword [ebp - 0x1c], esi
jne 0x413301
cmp byte [ebp - 0x21], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 9], al
je 0x4132fc
or byte [0x46609a], bl
or byte [ebp - 6], bl
jmp 0x413340
cmp dword [ebp - 0x1c], 1
jne 0x413340
push dword [ebp - 0x15]
push dword [ebp - 0xd]
call fcn.004106b6
mov al, byte [0x46609a]
pop ecx
pop ecx
mov cl, bl
not cl
and byte [ebp - 2], cl
and al, cl
cmp byte [ebp - 0xd], 0xa5
mov byte [0x46609a], al
jne 0x41333a
cmp dword [0x46608c], 3
jne 0x41333a
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.00412653
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 [0x466099], al
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x412cde
xor ebx, ebx
cmp dword [0x4660f0], ebx
je 0x4134c9
or dword [ebp + 8], 0xffffffff
cmp byte [0x46606d], bl
jne 0x4133f9
cmp dword [0x466084], ebx
jbe 0x4133f9
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 [0x466078]
mov byte [ebp - 0x15], cl
push eax
push dword [ebp - 0x15]
call fcn.00410a19
push dword [ebp - 0x15]
lea eax, [ebp + 8]
push eax
call fcn.00412543
add esp, 0x20
push dword [ebp + 8]
call fcn.00410065
pop ecx
jmp 0x41369a
test byte [ebp - 6], 3
jne 0x41337d
or byte [ebp - 0x11], 1
jmp 0x41337d
test byte [ebp - 6], 0x30
jne 0x41337d
or byte [ebp - 0x11], 0x10
jmp 0x41337d
cmp byte [0x4652af], 0
jne 0x41337d
test byte [ebp - 6], 0xc0
jne 0x41337d
or byte [ebp - 0x11], 0x40
jmp 0x41337d
test byte [ebp - 6], 0xc
jne 0x41337d
or byte [ebp - 0x11], 4
jmp 0x41337d
push dword [0x466090]
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.00413c75
add esp, 0x14
test al, al
mov byte [ebp - 0xd], al
je 0x4134ac
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.00412653
add esp, 0x2c
jmp 0x4134c0
cmp dword [ebp + 0x14], 0
jne 0x4134c0
xor eax, eax
mov al, byte [ebx]
push 1
push eax
call fcn.00413741
pop ecx
pop ecx
mov byte [ebp - 0x11], 0
jmp 0x41337d
cmp dword [0x4644b0], ebx
je 0x4134d9
mov cl, byte [0x46439e]
jmp 0x4134fc
cmp dword [0x462060], ebx
jl 0x4134f9
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x465288]
cmp eax, dword [0x462060]
jb 0x4134f9
xor cl, cl
jmp 0x4134fc
mov cl, byte [ebp - 1]
cmp byte [ebp - 0x15], 0
je 0x41351c
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 0x413529
mov al, byte [ebp - 8]
not al
and al, cl
or al, byte [ebp - 6]
mov byte [ebp - 0x15], al
cmp dword [0x4644b0], ebx
je 0x41353e
mov al, byte [0x46439c]
mov byte [ebp + 8], al
jmp 0x413680
xor bl, bl
cmp byte [0x4654b9], bl
mov byte [ebp + 0xb], bl
jne 0x4135c7
cmp byte [0x4654ba], bl
jne 0x4135c7
push 0xa0
call edi
test si, ax
je 0x413562
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x413571
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x413580
or bl, 1
push 0xa3
call edi
test si, ax
je 0x41358f
or bl, 2
push 0xa4
call edi
test si, ax
je 0x41359e
or bl, 4
push 0xa5
call edi
test si, ax
je 0x4135ad
or bl, 8
push 0x5b
call edi
test si, ax
je 0x4135b9
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x41363e
or bl, 0x80
jmp 0x41363e
push 0x10
call edi
test si, ax
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4135df
push 0x10
call ebx
test si, ax
je 0x4135e3
mov byte [ebp + 0xb], 0x10
push 0x11
call edi
test si, ax
jne 0x4135f5
push 0x11
call ebx
test si, ax
je 0x4135f9
or byte [ebp + 0xb], 1
push 0x12
call edi
test si, ax
jne 0x41360b
push 0x12
call ebx
test si, ax
je 0x41360f
or byte [ebp + 0xb], 4
push 0x5b
call edi
test si, ax
jne 0x413621
push 0x5b
call ebx
test si, ax
je 0x413625
or byte [ebp + 0xb], 0x40
push 0x5c
call edi
test si, ax
jne 0x413637
push 0x5c
call ebx
test si, ax
je 0x41363b
or byte [ebp + 0xb], 0x80
mov bl, byte [ebp + 0xb]
cmp dword [0x4644b0], 0
je 0x41367b
mov al, bl
not al
and al, byte [0x46439c]
je 0x41367b
not al
and byte [0x46439e], al
and byte [0x46439c], al
and byte [0x46439d], al
xor eax, eax
mov al, byte [0x46439e]
push eax
push 0x4643a0
call fcn.004103f5
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.00410a19
add esp, 0x18
cmp dword [0x4644b0], ebx
je 0x4136bb
mov al, byte [0x46439d]
xor al, byte [0x46439c]
and al, byte [0x46439d]
not al
and byte [0x46439d], al
xor esi, esi
inc esi
cmp dword [ebp - 0x34], esi
jne 0x4136cd
push esi
push 0x14
call fcn.00413d35
pop ecx
pop ecx
cmp byte [ebp - 7], 0
je 0x4136e3
push ebx
push dword [ebp - 0x48]
push dword [0x464dbc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 0x16], 0
je 0x4136f6
cmp byte [ebp - 0x23], 0
jne 0x4136f6
push ebx
call fcn.00419f23
pop ecx
cmp dword [ebp + 0x10], esi
jne 0x413729
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x464dbc]
jne 0x413729
push esi
push 0xffffffffffffffff
mov byte [0x462069], 0
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
mov eax, dword [ebp - 0x54]
mov dword [0x464294], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x46429c], eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
leave
ret