Function at 0x1001e4f9
Capabilities:
Allocate thread local storage
Get geographical location
Log keystrokes via polling
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xc0], 0
jmp 0x1001e522
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
jge 0x1001e53e
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0xc8], 1
jmp 0x1001e515
mov dword [ebp - 0x58], 0x16
jmp 0x1001e54e
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xb
jg 0x1001e61a
mov dword [ebp - 0x214], 0xfffffff7
mov dword [ebp - 0x254], 0xf82baef
mov dword [ebp - 0x78], 0
jmp 0x1001e57c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jge 0x1001e592
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x360], 0
jmp 0x1001e575
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xc8], 2
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x360]
mov dword [ebp - 0x2ec], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x308], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 0
jne 0x1001e5e7
cmp dword [ebp - 0x58], 0
jne 0x1001e5e7
and dword [ebp - 0x170], 0
jmp 0x1001e5f1
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x214], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
add eax, 0x7213ec75
mov dword [ebp - 0x254], eax
jmp 0x1001e547
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001e8e7
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0xb0], 0x9017ca4e
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x284], 0xeb2d
mov dword [ebp - 0x28c], 8
mov dword [ebp - 0x80], 0
jmp 0x1001e66c
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1001e682
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x27c], 0
jmp 0x1001e665
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0xb0], 0
jne 0x1001e6b5
mov dword [ebp - 0x188], 1
jmp 0x1001e6bc
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x188], eax
jg 0x1001e6d3
mov dword [ebp - 0x1cc], 1
jmp 0x1001e6da
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x1cc], eax
jg 0x1001e6f7
cmp dword [ebp - 0x48], 0
jne 0x1001e6f7
and dword [ebp - 0xf4], 0
jmp 0x1001e701
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x48]
jne 0x1001e718
mov dword [ebp - 0xd8], 1
jmp 0x1001e71f
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
mov dword [ebp + eax - 0x27c], ecx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xe4], eax
jg 0x1001e755
mov dword [ebp - 0x1d4], 1
jmp 0x1001e75c
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x284]
cmp dword [ebp - 0x1d4], eax
je 0x1001e776
mov dword [ebp - 0xfc], 1
jmp 0x1001e77d
and dword [ebp - 0xfc], 0
imul eax, dword [ebp - 0xfc], 0x50df
cmp eax, 0x8014
jle 0x1001e79a
mov dword [ebp - 0x1dc], 1
jmp 0x1001e7a1
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x1dc]
je 0x1001e7c1
cmp dword [ebp - 0xe4], 0
je 0x1001e7c1
mov dword [ebp - 0x104], 1
jmp 0x1001e7c8
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x104]
imul eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x6c]
jge 0x1001e7e6
mov dword [ebp - 0x1e4], 1
jmp 0x1001e7ed
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1e4]
jge 0x1001e804
mov dword [ebp - 0x1ec], 1
jmp 0x1001e80b
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
sub eax, 5
cmp eax, dword [ebp - 0x28c]
jge 0x1001e8a6
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x24c], 0xfffffffb
mov dword [ebp - 0x88], 0
jmp 0x1001e84d
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1001e869
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x310], 0xbe74
jmp 0x1001e840
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x310]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 1
jg 0x1001e891
mov dword [ebp - 0x1c8], 1
jmp 0x1001e898
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x24c], eax
jmp 0x1001e8bc
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1001e8bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
jmp 0x1001fccd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x10], 0x3152c58f
mov dword [ebp - 0x198], 3
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x1001e924
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1001e93a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd4], 0x6158d32f
jmp 0x1001e91d
mov dword [ebp - 0x14], 0
jmp 0x1001e94a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1001e960
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2e4], 0x58bdfadf
jmp 0x1001e943
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd4], 0
jne 0x1001e9c0
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0xd4]
cmp dword [ebp + eax - 0xd4], ecx
je 0x1001e996
mov dword [ebp - 0x190], 1
jmp 0x1001e99d
and dword [ebp - 0x190], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd4]
cmp dword [ebp - 0x190], eax
je 0x1001e9c0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xd4], 0
je 0x1001e9dc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2e4], 0
je 0x1001e9dc
mov dword [ebp - 0x120], 1
jmp 0x1001e9e3
and dword [ebp - 0x120], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd4]
mov dword [ebp - 0x10], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd4]
sub eax, dword [ebp - 0x120]
cmp dword [ebp - 0x10], eax
jge 0x1001ea15
mov dword [ebp - 0x1e8], 1
jmp 0x1001ea1c
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
add eax, 0x7533b484
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x10], 2
jmp 0x1001ea3d
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1001eb85
mov dword [ebp - 0x1a8], 0xd17017a6
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xd4]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2e4]
cmp dword [ebp - 0x128], eax
je 0x1001ea8b
mov dword [ebp - 0x130], 1
jmp 0x1001ea92
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x198]
cmp dword [ebp - 0x130], eax
jl 0x1001eaac
mov dword [ebp - 0x1d0], 1
jmp 0x1001eab3
and dword [ebp - 0x1d0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd4]
cmp dword [ebp - 0x1d0], eax
jl 0x1001ead3
mov dword [ebp - 0x138], 1
jmp 0x1001eada
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xd4]
cmp dword [ebp - 0x138], eax
jle 0x1001eaf8
mov dword [ebp - 0x1a0], 1
jmp 0x1001eaff
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xd4]
imul eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax*4 - 0xd4], ecx
mov eax, 0xa796d402
sub eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x1a8]
je 0x1001eb45
mov dword [ebp - 0x1fc], 1
jmp 0x1001eb4c
and dword [ebp - 0x1fc], 0
cmp dword [ebp - 0x1fc], 0x87d6364d
ja 0x1001eb6a
mov eax, 0xd232
test eax, eax
jne 0x1001eb6a
and dword [ebp - 0x148], 0
jmp 0x1001eb74
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1a8], eax
jmp 0x1001ea36
lea eax, [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0x56f9b2cf
mov dword [ebp - 0x288], 0xfffffff6
mov dword [ebp - 0xbc], 0
jmp 0x1001ebb8
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 1
jge 0x1001ebd1
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 8], 0xdde0bcd8
jmp 0x1001ebab
mov dword [ebp - 4], 0
jmp 0x1001ebe1
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1001ed0c
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x30], 0
jmp 0x1001ec02
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1001ed07
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 8]
mov dword [ebp - 0x2d0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
mov dword [ebp - 0x2f0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 8]
cmp dword [ebp + eax*4 - 8], ecx
jge 0x1001ec6b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0
je 0x1001ec6b
mov dword [ebp - 0x150], 1
jmp 0x1001ec72
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 1
jg 0x1001ec87
mov dword [ebp - 0x1d8], 1
jmp 0x1001ec8e
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0xe243
jne 0x1001eca6
mov dword [ebp - 0x158], 1
jmp 0x1001ecad
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x158]
cmp eax, 0xa7609fa8
jne 0x1001ecc9
mov dword [ebp - 0x1b0], 1
jmp 0x1001ecd0
and dword [ebp - 0x1b0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
cmp dword [ebp - 0x1b0], eax
jge 0x1001ecee
mov dword [ebp - 0x160], 1
jmp 0x1001ecf5
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x160]
mov dword [ebp + eax*4 - 8], ecx
jmp 0x1001ebfb
jmp 0x1001ebda
mov dword [ebp - 4], 0
jmp 0x1001ed1c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 7
jge 0x1001eeb4
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x1b8], 0xfffffff6
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x1f0], 7
mov dword [ebp - 0x228], 6
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 8], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x1001ed78
cmp dword [ebp - 4], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x1f0]
je 0x1001eda1
cmp dword [ebp - 4], 0
je 0x1001eda1
mov dword [ebp - 0x168], 1
jmp 0x1001eda8
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x168], eax
jle 0x1001edbf
mov dword [ebp - 0x274], 1
jmp 0x1001edc6
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x31c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0xe74
jne 0x1001edeb
mov dword [ebp - 0xe8], 1
jmp 0x1001edf2
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0xe8]
jg 0x1001ee1c
mov dword [ebp - 0x1e0], 1
jmp 0x1001ee23
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1e0]
je 0x1001ee3a
mov dword [ebp - 0x178], 1
jmp 0x1001ee41
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0xffffffff
jne 0x1001ee59
cmp dword [ebp - 4], 0
jne 0x1001ee59
and dword [ebp - 0x1c0], 0
jmp 0x1001ee63
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 4], 0xfffffffd
jb 0x1001ee87
mov eax, 0xfffa
test eax, eax
jne 0x1001ee87
and dword [ebp - 0x180], 0
jmp 0x1001ee91
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1001eeaf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1001ed15
lea eax, [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x90], 0
jmp 0x1001eed6
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x1001eef2
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x2c4], 8
jmp 0x1001eec9
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2c4], 0x17
jmp 0x1001ef20
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c4]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2c4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2c4], 0xffffffe9
je 0x1001efcc
mov dword [ebp - 0xb8], 0
jmp 0x1001ef4d
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1001ef69
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x208], 0xfffffff7
jmp 0x1001ef40
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x208], 0
jmp 0x1001ef97
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x208]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x208], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x208], 2
jge 0x1001efc7
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1001efc5
push 0xb11
push 0x1f8e
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x1001ef7c
jmp 0x1001ef05
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1001efe5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x20], 0x6b0f
mov dword [ebp - 0x304], 0xffffffff
mov dword [ebp - 0x270], 0xb6917ab6
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x98], 0
jmp 0x1001f02c
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jge 0x1001f048
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x370], 0
jmp 0x1001f01f
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0
jmp 0x1001f05f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1001f155
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2d8], 0x70f9e3d3
xor eax, eax
inc eax
je 0x1001f0bc
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x2ac], 0
je 0x1001f0bc
mov dword [ebp - 0x200], 1
jmp 0x1001f0c3
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
add eax, 8
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ebp + ecx*4 - 0x370]
jge 0x1001f0e4
mov dword [ebp - 0x108], 1
jmp 0x1001f0eb
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x108], eax
je 0x1001f102
mov dword [ebp - 0x10c], 1
jmp 0x1001f109
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10c]
mov dword [ebp + eax - 0x2ac], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x230]
cmp dword [ebp + eax - 0x2ac], ecx
jle 0x1001f13d
mov dword [ebp - 0x114], 1
jmp 0x1001f144
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x270], eax
jmp 0x1001f058
mov dword [ebp - 0xa0], 0xfffffff9
mov dword [ebp - 0x70], 0
jmp 0x1001f16f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1001f185
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x238], 0x949dfcf0
jmp 0x1001f168
mov dword [ebp - 0xa0], 0
jmp 0x1001f19e
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xfffffffb
je 0x1001f246
mov dword [ebp - 0xc4], 0x4182bd7b
mov dword [ebp - 0x280], 0
mov dword [ebp - 0xc4], 0
jmp 0x1001f1d8
mov eax, dword [ebp - 0xc4]
dec eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xfffffffa
jne 0x1001f241
mov dword [ebp - 0x60], 0xfef9d786
mov dword [ebp - 0x60], 0
jmp 0x1001f1f8
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1001f234
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1001f223
push 0x165
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 - 0x60]
cmp dword [ebp + eax*4 - 0x238], 0
je 0x1001f232
jmp 0x1001f234
jmp 0x1001f1f1
cmp dword [ebp - 0x280], 0
je 0x1001f23f
jmp 0x1001f1cb
jmp 0x1001f1cb
jmp 0x1001f191
mov dword [ebp - 0xa8], 0
jmp 0x1001f25f
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 3
jge 0x1001f27b
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x2b8], 8
jmp 0x1001f252
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2b8], 0x17
jmp 0x1001f2a9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b8]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2b8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2b8], 0xffffffe9
je 0x1001f69a
mov dword [ebp - 0x240], 3
mov dword [ebp - 0x11c], 0xe08cccdd
mov dword [ebp - 0x18], 0
jmp 0x1001f2e1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1001f2f7
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x328], 0x52cb1363
jmp 0x1001f2da
mov dword [ebp - 0x18], 0
jmp 0x1001f307
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1001f31d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x37c], 0xc4530722
jmp 0x1001f300
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x240]
mov dword [ebp + eax - 0x328], ecx
mov eax, dword [ebp - 0x11c]
dec eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x50], 0x622ba394
mov dword [ebp - 0x4c], 0x8e92eda8
mov dword [ebp - 0x74], 0
jmp 0x1001f35a
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x1001f370
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x2cc], 1
jmp 0x1001f353
mov dword [ebp - 0x50], 1
jmp 0x1001f380
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1001f51d
mov dword [ebp - 0x124], 6
mov dword [ebp - 0x7c], 0
jmp 0x1001f3a4
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1001f3ba
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x1f8], 1
jmp 0x1001f39d
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x1f8], 0
jmp 0x1001f3e8
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1f8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1f8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1f8], 1
jg 0x1001f4ee
mov dword [ebp - 0x38], 0xd49f
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x2cc]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xfffa
jae 0x1001f42c
mov dword [ebp - 0x134], 1
jmp 0x1001f433
and dword [ebp - 0x134], 0
mov dword [ebp - 0x38], 0x1509cf13
cmp dword [ebp - 0x38], 0
jne 0x1001f44f
cmp dword [ebp - 0x38], 0
jne 0x1001f44f
and dword [ebp - 0x12c], 0
jmp 0x1001f459
mov dword [ebp - 0x12c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f8]
cmp dword [ebp - 0x12c], eax
jg 0x1001f47a
mov dword [ebp - 0x13c], 1
jmp 0x1001f481
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x13c]
jle 0x1001f49b
mov dword [ebp - 0x144], 1
jmp 0x1001f4a2
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], 0
jmp 0x1001f4bb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x1001f4e9
mov dword [ebp - 0x4c], 0
jmp 0x1001f4d1
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1001f4e7
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x2cc], 0xfffffffc
jmp 0x1001f4ca
jmp 0x1001f4b4
jmp 0x1001f3cd
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1001f518
push 0x37d
push 0x1e49
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x1001f379
mov dword [ebp - 0x84], 0
jmp 0x1001f536
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x1001f552
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x210], 0xfffffff7
jmp 0x1001f529
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x248], 0x3bc6e5c7
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1001f581
push 0xcab
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x8c], 0xfffffff9
jmp 0x1001f59a
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xffffffff
jle 0x1001f5bb
mov dword [ebp - 0x278], 0xffffffff
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x248], eax
jmp 0x1001f58d
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x210], 0
jmp 0x1001f5e9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x210]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x210], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x210], 2
jge 0x1001f695
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x94], 0xffffffed
jmp 0x1001f620
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x17
je 0x1001f653
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1001f63d
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1001f651
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1001f613
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1001f670
push 0x1682
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1001f690
push 0x4334
push 0
push 0x2615
call fcn.10022609
add esp, 0xc
jmp 0x1001f5ce
jmp 0x1001f28e
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1001f6bf
push 0x2d89
push 0
push 0x2d0b
push 0x7b8a
call fcn.1001fcd1
add esp, 0x10
mov dword [ebp - 0x40], 0x6b0f
mov dword [ebp - 0x2f8], 0xffffffff
mov dword [ebp - 0x250], 0xb6917ab6
mov dword [ebp - 0x258], 0xffffffff
mov dword [ebp - 0x9c], 0
jmp 0x1001f6fd
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jge 0x1001f719
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x350], 0
jmp 0x1001f6f0
push 0
push 0x6026
lea eax, [ebp - 0x40]
push eax
call fcn.10023a45
add esp, 0xc
mov dword [ebp - 0x40], 0
jmp 0x1001f73c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jg 0x1001f832
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2e8], 0x70f9e3d3
xor eax, eax
inc eax
je 0x1001f799
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x29c], 0
je 0x1001f799
mov dword [ebp - 0x14c], 1
jmp 0x1001f7a0
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
add eax, 8
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ebp + ecx*4 - 0x350]
jge 0x1001f7c1
mov dword [ebp - 0x154], 1
jmp 0x1001f7c8
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x154], eax
je 0x1001f7df
mov dword [ebp - 0x15c], 1
jmp 0x1001f7e6
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0x29c], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x258]
cmp dword [ebp + eax - 0x29c], ecx
jle 0x1001f81a
mov dword [ebp - 0x164], 1
jmp 0x1001f821
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x250], eax
jmp 0x1001f735
mov dword [ebp - 0x54], 0xaeef20fe
mov dword [ebp - 0xa4], 0
jmp 0x1001f852
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 3
jge 0x1001f86e
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x334], 0x177e
jmp 0x1001f845
mov dword [ebp - 0x54], 2
jmp 0x1001f87e
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1001f8a0
mov dword [ebp - 0x26c], 0xcb36
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp + eax*4 - 0x334], ecx
jmp 0x1001f877
mov eax, dword [ebp - 0x218]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x10077844]
mov ecx, dword [ebp - 0x224]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xdc]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0xac], 0xd07ddbf4
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x17c], 3
mov dword [ebp - 0x1ac], 0xc1477a14
mov dword [ebp - 0x234], 0xc298c245
mov dword [ebp - 0x1c], 0
jmp 0x1001f90f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1001f922
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xc], 0x477862f
jmp 0x1001f908
mov dword [ebp - 0x1c], 0
jmp 0x1001f932
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1001f948
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x268], 0x96960f57
jmp 0x1001f92b
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x268], 0
jmp 0x1001f976
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x268], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x268], 1
jge 0x1001f99d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
mov dword [ebp + eax*4 - 0xc], 0xfffffffe
jmp 0x1001f95b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
mov dword [ebp - 0x16c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x16c]
mov dword [ebp + eax - 0x268], ecx
cmp dword [ebp - 0x16c], 0
jne 0x1001f9d8
mov dword [ebp - 0xec], 1
jmp 0x1001f9df
and dword [ebp - 0xec], 0
mov dword [ebp - 0xac], 0xffffffff
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1b4], eax
imul eax, dword [ebp - 0xac], 0x813c
sub eax, 0xf355
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc]
jne 0x1001fa1c
mov dword [ebp - 0x22c], 1
jmp 0x1001fa23
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0x300], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0xffffffff
je 0x1001fa4c
mov dword [ebp - 0x174], 1
jmp 0x1001fa53
and dword [ebp - 0x174], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
imul eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x1001fa7f
mov dword [ebp - 0x184], 1
jmp 0x1001fa86
and dword [ebp - 0x184], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x184], eax
jl 0x1001faa4
mov dword [ebp - 0x18c], 1
jmp 0x1001faab
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x18c], eax
jg 0x1001fac9
mov dword [ebp - 0x194], 1
jmp 0x1001fad0
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x194], eax
jge 0x1001faee
mov dword [ebp - 0x19c], 1
jmp 0x1001faf5
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 0x4c638299
jl 0x1001fb0d
mov dword [ebp - 0x1a4], 1
jmp 0x1001fb14
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
dec eax
mov dword [ebp - 0x1ac], eax
jne 0x1001fb37
cmp dword [ebp - 0x1b4], 0
jne 0x1001fb37
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
cmp dword [ebp - 0xac], 0
jne 0x1001fb4c
mov dword [ebp - 0x1bc], 1
jmp 0x1001fb53
and dword [ebp - 0x1bc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x1bc], eax
jle 0x1001fb71
mov dword [ebp - 0x1c4], 1
jmp 0x1001fb78
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0xeb66
jle 0x1001fb90
mov dword [ebp - 0xf0], 1
jmp 0x1001fb97
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xf0]
jl 0x1001fbb1
mov dword [ebp - 0xf8], 1
jmp 0x1001fbb8
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
add eax, dword [ebp - 0xf8]
jne 0x1001fbdc
mov eax, 0xe2ff5ff7
test eax, eax
jne 0x1001fbdc
and dword [ebp - 0x100], 0
jmp 0x1001fbe6
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x5c], 0xaeef20fe
mov dword [ebp - 0xb4], 0
jmp 0x1001fc12
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x1001fc2e
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x340], 0x177e
jmp 0x1001fc05
mov dword [ebp - 0x5c], 2
jmp 0x1001fc3e
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1001fc60
mov dword [ebp - 0x23c], 0xcb36
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x23c]
mov dword [ebp + eax*4 - 0x340], ecx
jmp 0x1001fc37
mov dword [ebp - 0x64], 0xfffffffb
mov dword [ebp - 0x64], 0xffffffea
jmp 0x1001fc77
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffe3
jg 0x1001fca8
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1001fc9e
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp dword [ebp - 0x64], 0
je 0x1001fca6
jmp 0x1001fca8
jmp 0x1001fc70
mov eax, dword [ebp - 0x244]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1001fccd
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret