Function at 0x1002fb77
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e0b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030926
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x168], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0xa44198d7
mov dword [ebp - 0x1dc], 0xdfecbe92
mov dword [ebp - 0x100], 0x740826f3
mov dword [ebp - 0x1a0], 0x57392715
mov dword [ebp - 0xbc], 0xfffffffa
mov dword [ebp - 0x158], 0x7b47e0fa
push 1
lea ecx, [ebp - 0x1c8]
call fcn.10019c20
and dword [ebp - 4], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x34], 0
jmp 0x1002fc1d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002fc33
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1bc], 0xa53d
jmp 0x1002fc16
lea eax, [ebp - 0x34]
push eax
push 0x29aa
push 0x64c6
lea eax, [ebp - 0x1c8]
push eax
push 1
call fcn.1002f361
add esp, 0x14
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
push 1
call fcn.1002f3fa
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1bc], 0
je 0x1002feb5
mov dword [ebp - 0x144], 0x789
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1ec], 4
mov dword [ebp - 0xa4], 0x31bb000e
mov dword [ebp - 0x70], 0xb6b7be2d
cmp dword [ebp - 0x144], 0x9689
jl 0x1002fcc8
mov dword [ebp - 0x134], 1
jmp 0x1002fccf
and dword [ebp - 0x134], 0
mov dword [ebp - 0xbc], 0xfffffff7
cmp dword [ebp - 0xbc], 0
jne 0x1002fce9
push 8
pop eax
test eax, eax
je 0x1002fcfe
cmp dword [ebp - 0x100], 0
je 0x1002fcfe
mov dword [ebp - 0x154], 1
jmp 0x1002fd05
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x154], eax
jne 0x1002fd20
push 0
lea ecx, [ebp - 0x1c8]
call fcn.10019cac
mov eax, dword [ebp - 0x100]
cmp dword [ebp - 0x1a8], eax
jg 0x1002fd3a
mov dword [ebp - 0x12c], 1
jmp 0x1002fd41
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x12c]
jl 0x1002fd5f
mov dword [ebp - 0x94], 1
jmp 0x1002fd66
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1bc]
jl 0x1002fd88
mov dword [ebp - 0x9c], 1
jmp 0x1002fd8f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x9c]
jle 0x1002fda9
mov dword [ebp - 0x13c], 1
jmp 0x1002fdb0
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x13c], eax
jl 0x1002fdca
mov dword [ebp - 0x198], 1
jmp 0x1002fdd1
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1f4], eax
imul eax, dword [ebp - 0xa4], 0xfff9
cmp dword [ebp - 0x144], eax
jl 0x1002fdfb
mov dword [ebp - 0x14c], 1
jmp 0x1002fe02
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1bc]
imul eax, dword [ebp - 0x14c]
cmp eax, 0x6be8
jne 0x1002fe2e
or eax, 0xffffffff
je 0x1002fe2e
mov dword [ebp - 0xb0], 1
jmp 0x1002fe35
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x1c250287
je 0x1002fe4d
mov dword [ebp - 0x140], 1
jmp 0x1002fe54
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0x1b9b
je 0x1002fe6c
mov dword [ebp - 0xb8], 1
jmp 0x1002fe73
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x3e2be8ca
jl 0x1002fe8b
mov dword [ebp - 0x108], 1
jmp 0x1002fe92
and dword [ebp - 0x108], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1bc]
mov ecx, dword [ebp - 0x108]
sub ecx, 8
sub ecx, dword [ebp - 0x1a0]
sub eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x1002fee2
mov dword [ebp - 0x2c], 0
jmp 0x1002fec5
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002fee2
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c8]
call fcn.10019cac
cmp dword [eax], 0
je 0x1002fee0
jmp 0x1002fee2
jmp 0x1002febe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.10019ca7
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x168]
add ecx, dword [eax]
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x84], 0x61928c17
mov dword [ebp - 0x80], 0x61928c17
mov dword [ebp - 0x7c], 0x61928c17
mov dword [ebp - 0x78], 0x61928c17
mov dword [ebp - 0x1c], 0x3aa9ac70
mov dword [ebp - 0x190], 0x70f9e3d3
mov dword [ebp - 0x1c], 3
jmp 0x1002ff44
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x100300ee
mov dword [ebp - 0x20], 0x80849f84
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x20], 0
jmp 0x1002ff6f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x100300e9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x84]
cmp dword [ebp + eax*4 - 0x84], ecx
jne 0x1002ff9b
mov dword [ebp - 0x150], 1
jmp 0x1002ffa2
and dword [ebp - 0x150], 0
cmp dword [ebp - 0xc0], 0
jg 0x1002ffb7
mov dword [ebp - 0x130], 1
jmp 0x1002ffbe
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x130]
sub ecx, dword [ebp + eax*4 - 0x84]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x84]
jne 0x1002fff4
mov dword [ebp - 0xc8], 1
jmp 0x1002fffb
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc8], eax
jl 0x10030012
mov dword [ebp - 0x110], 1
jmp 0x10030019
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [ebp - 0x110], eax
jle 0x10030037
mov dword [ebp - 0xd0], 1
jmp 0x1003003e
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x84]
cmp dword [ebp - 0xd0], eax
jle 0x1003005e
mov dword [ebp - 0x170], 1
jmp 0x10030065
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x84]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x214], eax
or eax, 0xffffffff
je 0x10030090
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x84], 0
jne 0x10030096
cmp dword [ebp - 0x1c], 0
je 0x100300a8
cmp dword [ebp - 0x1c], 0
je 0x100300a8
mov dword [ebp - 0xd8], 1
jmp 0x100300af
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0xd8]
jle 0x100300ca
xor eax, eax
jne 0x100300ca
and dword [ebp - 0x118], 0
jmp 0x100300d4
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x118]
mov dword [ebp + eax*4 - 0x84], ecx
jmp 0x1002ff68
jmp 0x1002ff3d
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10030113
push 0x129e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetROP2]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x48], eax
and dword [ebp - 0x58], 0
jmp 0x10030133
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
inc eax
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x58], eax
jae 0x10030914
mov dword [ebp - 0xf0], 0xb63e
mov dword [ebp - 0x5c], 0xe94f934f
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0xa8f90a3c
mov dword [ebp - 0x1d8], 0x9f4ffcf3
mov dword [ebp - 0x1d4], 0x9f4ffcf3
mov dword [ebp - 0x1d0], 0x9f4ffcf3
mov dword [ebp - 0x1cc], 0x9f4ffcf3
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x1e8], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x208], 0xe67dcaf6
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1d8], 0xde89
jge 0x100301eb
mov dword [ebp - 0xe0], 1
jmp 0x100301f2
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xe0]
jg 0x10030206
mov dword [ebp - 0x6c], 1
jmp 0x1003020a
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x1d8], ecx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x74]
imul ecx, dword [ebp - 0x64]
imul eax, ecx
test eax, eax
je 0x10030243
cmp dword [ebp - 0x5c], 0
je 0x10030243
mov dword [ebp - 0x138], 1
jmp 0x1003024a
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xfffffff7
je 0x1003025f
mov dword [ebp - 0xe8], 1
jmp 0x10030266
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0xe8], eax
jge 0x10030286
mov eax, 0x42dcbded
test eax, eax
je 0x10030286
mov dword [ebp - 0x120], 1
jmp 0x1003028d
and dword [ebp - 0x120], 0
mov dword [ebp - 0xf0], 0xfffffff9
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x74], eax
imul eax, dword [ebp - 0x74], 9
cmp dword [ebp - 0xf0], eax
jge 0x100302b8
mov dword [ebp - 0x148], 1
jmp 0x100302bf
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
add eax, 0x6764
cmp eax, 1
jbe 0x100302db
mov dword [ebp - 0xf8], 1
jmp 0x100302e2
and dword [ebp - 0xf8], 0
imul eax, dword [ebp - 0xf8], 0x11f3
cmp eax, dword [ebp - 0x60]
je 0x100302fd
mov dword [ebp - 0x128], 1
jmp 0x10030304
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x128], eax
jg 0x1003031b
mov dword [ebp - 0xa8], 1
jmp 0x10030322
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xa8], eax
jle 0x1003033c
mov dword [ebp - 0x1b0], 1
jmp 0x10030343
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xac], eax
push 0x250e
lea eax, [ebp - 0x48]
push eax
push 0x38df
lea eax, [ebp - 0x1ac]
push eax
push 0x562e
push 1
push 0x78c5
push 0x26f0
push 0x363b
call fcn.1002f43a
add esp, 0x24
push 1
lea ecx, [ebp - 0x54]
call fcn.10019c20
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x180], 0x8b13
mov dword [ebp - 0x218], 0x5d0016d1
push 0
push 0x2779
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10034426
add esp, 0x10
mov dword [ebp - 0x38], 0
jmp 0x100303db
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100303ee
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x14], 0xfffffff9
jmp 0x100303d4
push 0
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov eax, dword [eax]
sub eax, 0xe6dc
mov ecx, 0xd67a
sub ecx, eax
mov dword [ebp - 0xb4], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x14], ecx
cmp dword [ebp - 0xb4], 0x11e7bff4
jg 0x10030434
mov dword [ebp - 0x88], 1
jmp 0x1003043b
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov eax, dword [eax]
cmp eax, dword [ebp - 0x88]
jne 0x1003045b
mov dword [ebp - 0xc4], 1
jmp 0x10030462
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xffffffff
jb 0x10030476
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x14], ecx
jle 0x10030491
mov dword [ebp - 0x178], 1
jmp 0x10030498
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
je 0x10030740
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10019cac
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [eax]
mov dword [ebp + ecx - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x100304d6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1003073b
mov dword [ebp - 0x44], 0
jmp 0x100304f0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x10030506
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x228], 1
jmp 0x100304e9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov ecx, dword [ebp - 0x10]
mov edx, 0x3196e86f
sub edx, dword [ebp + ecx*4 - 0x14]
cmp dword [eax], edx
je 0x1003052d
mov dword [ebp - 0xcc], 1
jmp 0x10030534
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0xcc], eax
jl 0x1003054f
mov dword [ebp - 0xd4], 1
jmp 0x10030556
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0xd4], eax
jne 0x10030571
mov dword [ebp - 0xdc], 1
jmp 0x10030578
and dword [ebp - 0xdc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jge 0x10030599
mov dword [ebp - 0xe4], 1
jmp 0x100305a0
and dword [ebp - 0xe4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov ecx, dword [ebp - 0xe4]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x18]
jne 0x10030621
mov byte [ebp - 0x23], 0
push 1
push 0x401e
push 0x25cd
push 0xb03
push 0x6d10
push 0x7f49
push 0x3d8b
push 0x5592
lea eax, [ebp - 0x23]
push eax
call fcn.1002f6ce
add esp, 0x24
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1003061c
push 1
push 0x6585
push 0x1829
push 0x4b02
push 0x4dd2
push 0x6e8b
call fcn.1002f974
add esp, 0x18
jmp 0x10030736
mov dword [ebp - 0x18], 0
jmp 0x10030631
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1003070d
mov dword [ebp - 0x19c], 0xffffffff
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
call fcn.10019cac
mov dword [eax], 0xf551
mov eax, 0xf551
test eax, eax
jne 0x100306eb
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
je 0x100306c9
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x14], 7
test eax, eax
je 0x100306c9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
call fcn.10019cac
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x14], ecx
cmp dword [ebp - 0xec], 0
je 0x100306bf
mov eax, 0xa124
test eax, eax
jne 0x100306eb
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
jne 0x100306eb
cmp dword [ebp - 0x19c], 0
jne 0x100306eb
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
call fcn.10019cac
cmp dword [eax], 0
jne 0x100306eb
and dword [ebp - 0xf4], 0
jmp 0x100306f5
mov dword [ebp - 0xf4], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf4]
mov dword [ebp + eax - 0x228], ecx
jmp 0x1003062a
mov dword [ebp - 0x18], 0
jmp 0x1003071d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x10030736
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x224]
mov dword [ebp + ecx*4 - 0x14], eax
jmp 0x10030716
jmp 0x100304cf
jmp 0x10030834
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x1003081e
or eax, 0xffffffff
je 0x10030771
push 0
lea ecx, [ebp - 0x54]
call fcn.10019cac
cmp dword [eax], 0
je 0x10030771
mov dword [ebp - 0xfc], 1
jmp 0x10030778
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xfc]
xor ecx, ecx
sub ecx, eax
cmp ecx, 0x769bf4a3
jg 0x10030799
mov dword [ebp - 0x104], 1
jmp 0x100307a0
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x104], eax
jl 0x100307b7
mov dword [ebp - 0x10c], 1
jmp 0x100307be
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x10c], eax
jle 0x100307dc
mov dword [ebp - 0x114], 1
jmp 0x100307e3
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x114]
sub ecx, dword [ebp - 0x30]
imul eax, ecx
cmp eax, dword [ebp - 0x10]
jle 0x10030803
mov dword [ebp - 0x11c], 1
jmp 0x1003080a
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x11c], eax
jge 0x1003081e
and dword [ebp - 0x124], 0
jmp 0x10030828
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x180], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10019ca7
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x160], eax
push 2
lea ecx, [ebp - 0x204]
call fcn.10019c20
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], 0xffffffff
push 0x2050
push 0x1e92
push 1
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.1002fad0
add esp, 0x14
mov dword [ebp - 0x3c], 0
jmp 0x1003089e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x100308bd
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x100308bb
push 0x1cbf
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10030897
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10019ca7
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 3
je 0x100308e5
jmp 0x1003090f
mov eax, dword [ebp - 0x1a4]
add eax, dword [ebp - 0x160]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x164]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
jmp 0x10030124
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.1003313f
pop ecx
pop ecx
jmp 0x100309c8
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0
jne 0x100309b0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x18c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x98]
sub eax, dword [ecx]
jne 0x100309b0
and dword [ebp - 0xa0], 0
jmp 0x100309ba
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret