Function at 0x10029be0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cba1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002aff2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x3c], 0xe2db58e4
cmp dword [ebp - 0x3c], 0
je 0x10029c4c
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10029c4a
push 0
push 0x20f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
jmp 0x10029c5f
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], 0
jmp 0x10029c6f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x16
jne 0x10029c8e
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10029c8c
push 0xf6
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x10029c68
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x1c], 0x76820624
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x68], 0
jmp 0x10029cb5
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10029cc8
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x64], 2
jmp 0x10029cae
mov dword [ebp - 0x1c], 0
jmp 0x10029cd8
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffffd
je 0x1002a3fb
mov dword [ebp - 0x28], 0x79c4185a
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x98], 0
jmp 0x10029d13
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jge 0x10029d2c
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x74], 0xfffffffd
jmp 0x10029d06
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jl 0x10029d40
mov dword [ebp - 0x21c], 1
jmp 0x10029d47
and dword [ebp - 0x21c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
add eax, dword [ebp - 0x21c]
cmp eax, 0x9532955f
jne 0x10029d6a
mov dword [ebp - 0x2b0], 1
jmp 0x10029d71
and dword [ebp - 0x2b0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0xffffffff
je 0x10029d8a
mov dword [ebp - 0x260], 1
jmp 0x10029d91
and dword [ebp - 0x260], 0
cmp dword [ebp - 0x260], 0xbf0a
jge 0x10029da9
mov dword [ebp - 0x2b8], 1
jmp 0x10029db0
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x384], eax
imul eax, dword [ebp - 0x1c], 0xb300
cmp eax, dword [ebp - 0x1c]
jle 0x10029dd1
mov dword [ebp - 0x268], 1
jmp 0x10029dd8
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x268]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x74]
jl 0x10029dfa
mov dword [ebp - 0x270], 1
jmp 0x10029e01
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x7c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp eax, dword [ebp - 0x7c]
jg 0x10029e25
mov dword [ebp - 0x278], 1
jmp 0x10029e2c
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x278]
cmp eax, dword [ebp - 0x1c]
jg 0x10029e47
mov dword [ebp - 0xe8], 1
jmp 0x10029e4e
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
dec eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xd0], eax
jne 0x10029e72
mov dword [ebp - 0x1c0], 1
jmp 0x10029e79
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x14], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x14], eax
jne 0x10029ea1
mov dword [ebp - 0xf0], 1
jmp 0x10029ea8
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xe26a25a9
jbe 0x10029ec0
mov dword [ebp - 0x2c0], 1
jmp 0x10029ec7
and dword [ebp - 0x2c0], 0
mov eax, 0x93cb
test eax, eax
je 0x10029edc
mov dword [ebp - 0x2c8], 1
jmp 0x10029ee3
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x380], eax
xor eax, eax
add eax, 0xfffb
cmp dword [ebp - 0x28], eax
jl 0x10029f04
mov dword [ebp - 0x1c8], 1
jmp 0x10029f0b
and dword [ebp - 0x1c8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x1c8], eax
jge 0x10029f29
mov dword [ebp - 0xf8], 1
jmp 0x10029f30
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
je 0x10029f4a
mov dword [ebp - 0x1d0], 1
jmp 0x10029f51
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1d0]
jge 0x10029f68
mov dword [ebp - 0x100], 1
jmp 0x10029f6f
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
dec eax
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x74]
jle 0x10029f8e
mov dword [ebp - 0x1d8], 1
jmp 0x10029f95
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
add eax, 0xe341
je 0x1002a333
mov dword [ebp - 0x34], 0x774d2ad0
push 2
lea ecx, [ebp - 0x30c]
call fcn.100191fb
and dword [ebp - 4], 0
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x2d0], 1
mov dword [ebp - 0x2e8], 0x22f105ee
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x94], 0
jmp 0x10029fff
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x1002a021
push dword [ebp - 0x94]
lea ecx, [ebp - 0x30c]
call fcn.10019299
mov dword [eax], 0xeff85a04
jmp 0x10029ff2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x34], 0
je 0x1002a143
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x34], 0
jne 0x1002a09f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3b4], eax
mov eax, 0x9b6af4a9
cmp eax, 0xf548f9f0
jne 0x1002a064
mov dword [ebp - 0xcc], 1
jmp 0x1002a06b
and dword [ebp - 0xcc], 0
push 1
lea ecx, [ebp - 0x30c]
call fcn.10019299
mov ecx, dword [ebp - 0xcc]
mov dword [eax], ecx
cmp dword [ebp - 0xcc], 0
jne 0x1002a09f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0
jne 0x1002a09f
and dword [ebp - 0x108], 0
jmp 0x1002a0a9
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x108], eax
jle 0x1002a0c0
mov dword [ebp - 0x1e0], 1
jmp 0x1002a0c7
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1e0], eax
jl 0x1002a0de
mov dword [ebp - 0x110], 1
jmp 0x1002a0e5
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
dec eax
cmp eax, dword [ebp - 0x34]
jle 0x1002a0fd
mov dword [ebp - 0x1e8], 1
jmp 0x1002a104
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1e8], eax
jg 0x1002a11b
mov dword [ebp - 0x118], 1
jmp 0x1002a122
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x2d0], 0
je 0x1002a143
mov dword [ebp - 0x1f0], 1
jmp 0x1002a14a
and dword [ebp - 0x1f0], 0
imul eax, dword [ebp - 0x1f0], 0x5755
imul eax, dword [ebp - 0x14]
inc eax
inc eax
cmp eax, 0xdaf140b3
jbe 0x1002a16d
mov dword [ebp - 0x120], 1
jmp 0x1002a174
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x14], 0
jne 0x1002a2c6
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x1002a1a3
cmp dword [ebp - 0x1c], 0
je 0x1002a1a3
mov dword [ebp - 0x2a8], 1
jmp 0x1002a1aa
and dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x1c], 0xd9d0
je 0x1002a1bf
mov dword [ebp - 0x1f8], 1
jmp 0x1002a1c6
and dword [ebp - 0x1f8], 0
push 1
lea ecx, [ebp - 0x30c]
call fcn.10019299
mov ecx, dword [ebp - 0x1f8]
sub ecx, dword [eax]
cmp ecx, 1
jne 0x1002a1ec
mov dword [ebp - 0x128], 1
jmp 0x1002a1f3
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x128], eax
jl 0x1002a20a
mov dword [ebp - 0x200], 1
jmp 0x1002a211
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x130], eax
jg 0x1002a234
mov dword [ebp - 0x208], 1
jmp 0x1002a23b
and dword [ebp - 0x208], 0
xor eax, eax
sub eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x14]
jl 0x1002a254
mov dword [ebp - 0x138], 1
jmp 0x1002a25b
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x138], eax
jle 0x1002a272
mov dword [ebp - 0x210], 1
jmp 0x1002a279
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0
jl 0x1002a28e
mov dword [ebp - 0x2a4], 1
jmp 0x1002a295
and dword [ebp - 0x2a4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x7c], 0
je 0x1002a2bd
mov eax, 0xe65a1b20
test eax, eax
je 0x1002a2bd
cmp dword [ebp - 0x140], 0
jne 0x1002a2c6
and dword [ebp - 0x218], 0
jmp 0x1002a2d0
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x218], eax
jle 0x1002a2e7
mov dword [ebp - 0x148], 1
jmp 0x1002a2ee
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x22ff
jg 0x1002a30c
cmp dword [ebp - 0x28], 0
je 0x1002a30c
mov dword [ebp - 0x220], 1
jmp 0x1002a313
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xd0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30c]
call fcn.1001927d
jmp 0x1002a3f6
mov dword [ebp - 0x2f4], 0x870af1aa
mov dword [ebp - 0x338], 0xd5a9c18a
mov dword [ebp - 0x334], 0xd5a9c18a
mov dword [ebp - 0x330], 0xd5a9c18a
mov dword [ebp - 0x32c], 0xd5a9c18a
lea ecx, [ebp - 0xb9]
call fcn.100090c3
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.100192a8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3b0]
call fcn.10019257
mov dword [ebp - 4], 1
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002a3d2
push 0xd4
push 0
push 0x15f3
push 0x251b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov esi, dword [ebp - 0x2f4]
push 0
lea ecx, [ebp - 0x3b0]
call fcn.10019299
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b0]
call fcn.1001927d
jmp 0x10029cd1
mov dword [ebp - 0x14], 0
jmp 0x1002a40b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002a5e6
mov dword [ebp - 0x238], 0xfcb6e431
mov dword [ebp - 0x178], 0x73e414ce
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x64], 0
jne 0x1002a568
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3b8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0x6da1
jl 0x1002a45c
mov dword [ebp - 0x150], 1
jmp 0x1002a463
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0
jne 0x1002a478
mov dword [ebp - 0x228], 1
jmp 0x1002a47f
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x1c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
add eax, dword [ebp - 0x228]
cmp dword [ebp - 0x1c], eax
jle 0x1002a4aa
mov dword [ebp - 0x158], 1
jmp 0x1002a4b1
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x158], eax
jle 0x1002a4cc
mov dword [ebp - 0x230], 1
jmp 0x1002a4d3
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x230], eax
jle 0x1002a4ee
mov dword [ebp - 0x160], 1
jmp 0x1002a4f5
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
sub eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jg 0x1002a520
mov dword [ebp - 0x168], 1
jmp 0x1002a527
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x168], eax
jg 0x1002a53e
mov dword [ebp - 0x2ac], 1
jmp 0x1002a545
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x374], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
jne 0x1002a568
and dword [ebp - 0x240], 0
jmp 0x1002a572
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x240], 0x5bf18921
jne 0x1002a591
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x64], 0
jne 0x1002a591
and dword [ebp - 0x170], 0
jmp 0x1002a59b
mov dword [ebp - 0x170], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x170], eax
jg 0x1002a5c2
mov eax, 0x2ff3
test eax, eax
je 0x1002a5c2
mov dword [ebp - 0x248], 1
jmp 0x1002a5c9
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1c], eax
jmp 0x1002a404
mov dword [ebp - 0x44], 7
mov dword [ebp - 0xb0], 0xda8ed40a
push 2
lea ecx, [ebp - 0x284]
call fcn.100191fb
mov dword [ebp - 4], 2
mov dword [ebp - 0x300], 7
mov dword [ebp - 0x294], 0xf213ed4
mov dword [ebp - 0x290], 0xf213ed4
mov dword [ebp - 0x28c], 0xf213ed4
mov dword [ebp - 0x288], 0xf213ed4
push 4
lea ecx, [ebp - 0x35c]
call fcn.100191fb
mov byte [ebp - 4], 3
push 3
lea ecx, [ebp - 0x350]
call fcn.100191fb
mov byte [ebp - 4], 4
mov dword [ebp - 0xd4], 0x75d1b300
mov dword [ebp - 0x10], 0
jmp 0x1002a679
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002a68f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xdc], 0x44cf
jmp 0x1002a672
mov dword [ebp - 0x10], 0
jmp 0x1002a69f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002a6bb
push dword [ebp - 0x10]
lea ecx, [ebp - 0x284]
call fcn.10019299
mov dword [eax], 0xfffffff6
jmp 0x1002a698
mov dword [ebp - 0x10], 0
jmp 0x1002a6cb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002a6e1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x20c], 0x255d5800
jmp 0x1002a6c4
mov dword [ebp - 0x10], 0
jmp 0x1002a6f1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1002a70d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x35c]
call fcn.10019299
mov dword [eax], 0x212aeaf
jmp 0x1002a6ea
mov dword [ebp - 0x10], 0
jmp 0x1002a71d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002a739
push dword [ebp - 0x10]
lea ecx, [ebp - 0x350]
call fcn.10019299
mov dword [eax], 1
jmp 0x1002a716
mov eax, 0xa6c9cd49
test eax, eax
je 0x1002a75e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xdc], 0
je 0x1002a75e
mov dword [ebp - 0x250], 1
jmp 0x1002a765
and dword [ebp - 0x250], 0
mov eax, 0xe012d2c8
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x250]
jge 0x1002a781
mov dword [ebp - 0x184], 1
jmp 0x1002a788
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x44], 0xfffffff9
jb 0x1002a79a
mov dword [ebp - 0x258], 1
jmp 0x1002a7a1
and dword [ebp - 0x258], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x258], eax
jl 0x1002a7c2
mov dword [ebp - 0x9c], 1
jmp 0x1002a7c9
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xb0], eax
push 1
lea ecx, [ebp - 0x284]
call fcn.10019299
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
sub eax, 3
cmp dword [ebp - 0xb0], eax
jl 0x1002a807
mov dword [ebp - 0x204], 1
jmp 0x1002a80e
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x44]
cmp eax, 0x164
jg 0x1002a82a
mov dword [ebp - 0x18c], 1
jmp 0x1002a831
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x18c], eax
jge 0x1002a848
mov dword [ebp - 0x244], 1
jmp 0x1002a84f
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x47f5
jge 0x1002a867
mov dword [ebp - 0xa8], 1
jmp 0x1002a86e
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x20c], ecx
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0xa8]
mov dword [ebp - 0x300], eax
push 1
lea ecx, [ebp - 0x284]
call fcn.10019299
xor eax, eax
imul eax, eax, 0xe10a
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0xdc]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xdc]
jge 0x1002a8ce
mov dword [ebp - 0x194], 1
jmp 0x1002a8d5
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x194]
mov dword [ebp + eax - 0x294], ecx
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xdc]
cmp dword [ebp + eax - 0x20c], ecx
jge 0x1002a910
mov dword [ebp - 0x24c], 1
jmp 0x1002a917
and dword [ebp - 0x24c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x294]
mov dword [ebp - 0x37c], eax
push 4
pop eax
imul eax, eax, 0
imul esi, dword [ebp + eax - 0xdc], 0
imul esi, dword [ebp - 0x44]
push 2
lea ecx, [ebp - 0x35c]
call fcn.10019299
add esi, dword [eax]
push 4
pop eax
shl eax, 0
cmp esi, dword [ebp + eax - 0xdc]
jl 0x1002a966
mov dword [ebp - 0xc0], 1
jmp 0x1002a96d
and dword [ebp - 0xc0], 0
push 1
lea ecx, [ebp - 0x350]
call fcn.10019299
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x294]
imul eax, dword [ebp - 0xc0]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x294]
jle 0x1002a9b0
mov dword [ebp - 0x19c], 1
jmp 0x1002a9b7
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 0xfffffff9
jne 0x1002a9cc
mov dword [ebp - 0x264], 1
jmp 0x1002a9d3
and dword [ebp - 0x264], 0
push 0
lea ecx, [ebp - 0x284]
call fcn.10019299
mov ecx, dword [ebp - 0x264]
sub ecx, dword [eax]
jne 0x1002a9f6
mov dword [ebp - 0x1a4], 1
jmp 0x1002a9fd
and dword [ebp - 0x1a4], 0
mov esi, dword [ebp - 0xd4]
add esi, dword [ebp - 0x1a4]
imul esi, dword [ebp - 0xd4]
push 1
lea ecx, [ebp - 0x284]
call fcn.10019299
imul esi, dword [eax]
push 1
lea ecx, [ebp - 0x284]
call fcn.10019299
cmp esi, dword [eax]
jge 0x1002aa3d
mov dword [ebp - 0x214], 1
jmp 0x1002aa44
and dword [ebp - 0x214], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x294]
cmp dword [ebp - 0x214], eax
jl 0x1002aa65
mov dword [ebp - 0x1ac], 1
jmp 0x1002aa6c
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xd4]
add ecx, dword [ebp - 0x1ac]
add eax, ecx
cmp eax, 0xfffffff6
je 0x1002aa91
mov dword [ebp - 0x1b4], 1
jmp 0x1002aa98
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x1b4]
jge 0x1002aab2
mov dword [ebp - 0xe0], 1
jmp 0x1002aab9
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x294], ecx
push 1
lea ecx, [ebp - 0x284]
call fcn.10019299
mov dword [eax], 0x7941993e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x350]
call fcn.1001927d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.1001927d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.1001927d
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x54], 0x44b0bf2
push 1
lea ecx, [ebp - 0x2e0]
call fcn.100191fb
mov dword [ebp - 4], 5
push 2
lea ecx, [ebp - 0x318]
call fcn.100191fb
mov byte [ebp - 4], 6
mov dword [ebp - 0x26c], 0x9873
mov dword [ebp - 0x2bc], 1
mov dword [ebp - 0x24], 0
jmp 0x1002ab78
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002ab94
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2e0]
call fcn.10019299
mov dword [eax], 0xa421e0be
jmp 0x1002ab71
mov dword [ebp - 0x24], 0
jmp 0x1002aba4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002abbd
push dword [ebp - 0x24]
lea ecx, [ebp - 0x318]
call fcn.10019299
and dword [eax], 0
jmp 0x1002ab9d
push 0
lea ecx, [ebp - 0x318]
call fcn.10019299
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
cmp dword [eax], 0
je 0x1002abfd
xor eax, eax
inc eax
je 0x1002abfd
mov dword [ebp - 0x1bc], 1
jmp 0x1002ac04
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x54], 0
jne 0x1002ac25
mov eax, 0x5c22c920
test eax, eax
jne 0x1002ac25
and dword [ebp - 0x274], 0
jmp 0x1002ac2f
mov dword [ebp - 0x274], 1
mov eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x274]
jl 0x1002ac49
mov dword [ebp - 0x1c4], 1
jmp 0x1002ac50
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x1c4]
jne 0x1002ac67
mov dword [ebp - 0xa0], 1
jmp 0x1002ac6e
and dword [ebp - 0xa0], 0
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10019299
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
cmp dword [ebp - 0xa0], 0
jne 0x1002aca7
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10019299
cmp dword [eax], 0
jne 0x1002aca7
and dword [ebp - 0x224], 0
jmp 0x1002acb1
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x224], 0xd7582ba8
ja 0x1002acc9
mov dword [ebp - 0x1cc], 1
jmp 0x1002acd0
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0
jbe 0x1002ace0
push 4
pop eax
test eax, eax
je 0x1002acf2
cmp dword [ebp - 0x54], 0
je 0x1002acf2
mov dword [ebp - 0x254], 1
jmp 0x1002acf9
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x254], eax
jl 0x1002ad10
mov dword [ebp - 0x1d4], 1
jmp 0x1002ad17
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 8
jbe 0x1002ad2c
mov dword [ebp - 0x22c], 1
jmp 0x1002ad33
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
sub eax, 6
mov dword [ebp - 0x54], eax
je 0x1002ad53
cmp dword [ebp - 0x54], 0
je 0x1002ad53
mov dword [ebp - 0x1dc], 1
jmp 0x1002ad5a
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x1dc]
imul eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x50]
cmp eax, 0x218f
jl 0x1002adbf
mov dword [ebp - 0x8c], 0
jmp 0x1002ad8b
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
jge 0x1002ada7
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x3d4], 1
jmp 0x1002ad7e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3d4]
mov dword [ebp - 0x26c], eax
jmp 0x1002af99
mov dword [ebp - 0x5c], 0xfffffffd
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xac], 0xb016fefd
push 1
lea ecx, [ebp - 0x344]
call fcn.100191fb
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], 0
jmp 0x1002ae04
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1002ae26
push dword [ebp - 0x84]
lea ecx, [ebp - 0x344]
call fcn.10019299
mov dword [eax], 0x6851cc0d
jmp 0x1002adf7
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x5c], eax
jl 0x1002ae4b
mov dword [ebp - 0xa4], 0xffff
cmp dword [ebp - 0xa4], 0
jne 0x1002ae8a
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xa4], eax
jge 0x1002ae65
mov dword [ebp - 0x1e4], 1
jmp 0x1002ae6c
and dword [ebp - 0x1e4], 0
cmp dword [ebp - 0x1e4], 0xf5e2
jle 0x1002ae8a
mov eax, 0xffff
test eax, eax
jne 0x1002ae8a
and dword [ebp - 0x234], 0
jmp 0x1002ae94
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x234]
cmp eax, 0xfffe
jae 0x1002aeb0
mov dword [ebp - 0x1ec], 1
jmp 0x1002aeb7
and dword [ebp - 0x1ec], 0
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10019299
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1ec]
jge 0x1002aeda
mov dword [ebp - 0x25c], 1
jmp 0x1002aee1
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x25c], eax
jle 0x1002aefb
mov dword [ebp - 0x1f4], 1
jmp 0x1002af02
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x2bc]
imul eax, dword [ebp - 0x1f4]
sub eax, dword [ebp - 0xac]
cmp eax, 0xffffffff
jle 0x1002af26
mov dword [ebp - 0x23c], 1
jmp 0x1002af2d
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x23c], eax
je 0x1002af44
mov dword [ebp - 0x1fc], 1
jmp 0x1002af4b
and dword [ebp - 0x1fc], 0
push 0
lea ecx, [ebp - 0x318]
call fcn.10019299
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [eax]
jle 0x1002af6e
mov dword [ebp - 0x17c], 1
jmp 0x1002af75
and dword [ebp - 0x17c], 0
push 0
lea ecx, [ebp - 0x344]
call fcn.10019299
mov ecx, dword [ebp - 0x17c]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x344]
call fcn.1001927d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x318]
call fcn.1001927d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.1001927d
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
jmp 0x1002afcd
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 2
jge 0x1002afed
mov eax, dword [ebp - 0x58]
push dword [eax]
mov ecx, dword [ebp - 0x2fc]
call fcn.10019299
mov dword [eax], 5
jmp 0x1002afc2
jmp 0x1002b713
mov dword [ebp - 0x18], 0x365653d4
mov dword [ebp - 0x38c], 0xe543
mov dword [ebp - 0x6c], 0
jmp 0x1002b013
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1002b029
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x324], 0x47d228d5
jmp 0x1002b00c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jge 0x1002b046
mov dword [ebp - 0x180], 1
jmp 0x1002b04d
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x18]
sub eax, 0x11cb6a0b
imul eax, dword [ebp - 0x18]
cmp eax, 1
jb 0x1002b070
mov dword [ebp - 0x2c4], 1
jmp 0x1002b077
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3bc], eax
push 0xfffffffffffffffb
pop eax
add eax, 3
add eax, dword [ebp - 0x18]
jne 0x1002b0b5
cmp dword [ebp - 0x18], 0
jne 0x1002b0b5
and dword [ebp - 0x188], 0
jmp 0x1002b0bf
mov dword [ebp - 0x188], 1
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x324]
cmp dword [ebp - 0x18], eax
jge 0x1002b11d
mov dword [ebp - 0x78], 0
jmp 0x1002b0e9
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x1002b0ff
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x394], 0
jmp 0x1002b0e2
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x394]
mov dword [ebp + ecx - 0x324], eax
jmp 0x1002b299
mov dword [ebp - 0x4c], 0xff4caa5d
mov dword [ebp - 0x4c], 0xfffffff7
cmp dword [ebp - 0x4c], 0
je 0x1002b16b
mov dword [ebp - 0x190], 0xfffffff7
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1002b166
push 0x148e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x1002b299
mov dword [ebp - 0x18], 4
jmp 0x1002b17b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 7
je 0x1002b24c
mov dword [ebp - 0x80], 0x43ec3e1b
cmp dword [ebp - 0x80], 0
jne 0x1002b22a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x324]
cmp dword [ebp - 0x80], eax
jl 0x1002b1b4
mov dword [ebp - 0x198], 1
jmp 0x1002b1bb
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff9
ja 0x1002b1d6
mov dword [ebp - 0x1a0], 1
jmp 0x1002b1dd
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 1
jg 0x1002b1f2
mov dword [ebp - 0x1a8], 1
jmp 0x1002b1f9
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 0xf510b816
jne 0x1002b211
mov dword [ebp - 0x1b0], 1
jmp 0x1002b218
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0
jb 0x1002b22a
and dword [ebp - 0x1b8], 0
jmp 0x1002b234
mov dword [ebp - 0x1b8], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp + eax - 0x324], ecx
jmp 0x1002b174
mov dword [ebp - 0x18], 0
jmp 0x1002b25c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1002b299
mov dword [ebp - 0x4c], 0
jmp 0x1002b272
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1002b297
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002b295
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x1002b26b
jmp 0x1002b255
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x90], 0x443250e6
mov dword [ebp - 0xb4], 0x5d70512a
mov dword [ebp - 0x2f8], 0x87e91c17
mov dword [ebp - 0x2cc], 0xebe1552b
mov dword [ebp - 0x88], 0
jmp 0x1002b2e3
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1002b2ff
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0xc8], 0xfffffff8
jmp 0x1002b2d6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 5
jbe 0x1002b321
cmp dword [ebp - 0x90], 0
jne 0x1002b321
and dword [ebp - 0xec], 0
jmp 0x1002b32b
mov dword [ebp - 0xec], 1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 1
jne 0x1002b347
mov dword [ebp - 0xe4], 1
jmp 0x1002b34e
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xe4], eax
jg 0x1002b368
mov dword [ebp - 0xf4], 1
jmp 0x1002b36f
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xec]
imul eax, dword [ebp - 0xf4]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc8]
je 0x1002b397
mov dword [ebp - 0xfc], 1
jmp 0x1002b39e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xfc]
jle 0x1002b3b8
mov dword [ebp - 0x104], 1
jmp 0x1002b3bf
and dword [ebp - 0x104], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
imul eax, dword [ebp - 0x104]
cmp eax, 0xba13b288
jae 0x1002b3e6
mov dword [ebp - 0x10c], 1
jmp 0x1002b3ed
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x90], 0xfffffffb
jae 0x1002b40e
mov dword [ebp - 0x11c], 1
jmp 0x1002b415
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 1
jne 0x1002b431
mov dword [ebp - 0x114], 1
jmp 0x1002b438
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
cmp eax, dword [ebp - 0xb4]
jg 0x1002b472
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 0
jne 0x1002b472
and dword [ebp - 0x124], 0
jmp 0x1002b47c
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x124]
jl 0x1002b496
mov dword [ebp - 0x12c], 1
jmp 0x1002b49d
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
dec eax
jne 0x1002b4b4
xor eax, eax
inc eax
jne 0x1002b4b4
and dword [ebp - 0x134], 0
jmp 0x1002b4be
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x36c], 0xcfbce008
mov dword [ebp - 0x368], 0xcfbce008
mov dword [ebp - 0x364], 0xcfbce008
mov dword [ebp - 0x360], 0xcfbce008
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x378], eax
imul eax, dword [ebp - 0x20], 0
test eax, eax
je 0x1002b53b
cmp dword [ebp - 0x20], 0
je 0x1002b53b
mov dword [ebp - 0x13c], 1
jmp 0x1002b542
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x20], eax
je 0x1002b55d
mov dword [ebp - 0x144], 1
jmp 0x1002b564
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xffffffff
ja 0x1002b579
mov dword [ebp - 0x14c], 1
jmp 0x1002b580
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x14c]
test eax, eax
je 0x1002b5a0
cmp dword [ebp - 0x20], 0
je 0x1002b5a0
mov dword [ebp - 0x154], 1
jmp 0x1002b5a7
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x154], eax
jl 0x1002b5be
mov dword [ebp - 0x15c], 1
jmp 0x1002b5c5
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
sub eax, 0x45c6b9bd
mov dword [ebp - 0x48], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x36c], ecx
cmp dword [ebp - 0x20], 0
je 0x1002b640
mov dword [ebp - 0x20], 4
jmp 0x1002b5f9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2a
jle 0x1002b63e
mov dword [ebp - 0x48], 6
jmp 0x1002b60f
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffe8
jl 0x1002b63c
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002b63a
push 0x1119
push 0x245a
push 0
push 0xc2d
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x1002b608
jmp 0x1002b5f2
jmp 0x1002b661
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1002b661
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
je 0x1002b6af
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx]
jl 0x1002b6af
mov dword [ebp - 0x164], 1
jmp 0x1002b6b6
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x164]
jle 0x1002b6cf
mov dword [ebp - 0x29c], 1
jmp 0x1002b6d6
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x16c]
cmp dword [eax], 0
jne 0x1002b6ea
mov eax, dword [ebp - 0x16c]
cmp dword [eax], 0
mov eax, dword [ebp - 0x40]
cmp dword [eax], 2
jae 0x1002b6fe
mov dword [ebp - 0x174], 1
jmp 0x1002b705
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret