Function at 0x1001a388
Capabilities:
Get session user name
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x14], 0xf07c70ab
mov dword [ebp - 0xc], 0xb5411457
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
push esi
mov byte [ebp - 5], al
push edi
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], ecx
cmp byte [ebp - 5], al
je 0x1001a3dc
push eax
call ebx
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov esi, dword [ebp - 4]
imul esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
push 2
neg esi
neg esi
sbb esi, esi
xor edx, edx
neg esi
cmp ecx, eax
setl dl
mov dword [ebp - 0x14], edx
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setne dl
sub edx, dword [ebp - 0xc]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp esi, eax
pop esi
setge cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
cmp dword [ebp - 4], ecx
je 0x1001a4b4
mov dword [ebp - 0x24], 0x93f0
mov dword [ebp - 4], eax
jmp 0x1001a45b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x68], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a44d
cmp dword [ebp - 0x68], 0
jne 0x1001a469
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov ecx, dword [ebp - 0xc]
setne dl
sub ecx, 0x6add
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp edx, ecx
setl al
imul eax, dword [ebp - 0x14]
test eax, eax
je 0x1001a4a2
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], 0x395cc9e5
jmp 0x1001a4df
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], al
je 0x1001a4ca
push edx
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a4e1
push edx
push 0x27d
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
xor edx, edx
mov dword [ebp - 0x18], 0x5c8094a1
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], edx
jmp 0x1001a505
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd8], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001a4f4
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a527
push 0x17e8
call ebx
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
xor edx, edx
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
mov dword [ebp - 0x24], 0x3638ecf5
inc ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0xfffffff9
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x1c], 0x8987f2fb
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x1c], 0xa3dbc56e
mov dword [ebp - 0x1c], 0x5251c607
mov dword [ebp - 0x1c], 0xa83d87e3
mov dword [ebp - 0x1c], ecx
push 3
mov dword [ebp - 0x18], 0x433a
mov dword [ebp - 0xc], edx
pop edi
jmp 0x1001a598
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xf4], 0x313dd33a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x1001a587
mov dword [ebp - 0xc], edx
jmp 0x1001a5b3
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xc0], 0x51efdb7b
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1001a5a2
mov dword [ebp - 0x14], edx
jmp 0x1001a61c
mov dword [ebp - 0x1c], 0xdae8c9f3
mov dword [ebp - 0x1c], 0x735e4b78
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], 0xeeda5852
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x1c], 0xa5dec4f3
mov dword [ebp - 0x1c], 0x6c382506
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 4], edx
jmp 0x1001a611
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x98], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001a600
dec dword [ebp - 0x18]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x1001a5bd
mov dword [ebp - 4], edx
jmp 0x1001a637
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x8c], 0xf9b3
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a626
mov dword [ebp - 0x18], ecx
push 0xfffffffffffffff6
pop edi
cmp dword [ebp - 0x18], edx
jl 0x1001a8e7
mov dword [ebp - 0x14], 0xb0ceafd9
mov dword [ebp - 0x10], 0xfe0a8eac
mov dword [ebp - 4], edx
jmp 0x1001a66b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x84], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001a65e
mov dword [ebp - 0x10], 0x15
jmp 0x1001a691
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a68e
push edx
call ebx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
xor edx, edx
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe3
jge 0x1001a679
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setle dl
xor ecx, ecx
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
neg edx
cmp edx, eax
mov eax, dword [ebp - 0x10]
setge cl
xor edx, edx
cmp ecx, 1
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x84]
setne bl
xor ecx, ecx
cmp ebx, eax
mov eax, 0x9753589f
setne cl
cmp eax, ecx
sbb eax, eax
xor edx, edx
neg eax
neg eax
je 0x1001a709
mov dword [ebp - 4], edx
jmp 0x1001a6fc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x94], 0x91b4
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a6eb
dec dword [ebp - 0x90]
jmp 0x1001a70f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], edx
jl 0x1001a8d8
cmp dword [ebp - 0x18], edx
je 0x1001a72d
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x8c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x8c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0xc], edi
mov dword [ebp - 0xc], edx
jmp 0x1001a763
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x58], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a755
mov dword [ebp - 0xc], edx
jmp 0x1001a77b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], 0x11d7feae
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a76d
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp ecx, 1
sbb edx, edx
xor ecx, ecx
add edx, 0x19f23e53
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setg dl
xor ecx, ecx
sub edx, 0x716b
cmp edx, eax
mov eax, dword [ebp - 0x10]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setge dl
xor ebx, ebx
cmp edx, eax
setle bl
xor ecx, ecx
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x10]
cmp ebx, eax
mov eax, dword [ebp - 0x40]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setne dl
xor ecx, ecx
cmp edx, eax
setne cl
xor ebx, ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x10], 0x14
cmp dword [ebp - 0x10], 0xd
je 0x1001a8c2
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], 5
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], ebx
jl 0x1001a8b5
mov dword [ebp - 4], 0x5243b9c3
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], ebx
jl 0x1001a8a7
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x58], ebx
je 0x1001a870
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
jmp 0x1001a872
mov ecx, ebx
mov eax, dword [ebp - 0x54]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x54]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
push 1
setg dl
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0x30]
imul ecx, edx
xor edx, edx
cmp ecx, eax
pop ecx
setg dl
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], edx
dec dword [ebp - 4]
jns 0x1001a84a
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x40], ebx
jne 0x1001a8b5
dec dword [ebp - 0xc]
jns 0x1001a838
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xd
jne 0x1001a829
push ebx
call fcn.1001b07e
dec dword [ebp - 0x14]
pop ecx
push 0
pop edx
push 1
pop ecx
jns 0x1001a71e
dec dword [ebp - 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
jns 0x1001a64b
mov edi, dword [ebp - 0x34]
cmp dword [edi + 0x10], edx
jne 0x1001a8f6
xor al, al
jmp 0x1001afa7
mov dword [ebp - 4], edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a90c
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor edx, edx
mov dword [ebp - 4], 0xf
jmp 0x1001a935
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a932
push edx
push 0x10dc
push 0x9e1
push edx
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
xor edx, edx
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffc
jl 0x1001a915
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], edx
jmp 0x1001a958
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x50], 0xc6a53d06
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001a94a
mov dword [ebp - 0xc], edx
jmp 0x1001a971
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x80], 0x3629aa81
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a963
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a988
push edx
call fcn.1001c527
pop ecx
xor edx, edx
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], edx
jl 0x1001aacd
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 4], edx
jmp 0x1001a9b1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x104], 0x5732aa6
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x1001a9a0
push 0x2a47
push 0x450d
push 0x7d24
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x7c], 0xfffffff7
push eax
call fcn.10023124
add esp, 0x14
xor edx, edx
mov dword [ebp - 0x20], edx
jmp 0x1001aabb
mov dword [ebp - 4], 0x28a0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 0xffffffff
push eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x1c], 0x8711
mov dword [ebp - 0x1c], 0xaa8e55a4
push edx
call fcn.1001c6ac
mov dword [ebp - 4], esi
xor edx, edx
pop ecx
pop ecx
cmp dword [ebp - 4], edx
jl 0x1001aab8
mov dword [ebp - 0x18], 0x592404e5
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x50], edx
jne 0x1001aab8
mov dword [ebp - 0x28], edx
jmp 0x1001aaaa
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x50], edx
jne 0x1001aaaf
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0x4b83
mov eax, dword [ebp - 0x20]
setl dl
mov eax, dword [ebp + eax*4 - 0x50]
cmp eax, edx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sete cl
imul ecx, ecx, 0x3644
mov eax, dword [ebp + eax*4 - 0x50]
add edx, ecx
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setne cl
mov eax, dword [ebp + eax*4 - 0x50]
lea edx, [ecx + 1]
xor ecx, ecx
cmp eax, edx
setl cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x7c], edx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], esi
jle 0x1001aa3a
dec dword [ebp - 4]
jns 0x1001aa21
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jle 0x1001a9e4
dec dword [ebp - 0x14]
jns 0x1001a994
mov ebx, dword [ebp - 0x44]
mov dword [ebx], edx
mov dword [ebp - 0xc], 0x2e91a049
mov dword [ebp - 4], 0xfffffffb
mov dword [ebp - 0x14], 0x7642
mov dword [ebp - 0x1c], 0x4279
mov dword [ebp - 0x30], 0xe785c2f4
mov dword [ebp - 4], 0x8ef5
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001ab14
push 0x25cc
push edx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor edx, edx
mov dword [ebp - 0xc], 0xffffffec
cmp dword [ebp - 0xc], 0x19
jle 0x1001ac19
push 0xfffffffffffffff6
pop edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0x617c0ec0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x24], 0x7ea1
mov dword [ebp - 0x18], 0xdb956746
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x1001ab70
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x30], edx
jne 0x1001ac16
jmp 0x1001ac09
mov dword [ebp - 0x18], 0x94951162
mov dword [ebp - 4], edx
jmp 0x1001ab8d
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xe8], 1
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x1001ab7c
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0x18]
cmp eax, 1
setge cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
sub eax, edx
xor edx, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp eax, ecx
setl dl
imul edx, dword [ebp - 0x18]
cmp edi, edx
sbb eax, eax
xor edx, edx
inc eax
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x24]
jne 0x1001abdf
cmp dword [ebp - 0x1c], edx
je 0x1001abdf
xor eax, eax
inc eax
jmp 0x1001abe1
mov eax, edx
mov ecx, dword [ebp - 0xc]
imul ecx, eax
mov eax, 0xc197
sub eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x19
jg 0x1001ab28
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0xc
jne 0x1001ad24
push 0xfffffffffffffff6
mov eax, 0x703026d8
pop edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], 0x65969a22
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edx
jmp 0x1001ac60
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb4], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001ac53
mov dword [ebp - 0xc], edx
jmp 0x1001ac7b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xcc], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001ac6a
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
je 0x1001acb0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jge 0x1001acb0
cmp dword [ebp - 0x6c], edx
je 0x1001aca6
cmp dword [ebp - 0x10], edx
je 0x1001aca6
xor eax, eax
inc eax
jmp 0x1001aca8
mov eax, edx
cmp eax, dword [ebp - 4]
je 0x1001acb0
xor edx, edx
inc edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x74]
push 0
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x74]
setl dl
xor ecx, ecx
cmp edx, eax
sete cl
xor ebx, ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x78]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setge bl
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, 0xffff
pop edx
setle cl
cmp eax, ecx
sbb eax, eax
neg eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xcc], eax
mov eax, 0x703026d8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
je 0x1001ac38
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x44]
cmp dword [edi + 0x14], 0x10
jb 0x1001ad2e
mov esi, dword [edi]
jmp 0x1001ad30
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x1001ad3a
mov ecx, dword [edi]
jmp 0x1001ad3c
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x1001ae85
xor ecx, ecx
mov dword [ebp - 0xc], edx
inc ecx
jmp 0x1001ad5f
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x38], 0x17571177
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1001ad51
mov dword [ebp - 0xc], edx
jmp 0x1001ad7a
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x9c], 0x1dbe
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1001ad69
mov dword [ebp - 0x38], 0xffffffeb
jmp 0x1001adb0
mov dword [ebp - 4], ecx
mov dword [ebp - 4], edx
cmp dword [ebp - 4], edx
jl 0x1001adad
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001ada5
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor edx, edx
dec dword [ebp - 4]
jns 0x1001ad93
xor ecx, ecx
inc ecx
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 5
je 0x1001ad88
mov al, byte [esi]
cmp al, 0x30
jl 0x1001add3
cmp al, 0x39
jg 0x1001add3
imul ecx, dword [ebx], 0xa
movsx eax, al
add eax, 0xffffffd0
add eax, ecx
inc esi
mov dword [ebx], eax
jmp 0x1001ad30
mov dword [ebx], edx
xor ecx, ecx
mov dword [ebp - 0x14], 0xb02971c1
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
setge cl
cmp dword [ebp - 0x14], ecx
jl 0x1001ae23
push 0x7aac
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], dl
push eax
push edx
call fcn.1001c448
mov byte [ebp - 5], 0
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x1001a8ef
push 0
call fcn.1001afec
pop ecx
jmp 0x1001a8ef
push 2
mov dword [ebp - 0x34], 0x5cc25bfc
mov dword [ebp - 4], edx
pop ecx
jmp 0x1001ae43
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xbc], 0x8dee
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001ae32
mov dword [ebp - 0x14], 0xfffffff8
jmp 0x1001ae7a
mov eax, dword [ebp - 0x34]
dec dword [ebp - 0x34]
mov dword [ebp - 4], ecx
mov dword [ebp - 4], 1
cmp dword [ebp - 4], edx
jl 0x1001ae77
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xbc], edx
jne 0x1001ae77
dec dword [ebp - 4]
jns 0x1001ae66
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe5
jle 0x1001ae51
jmp 0x1001a8ef
push 5
pop eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0xe5ccc90a
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jg 0x1001aec9
push edx
push 0x34fd
call fcn.1001c778
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
pop ecx
pop ecx
push 0
pop edx
jle 0x1001aeb0
push 0xfffffffffffffff6
pop eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
push 2
mov dword [ebp - 0xc], 0x8dee21af
mov dword [ebp - 4], edx
pop ecx
jmp 0x1001aeeb
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x60], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001aee1
inc dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
cmp eax, 0xffff5079
setl cl
xor edx, edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setge cl
xor edx, edx
cmp ecx, 0xffffffff
setle dl
add eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, edx
setg cl
cmp ecx, 0xeae21516
sbb eax, eax
add eax, 0x8cd5255f
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x60]
jge 0x1001af60
xor eax, eax
cmp dword [ebp - 0xc], eax
je 0x1001af62
mov byte [ebp - 5], al
cmp byte [ebp - 5], al
je 0x1001afa5
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x1001afa5
xor eax, eax
mov dword [ebp - 0x1c], 0x3e1b
mov dword [ebp - 0xc], eax
jmp 0x1001af9f
mov dword [ebp - 0x14], eax
jmp 0x1001af79
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jne 0x1001af73
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x1001af9c
push 0x116a
push eax
push 0x1a13
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
xor eax, eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2e
jg 0x1001af6e
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret