Function at 0x4145c8
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
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp byte [eax], 0
push edi
je 0x415311
cmp dword [ebp + 0x14], esi
mov edi, dword [0x464108]
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x40], edi
mov byte [ebp - 0xd], 0
je 0x414634
push esi
push dword [ebp + 0x14]
call ebx
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x50], ebx
je 0x414645
cmp ebx, dword [0x466c9c]
je 0x414645
push dword [ebp + 0x14]
call fcn.0043bba4
test al, al
pop ecx
jne 0x414645
push 1
push ebx
push dword [0x466c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 0xd]
mov esi, ebx
jmp 0x414645
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x414645
push 0
push eax
call ebx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push eax
mov dword [0x468420], eax
call fcn.0041313b
xor esi, esi
inc esi
push esi
mov dword [0x46841c], eax
call fcn.004123b3
add esp, 0xc
cmp dword [0x466388], 0
mov bl, al
mov byte [ebp - 0x34], bl
je 0x414694
mov cl, byte [0x466270]
mov dl, byte [0x466272]
mov al, cl
not cl
and al, dl
and cl, dl
mov byte [ebp - 1], dl
mov byte [ebp - 7], cl
jmp 0x4146bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x467168]
cmp eax, dword [0x464060]
jae 0x4146b4
mov al, byte [0x467171]
and al, bl
mov byte [ebp - 1], al
jmp 0x4146bb
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 7], 0
not al
and al, bl
and byte [0x46842a], al
cmp byte [ebp + 0xc], 0
jne 0x4146fe
push 7
push str.Blind
push dword [ebp + 8]
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x4146fe
mov al, byte [0x46842a]
add dword [ebp + 8], 7
not al
and al, bl
mov byte [ebp - 0x2c], 1
mov byte [ebp - 2], al
mov byte [ebp - 6], bl
jmp 0x41470e
mov al, byte [0x46842a]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 2], 0
mov byte [ebp - 6], al
cmp byte [ebp - 0xd], 0
push 2
pop ebx
jne 0x414720
cmp byte [0x467399], 0
jne 0x41473e
cmp byte [edi + 0xc6], 0
je 0x41473e
cmp byte [ebp - 0x2c], 0
jne 0x41473e
push ebx
push 0x14
call fcn.00415929
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x414742
and dword [ebp - 0x38], 0
cmp dword [ebp + 0x10], esi
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x54], eax
je 0x414759
cmp dword [ebp + 0x10], 3
jne 0x4147b5
cmp dword [0x468484], 0
je 0x414791
call fcn.00446a60
test al, al
jne 0x414791
cmp byte [ebp + 0xc], al
jne 0x41478c
call fcn.00446ab1
test al, al
je 0x41478c
push str.Click
push dword [ebp + 8]
call fcn.00439191
test eax, eax
pop ecx
pop ecx
jne 0x414791
mov dword [ebp + 0x10], esi
jmp 0x4147b5
cmp dword [ebp + 0x10], 3
jne 0x41479c
mov dword [ebp + 0x10], ebx
jmp 0x4147b5
xor eax, eax
cmp dword [edi + 0x5c], eax
mov dword [ebp + 0x10], eax
jge 0x4147ae
cmp dword [edi + 0x64], eax
jge 0x4147ae
or eax, 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x64], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [0x468480], eax
je 0x414804
cmp eax, esi
jne 0x4147d6
mov eax, 0x36b0
mov dword [0x468410], 0x1f4
jmp 0x4147e5
mov eax, 0x2ee0
mov dword [0x468410], 0x5dc
add eax, 3
and eax, 0xfffffffc
call fcn.00457ac0
mov eax, esp
push dword [ebp - 0x34]
push dword [0x468410]
push eax
call fcn.00412b12
add esp, 0xc
mov al, byte [0x466c8a]
mov byte [ebp - 0x23], al
mov eax, dword [0x464118]
cmp eax, 8
je 0x41481b
cmp eax, 0xa
jne 0x414848
cmp dword [ebp + 0x10], 0
jne 0x414848
cmp dword [ebp + 0x14], 0
jne 0x414848
cmp byte [0x46739b], 0
je 0x414848
push esi
mov byte [ebp - 0x12], 1
call fcn.0041aa2f
pop ecx
mov byte [ebp - 0xc], 0
mov byte [ebp - 0x2f], 0
jmp 0x41501a
mov byte [ebp - 0x12], 0
jmp 0x41483b
xor ebx, ebx
cmp dword [0x468480], ebx
mov byte [ebp - 8], 0
jne 0x4148aa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x4148aa
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 0x4148a3
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
mov dword [0x46406c], ebx
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], edi
call esi
mov dword [0x4671ac], eax
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x414faf
movsx eax, byte [esi]
push eax
push 0x45b080
call fcn.00457650
test eax, eax
pop ecx
pop ecx
je 0x414faf
movsx eax, byte [esi]
sub eax, 0x21
je 0x414fa3
dec eax
dec eax
je 0x414f8e
sub eax, 8
je 0x414f7b
sub eax, 0x33
je 0x414f68
sub eax, 0x1d
jne 0x41500f
inc esi
push 0x7d
push esi
call fcn.00457650
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x1c], edi
je 0x41500f
push esi
call fcn.00401ed8
mov ebx, edi
sub ebx, eax
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x3c], ebx
jne 0x41499e
lea eax, [edi + 1]
mov cl, byte [eax]
cmp cl, 0x7d
jne 0x41493d
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x1c], edi
inc ebx
jmp 0x41499b
cmp cl, 0x20
je 0x41494b
cmp cl, 9
jne 0x414f5d
push eax
call fcn.00401ed8
push 4
mov esi, eax
push str.Down
push esi
call fcn.00441f04
add esp, 0x10
test eax, eax
je 0x41497f
push 2
push 0x45984c
push esi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x414f5d
push 0x7d
push esi
call fcn.00457650
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x1c], edi
je 0x41500f
mov ebx, edi
sub ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp + 8]
push 5
push 0x45a38c
push esi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x414a30
mov byte [edi], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
add esi, 5
push esi
call fcn.00401ed8
pop ecx
push eax
call fcn.00413823
add esp, 0x1c
cmp dword [ebp - 0x20], 1
push dword [ebp - 0x44]
mov byte [edi], 0x7d
jge 0x414a12
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0xc3]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004136b2
add esp, 0x14
jmp 0x414f5d
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 6]
push dword [ebp - 0xc]
push 0
jmp 0x414f52
push 3
push 0x45b07c
push esi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x414a4d
mov byte [ebp + 0xc], 1
jmp 0x414f5d
push 0x45ac08
push dword [ebp + 8]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x34], ebx
mov byte [edi], 0
call fcn.0043956b
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x414aef
mov al, byte [esi]
mov byte [ebp - 0x22], 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.00401ed8
mov edi, eax
mov eax, dword [ebp - 0x1c]
sub eax, edi
pop ecx
je 0x414aef
push 4
push str.Down
push edi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x414acb
and dword [ebp - 0x18], eax
push 4
push str.Temp
add edi, 4
push edi
call fcn.00441f04
add esp, 0xc
test eax, eax
setne byte [ebp - 0x21]
jmp 0x414aef
push 0x45984c
push edi
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x414ae5
mov dword [ebp - 0x18], 1
jmp 0x414aef
push edi
call fcn.0040137d
pop ecx
mov dword [ebp - 0x20], eax
push dword [0x468420]
mov edi, dword [ebp + 8]
push 0
push 1
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00415869
add esp, 0x14
test al, al
mov byte [ebp - 0x11], al
je 0x414b16
and dword [ebp - 0x28], 0
jmp 0x414b20
push edi
call fcn.00415611
pop ecx
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x11], 0
jne 0x414b9e
cmp word [ebp - 0x28], 0
jne 0x414b9e
movsx eax, byte [edi]
push eax
call fcn.0044234f
cmp eax, 0x56
pop ecx
jne 0x414b9e
movsx eax, byte [edi + 1]
push eax
call fcn.0044234f
cmp eax, 0x4b
pop ecx
jne 0x414b9e
mov ebx, dword [ebp + 8]
add ebx, 2
push 0x45b070
push ebx
call fcn.0043956b
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x414b88
movsx eax, byte [edi + 1]
push eax
call fcn.0044234f
cmp eax, 0x43
pop ecx
jne 0x414b88
push 0x10
push 0
add edi, 2
push edi
call fcn.004010ae
add esp, 0xc
mov dword [ebp - 0x28], eax
push 0x10
push 0
push ebx
call fcn.004010ae
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp + 8]
add esp, 0xc
mov byte [ebp - 0x11], al
test esi, esi
je 0x414ba7
mov al, byte [ebp - 0x22]
mov byte [esi], al
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0x7d
jl 0x414f5d
cmp byte [ebp - 0x11], 0
jne 0x414ebb
cmp word [ebp - 0x28], 0
jne 0x414ebb
cmp dword [ebp - 0x34], 1
jne 0x414bfa
cmp dword [ebp + 0x14], 0
jne 0x414f5d
cmp dword [ebp - 0x18], 1
je 0x414f5d
push dword [ebp - 0x20]
xor eax, eax
mov al, byte [edi]
push eax
call fcn.0041531c
pop ecx
pop ecx
jmp 0x414f5d
xor esi, esi
cmp dword [ebp + 0x14], esi
sete al
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
call fcn.00415688
add esp, 0x14
test al, al
mov byte [ebp - 0x11], al
je 0x414e5f
cmp dword [ebp + 0x14], esi
jne 0x414c3c
cmp dword [ebp - 0x18], esi
jne 0x414c2f
mov byte [ebp - 8], al
jmp 0x414c3c
push dword [ebp - 0x2c]
push dword [ebp - 0x11]
call fcn.004121bb
pop ecx
pop ecx
cmp dword [0x468480], esi
je 0x414c4e
mov al, byte [0x468408]
jmp 0x414dc1
cmp dword [0x466388], esi
je 0x414c60
mov al, byte [0x466270]
jmp 0x414dc1
cmp byte [0x467399], 0
mov byte [ebp + 0xb], 0
jne 0x414cff
cmp byte [0x46739a], 0
jne 0x414cff
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
mov edi, 0x8000
test di, ax
je 0x414c99
mov byte [ebp + 0xb], 0x10
push 0xa1
call esi
test di, ax
je 0x414ca9
or byte [ebp + 0xb], 0x20
push 0xa2
call esi
test di, ax
je 0x414cb9
or byte [ebp + 0xb], 1
push 0xa3
call esi
test di, ax
je 0x414cc9
or byte [ebp + 0xb], 2
push 0xa4
call esi
test di, ax
je 0x414cd9
or byte [ebp + 0xb], 4
push 0xa5
call esi
test di, ax
je 0x414ce9
or byte [ebp + 0xb], 8
push 0x5b
call esi
test di, ax
je 0x414cf6
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jmp 0x414d78
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 0x414d22
push 0x10
call edi
test si, ax
je 0x414d26
mov byte [ebp + 0xb], 0x10
push 0x11
call ebx
test si, ax
jne 0x414d38
push 0x11
call edi
test si, ax
je 0x414d3c
or byte [ebp + 0xb], 1
push 0x12
call ebx
test si, ax
jne 0x414d4e
push 0x12
call edi
test si, ax
je 0x414d52
or byte [ebp + 0xb], 4
push 0x5b
call ebx
test si, ax
jne 0x414d64
push 0x5b
call edi
test si, ax
je 0x414d68
or byte [ebp + 0xb], 0x40
push 0x5c
call ebx
test si, ax
jne 0x414d7a
push 0x5c
call edi
test si, ax
je 0x414d7e
or byte [ebp + 0xb], 0x80
cmp dword [0x466388], 0
je 0x414dbc
mov al, byte [ebp + 0xb]
not al
and al, byte [0x466270]
je 0x414dbc
not al
and byte [0x466272], al
and byte [0x466270], al
and byte [0x466271], al
xor eax, eax
mov al, byte [0x466272]
push eax
push 0x466278
call fcn.00411e9d
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.00412527
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp eax, edi
jle 0x414f5d
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 - 0x11]
push dword [ebp - 0x18]
call fcn.00412b58
add esp, 0x18
cmp dword [0x468480], edi
jne 0x414e55
call ebx
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x414e55
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 0x414e4e
push 1
push 0xffffffffffffffff
mov dword [0x46406c], edi
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], 1
call ebx
mov dword [0x4671ac], eax
dec dword [ebp + 8]
jne 0x414dee
jmp 0x414f5d
cmp ebx, 4
jbe 0x414f5d
push 4
push str.ASC
push edi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x414f5d
cmp dword [ebp + 0x14], esi
jne 0x414f5d
add edi, 3
push edi
call fcn.00401ed8
push eax
call fcn.00413ed1
cmp dword [0x468480], 2
mov eax, dword [0x464108]
pop ecx
pop ecx
jne 0x414ead
mov eax, dword [eax + 0x60]
jmp 0x414eb0
mov eax, dword [eax + 0x5c]
push eax
call fcn.00412227
jmp 0x414bf4
xor esi, esi
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x11]
call fcn.00413062
mov bl, al
add esp, 0xc
test bl, bl
mov byte [ebp - 0x58], bl
je 0x414f35
cmp dword [ebp + 0x14], esi
jne 0x414f35
cmp dword [ebp - 0x18], esi
jne 0x414ef6
cmp byte [ebp - 0x21], 0
mov al, byte [ebp - 0x11]
mov byte [ebp - 8], al
je 0x414ef1
or byte [0x46842a], bl
or byte [ebp - 6], bl
jmp 0x414f35
cmp dword [ebp - 0x18], 1
jne 0x414f35
push dword [ebp - 0x2c]
push dword [ebp - 0x11]
call fcn.004121bb
mov al, byte [0x46842a]
pop ecx
pop ecx
mov cl, bl
not cl
and byte [ebp - 2], cl
and al, cl
cmp byte [ebp - 0x11], 0xa5
mov byte [0x46842a], al
jne 0x414f2f
cmp dword [0x46841c], 3
jne 0x414f2f
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 - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 6]
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push dword [ebp - 0x11]
call fcn.004141c8
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
jmp 0x41500b
test byte [ebp - 6], 3
jne 0x41500f
or byte [ebp - 0xc], 1
jmp 0x41500f
test byte [ebp - 6], 0x30
jne 0x41500f
or byte [ebp - 0xc], 0x10
jmp 0x41500f
cmp byte [0x46718f], 0
jne 0x41500f
test byte [ebp - 6], 0xc0
jne 0x41500f
or byte [ebp - 0xc], 0x40
jmp 0x41500f
test byte [ebp - 6], 0xc
jne 0x41500f
or byte [ebp - 0xc], 4
jmp 0x41500f
push dword [0x468420]
mov al, byte [esi]
xor edi, edi
inc edi
push edi
mov byte [ebp - 0x30], al
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415869
add esp, 0x14
test al, al
mov byte [ebp - 0x11], al
je 0x414ff9
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 - 0xc]
push ebx
push dword [ebp - 0x11]
call fcn.004141c8
add esp, 0x2c
jmp 0x41500b
cmp dword [ebp + 0x14], ebx
jne 0x41500b
xor eax, eax
mov al, byte [esi]
push edi
push eax
call fcn.0041531c
pop ecx
pop ecx
mov byte [ebp - 0xc], 0
mov al, byte [ebp - 8]
inc dword [ebp + 8]
mov byte [0x468429], al
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x41484e
xor esi, esi
cmp dword [0x468480], esi
je 0x415097
or dword [ebp + 8], 0xffffffff
cmp byte [0x4683fd], 0
jne 0x415089
cmp dword [0x468414], esi
jbe 0x415089
xor eax, eax
mov al, byte [ebp - 7]
not al
and al, byte [ebp - 1]
cmp byte [ebp - 0x2c], 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 [0x468408]
mov byte [ebp - 0x1c], cl
push eax
push dword [ebp - 0x1c]
call fcn.00412527
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.004140b6
add esp, 0x20
push dword [ebp + 8]
call fcn.00411afd
pop ecx
jmp 0x415275
cmp dword [0x466388], esi
je 0x4150a7
mov cl, byte [0x466272]
jmp 0x4150ca
cmp dword [0x464060], esi
jl 0x4150c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x467168]
cmp eax, dword [0x464060]
jb 0x4150c7
xor cl, cl
jmp 0x4150ca
mov cl, byte [ebp - 1]
cmp byte [ebp - 0x2c], 0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
je 0x4150f9
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 - 0x1c], dl
jmp 0x415106
mov al, byte [ebp - 7]
not al
and al, cl
or al, byte [ebp - 6]
mov byte [ebp - 0x1c], al
cmp dword [0x466388], 0
je 0x41511c
mov al, byte [0x466270]
mov byte [ebp + 8], al
jmp 0x415259
cmp byte [0x467399], 0
mov byte [ebp + 0xb], 0
jne 0x4151a8
cmp byte [0x46739a], 0
jne 0x4151a8
push 0xa0
call esi
test di, ax
mov bl, 0x10
jne 0x415143
mov bl, byte [ebp + 0xb]
push 0xa1
call esi
test di, ax
je 0x415152
or bl, 0x20
push 0xa2
call esi
test di, ax
je 0x415161
or bl, 1
push 0xa3
call esi
test di, ax
je 0x415170
or bl, 2
push 0xa4
call esi
test di, ax
je 0x41517f
or bl, 4
push 0xa5
call esi
test di, ax
je 0x41518e
or bl, 8
push 0x5b
call esi
test di, ax
je 0x41519a
or bl, 0x40
push 0x5c
call esi
test di, ax
je 0x415219
or bl, 0x80
jmp 0x415219
push 0x10
call esi
test di, ax
jne 0x4151ba
push 0x10
call ebx
test di, ax
je 0x4151be
mov byte [ebp + 0xb], 0x10
push 0x11
call esi
test di, ax
jne 0x4151d0
push 0x11
call ebx
test di, ax
je 0x4151d4
or byte [ebp + 0xb], 1
push 0x12
call esi
test di, ax
jne 0x4151e6
push 0x12
call ebx
test di, ax
je 0x4151ea
or byte [ebp + 0xb], 4
push 0x5b
call esi
test di, ax
jne 0x4151fc
push 0x5b
call ebx
test di, ax
je 0x415200
or byte [ebp + 0xb], 0x40
push 0x5c
call esi
test di, ax
jne 0x415212
push 0x5c
call ebx
test di, ax
je 0x415216
or byte [ebp + 0xb], 0x80
mov bl, byte [ebp + 0xb]
cmp dword [0x466388], 0
je 0x415256
mov al, bl
not al
and al, byte [0x466270]
je 0x415256
not al
and byte [0x466272], al
and byte [0x466270], al
and byte [0x466271], al
xor eax, eax
mov al, byte [0x466272]
push eax
push 0x466278
call fcn.00411e9d
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 - 0x1c]
call fcn.00412527
add esp, 0x18
xor esi, esi
cmp dword [0x466388], esi
je 0x415296
mov al, byte [0x466271]
xor al, byte [0x466270]
and al, byte [0x466271]
not al
and byte [0x466271], al
xor edi, edi
inc edi
cmp dword [ebp - 0x38], edi
jne 0x4152a8
push edi
push 0x14
call fcn.00415929
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
je 0x4152be
push esi
push dword [ebp - 0x50]
push dword [0x466c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 0x12], 0
je 0x4152d1
cmp byte [ebp - 0x23], 0
jne 0x4152d1
push esi
call fcn.0041aa2f
pop ecx
cmp dword [ebp + 0x10], edi
jne 0x415302
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x466c9c]
jne 0x415302
push edi
push 0xffffffffffffffff
mov dword [0x46406c], esi
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], edi
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x40]
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