Function at 0x1004c252
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov dword [ebp - 0x7c], 0x1852
mov dword [ebp - 0xc0], 0xfffffffc
mov dword [ebp - 0x100], 0
jmp 0x1004c285
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 4
jge 0x1004c2a1
mov eax, dword [ebp - 0x100]
mov dword [ebp + eax*4 - 0x64c], 0
jmp 0x1004c278
mov byte [ebp - 0x76], 0
movzx eax, byte [ebp - 0x76]
test eax, eax
je 0x1004c2b8
push 0x1feb
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5d4], eax
cmp dword [ebp - 0xc0], 0xb4e1
je 0x1004c2d9
mov dword [ebp - 0x210], 1
jmp 0x1004c2e0
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x7c], 0xfffffff7
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x404], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x404]
mov dword [ebp + eax - 0x64c], ecx
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x64c], 0x5c81
cmp dword [ebp - 0x210], eax
jge 0x1004c336
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x1004c334
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1004c38b
mov dword [ebp - 0xc0], 0
jmp 0x1004c34f
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffee
jle 0x1004c38b
mov dword [ebp - 0x7c], 0
jmp 0x1004c368
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 5
jl 0x1004c389
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1004c387
push 0xf1f
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1004c361
jmp 0x1004c342
mov dword [ebp - 0x9c], 0x7222631
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x488], 0xb4ef66b
mov dword [ebp - 0x3f0], 7
mov dword [ebp - 0xcc], 0xfffffffd
mov dword [ebp - 0x1ec], 0xfffffffb
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x5c8], eax
cmp dword [ebp - 0x9c], 0xa205
jle 0x1004c413
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5d0], eax
cmp dword [ebp - 0x9c], 0x84cb8f6c
ja 0x1004c413
mov dword [ebp - 0x480], 1
jmp 0x1004c41a
and dword [ebp - 0x480], 0
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x604], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x3f0], eax
jne 0x1004c45c
push 9
pop eax
test eax, eax
jne 0x1004c45c
and dword [ebp - 0x3f8], 0
jmp 0x1004c466
mov dword [ebp - 0x3f8], 1
cmp dword [ebp - 0x3f8], 0xb168f92
jle 0x1004c47e
mov dword [ebp - 0x400], 1
jmp 0x1004c485
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xcc], 6
jmp 0x1004c4aa
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0xfffffff3
jle 0x1004c54f
mov dword [ebp - 0x108], 0
jmp 0x1004c4d0
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 1
jge 0x1004c4ec
mov eax, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0x614], 0x68f62c4d
jmp 0x1004c4c3
mov dword [ebp - 0x58], 5
jmp 0x1004c4fc
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jne 0x1004c519
mov dword [ebp - 0x49c], 7
cmp dword [ebp - 0x49c], 0
je 0x1004c517
jmp 0x1004c519
jmp 0x1004c4f5
mov dword [ebp - 0xa0], 0
jmp 0x1004c532
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jg 0x1004c54a
mov eax, dword [ebp - 0x1ec]
dec eax
mov dword [ebp - 0x1ec], eax
jmp 0x1004c525
jmp 0x1004c49d
mov dword [ebp - 4], 0xcf5720e8
mov dword [ebp - 0x2fc], 0x49480dd0
mov dword [ebp - 0x414], 0x2b461593
mov dword [ebp - 0xdc], 0
jmp 0x1004c583
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 2
jge 0x1004c59f
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x8c], 5
jmp 0x1004c576
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1004c694
cmp dword [ebp - 4], 0
jg 0x1004c5c1
mov dword [ebp - 0x4c8], 1
jmp 0x1004c5c8
and dword [ebp - 0x4c8], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 4], 0x8722
je 0x1004c5ef
mov dword [ebp - 0x174], 1
jmp 0x1004c5f6
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 4]
jg 0x1004c611
mov dword [ebp - 0x370], 1
jmp 0x1004c618
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 4]
jl 0x1004c632
mov dword [ebp - 0x17c], 1
jmp 0x1004c639
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 4]
jne 0x1004c653
cmp dword [ebp - 4], 0
jne 0x1004c653
and dword [ebp - 0x378], 0
jmp 0x1004c65d
mov dword [ebp - 0x378], 1
mov eax, dword [ebp - 0x378]
sub eax, 0xa
cmp eax, dword [ebp - 4]
jne 0x1004c677
mov dword [ebp - 0x184], 1
jmp 0x1004c67e
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
neg eax
cmp dword [ebp - 4], eax
je 0x1004c694
and dword [ebp - 0x380], 0
jmp 0x1004c69e
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x380]
cmp eax, 0x829cbc21
jae 0x1004c6bb
mov dword [ebp - 0x18c], 1
jmp 0x1004c6c2
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18c], eax
jle 0x1004c6d9
mov dword [ebp - 0x388], 1
jmp 0x1004c6e0
and dword [ebp - 0x388], 0
cmp dword [ebp - 0x388], 0xfffd
je 0x1004c6f8
mov dword [ebp - 0x194], 1
jmp 0x1004c6ff
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x194], eax
jle 0x1004c9f0
mov dword [ebp - 0x3c0], 0x8951fe51
mov dword [ebp - 0x1dc], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x1004c732
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xfffffff3
jge 0x1004c9eb
mov dword [ebp - 0xac], 0xfffffffb
mov dword [ebp - 0x3a0], 0xffffffff
cmp dword [ebp - 0x3c0], 0
je 0x1004c79e
mov byte [ebp - 0x75], 0
movzx eax, byte [ebp - 0x75]
test eax, eax
je 0x1004c772
push 0x1c5
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov byte [ebp - 0x78], 0
movzx eax, byte [ebp - 0x78]
test eax, eax
je 0x1004c799
push 0x98d
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_Polyline]
jmp 0x1004c9e6
mov dword [ebp - 0x3a8], 1
mov dword [ebp - 0x410], 1
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x478], 5
cmp dword [ebp - 0x3a8], 0
je 0x1004c7d4
jmp 0x1004c9eb
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
je 0x1004c9c5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8c], 0x7f72
jg 0x1004c806
mov dword [ebp - 0x390], 1
jmp 0x1004c80d
and dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x390], eax
jge 0x1004c827
mov dword [ebp - 0x19c], 1
jmp 0x1004c82e
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
imul eax, dword [ebp - 0x19c]
cmp eax, 1
jb 0x1004c853
mov dword [ebp - 0x398], 1
jmp 0x1004c85a
and dword [ebp - 0x398], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0x398], eax
jg 0x1004c87b
mov dword [ebp - 0x1a4], 1
jmp 0x1004c882
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0xac], eax
je 0x1004c8b4
mov dword [ebp - 0x1b4], 1
jmp 0x1004c8bb
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x3a8]
cmp dword [ebp - 0x1b4], eax
jne 0x1004c8d5
mov dword [ebp - 0x3b0], 1
jmp 0x1004c8dc
and dword [ebp - 0x3b0], 0
mov eax, dword [ebp - 0x478]
cmp dword [ebp - 0x3b0], eax
jg 0x1004c8f6
mov dword [ebp - 0x1bc], 1
jmp 0x1004c8fd
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1bc], 1
jae 0x1004c912
mov dword [ebp - 0x3b8], 1
jmp 0x1004c919
and dword [ebp - 0x3b8], 0
cmp dword [ebp - 0x3b8], 2
jb 0x1004c92e
mov dword [ebp - 0x1c4], 1
jmp 0x1004c935
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0x37a762af
jge 0x1004c953
cmp dword [ebp - 0x3c0], 0
jne 0x1004c953
and dword [ebp - 0x1cc], 0
jmp 0x1004c95d
mov dword [ebp - 0x1cc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
imul eax, dword [ebp - 0x1cc]
cmp dword [ebp - 0x410], eax
jl 0x1004c985
mov dword [ebp - 0x3c8], 1
jmp 0x1004c98c
and dword [ebp - 0x3c8], 0
cmp dword [ebp - 0x3c8], 0x575e
jg 0x1004c9a4
mov dword [ebp - 0x1d4], 1
jmp 0x1004c9ab
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x1d4], eax
jne 0x1004c9c5
mov dword [ebp - 0x3d0], 1
jmp 0x1004c9cc
and dword [ebp - 0x3d0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
imul eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x1dc], eax
jmp 0x1004c72b
jmp 0x1004cbfb
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x1004ca0a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x1004ca52
mov dword [ebp - 0xf8], 0xef1792f5
mov dword [ebp - 0xf8], 1
jmp 0x1004ca33
mov eax, dword [ebp - 0xf8]
dec eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jl 0x1004ca50
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8c], 0
je 0x1004ca4e
jmp 0x1004ca50
jmp 0x1004ca26
jmp 0x1004ca03
mov dword [ebp - 4], 0
jmp 0x1004ca62
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x1004cbfb
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x8c]
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x8c], 0
jne 0x1004cb5b
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x98]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x8c]
cmp eax, 1
je 0x1004cac2
push 4
pop eax
test eax, eax
jne 0x1004cac2
and dword [ebp - 0x3d8], 0
jmp 0x1004cacc
mov dword [ebp - 0x3d8], 1
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x3d8], eax
jge 0x1004cae6
mov dword [ebp - 0x1e4], 1
jmp 0x1004caed
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x8c]
cmp eax, dword [ebp - 0x1e4]
jne 0x1004cb0b
mov dword [ebp - 0x3e0], 1
jmp 0x1004cb12
and dword [ebp - 0x3e0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0x3e0], eax
jg 0x1004cb33
mov dword [ebp - 0x3e8], 1
jmp 0x1004cb3a
and dword [ebp - 0x3e8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x8c]
add eax, dword [ebp - 0x3e8]
cmp eax, dword [ebp - 0x98]
jge 0x1004cb5b
and dword [ebp - 0x37c], 0
jmp 0x1004cb65
mov dword [ebp - 0x37c], 1
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x37c], eax
jne 0x1004cb7f
mov dword [ebp - 0x148], 1
jmp 0x1004cb86
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax*4 - 0x8c], ecx
mov eax, dword [ebp - 0x148]
neg eax
je 0x1004cbb2
cmp dword [ebp - 4], 0
je 0x1004cbb2
mov dword [ebp - 0x1f4], 1
jmp 0x1004cbb9
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
sub eax, dword [ebp - 0x98]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0x77dc9657
jl 0x1004cbe3
mov dword [ebp - 0x1fc], 1
jmp 0x1004cbea
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x414], eax
jmp 0x1004ca5b
mov dword [ebp - 0x334], 0xffffffff
mov dword [ebp - 0x63c], 1
mov dword [ebp - 0x628], 1
mov dword [ebp - 0x524], 0x9ae4f78d
mov dword [ebp - 0x5bc], 0xbac8
mov dword [ebp - 0x52c], 0x504e
mov dword [ebp - 0x630], 2
mov dword [ebp - 0x3fc], 0xfffffff6
mov dword [ebp - 0x14], 0
jmp 0x1004cc5b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004cc71
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x660], 0xffffffff
jmp 0x1004cc54
mov dword [ebp - 0x14], 0
jmp 0x1004cc81
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004cc97
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x684], 0xffffffff
jmp 0x1004cc7a
mov dword [ebp - 0x14], 0
jmp 0x1004cca7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004ccbd
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x678], 0xfffffffe
jmp 0x1004cca0
mov eax, dword [ebp - 0x3fc]
dec eax
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x4b4], 0xfffffffc
mov dword [ebp - 0x274], 0xe24307a3
mov dword [ebp - 0x4c4], 0xe9d0
mov dword [ebp - 0x4c0], 0xe9d0
mov dword [ebp - 0x4bc], 0xe9d0
mov dword [ebp - 0x4b8], 0xe9d0
mov dword [ebp - 0x46c], 1
mov dword [ebp - 0x534], 0xd303f024
mov dword [ebp - 0x5c4], 0x88039d6b
mov dword [ebp - 0x53c], 0xc593c869
mov dword [ebp - 0x214], 3
mov dword [ebp - 0xd8], 0
jmp 0x1004cd51
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x1004cd6d
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x66c], 0x1ec2184e
jmp 0x1004cd44
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x4c4], 0x51ea
jg 0x1004cd8c
mov dword [ebp - 0x204], 1
jmp 0x1004cd93
and dword [ebp - 0x204], 0
cmp dword [ebp - 0x204], 1
jg 0x1004cdb8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c4], 0
je 0x1004cdb8
mov dword [ebp - 0x304], 1
jmp 0x1004cdbf
and dword [ebp - 0x304], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x4c4]
cmp eax, dword [ebp - 0x304]
jg 0x1004cde0
mov dword [ebp - 0x20c], 1
jmp 0x1004cde7
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x4c4]
cmp dword [ebp - 0x20c], eax
jne 0x1004ce08
mov dword [ebp - 0x384], 1
jmp 0x1004ce0f
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x214]
dec eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x40], 0
jmp 0x1004ce38
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1004ce4b
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x34], 5
jmp 0x1004ce31
mov dword [ebp - 0xc], 0xb13638ec
mov dword [ebp - 0x23c], 9
mov dword [ebp - 0xf4], 0
jmp 0x1004ce75
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 3
jge 0x1004ce91
mov eax, dword [ebp - 0xf4]
mov dword [ebp + eax*4 - 0x114], 0x3342eb90
jmp 0x1004ce68
mov dword [ebp - 0xc], 2
jmp 0x1004cea1
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1004d35c
mov dword [ebp - 0xbc], 0xcc511ec1
mov dword [ebp - 0x158], 0x4c3dc4d7
mov dword [ebp - 0x498], 0xfffffffd
mov dword [ebp - 0x3c], 0
jmp 0x1004ced9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1004ceef
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x518], 0x89bdd777
jmp 0x1004ced2
mov dword [ebp - 0x3c], 0
jmp 0x1004ceff
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1004cf15
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x4d4], 9
jmp 0x1004cef8
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x114]
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x114]
mov dword [ebp + ecx*4 - 0x114], eax
mov eax, dword [ebp - 0xc]
neg eax
cmp eax, 4
jb 0x1004cf58
mov dword [ebp - 0x30c], 1
jmp 0x1004cf5f
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30c]
sub ecx, dword [ebp + eax*4 - 0x114]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x518]
jg 0x1004cf8a
mov dword [ebp - 0x21c], 1
jmp 0x1004cf91
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x21c], eax
jg 0x1004cfa8
mov dword [ebp - 0x3c4], 1
jmp 0x1004cfaf
and dword [ebp - 0x3c4], 0
mov eax, dword [ebp - 0x3c4]
inc eax
cmp eax, 0x4129
jg 0x1004cfc9
mov dword [ebp - 0x224], 1
jmp 0x1004cfd0
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
sub eax, 0x755261fc
cmp eax, 0xfffffff6
jne 0x1004cfec
mov dword [ebp - 0x314], 1
jmp 0x1004cff3
and dword [ebp - 0x314], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x518]
cmp dword [ebp - 0x314], eax
jl 0x1004d014
mov dword [ebp - 0x22c], 1
jmp 0x1004d01b
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x518]
cmp dword [ebp - 0x22c], eax
je 0x1004d03c
mov dword [ebp - 0x150], 1
jmp 0x1004d043
and dword [ebp - 0x150], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax - 0x518], ecx
imul eax, dword [ebp - 0x150], 0xfffc
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x4d4]
je 0x1004d08a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x114], 0
je 0x1004d08a
mov dword [ebp - 0x38c], 1
jmp 0x1004d091
and dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x38c], eax
jg 0x1004d0a8
mov dword [ebp - 0x234], 1
jmp 0x1004d0af
and dword [ebp - 0x234], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x234]
mov dword [ebp + eax - 0x4d4], ecx
mov dword [ebp - 0xbc], 0
jmp 0x1004d0db
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffe6
jne 0x1004d357
mov dword [ebp - 0x118], 2
mov dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x5cc], eax
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x114], 0xa099
test eax, eax
jne 0x1004d225
cmp dword [ebp - 0x118], 0xe1dc630d
jbe 0x1004d139
mov dword [ebp - 0x31c], 1
jmp 0x1004d140
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x31c], eax
jle 0x1004d15a
mov dword [ebp - 0x41c], 1
jmp 0x1004d161
and dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x114]
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x5e8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4d4]
mov dword [ebp - 0x554], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x55c], eax
mov eax, 0xca72
test eax, eax
je 0x1004d1ca
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x114], 0
je 0x1004d1ca
mov dword [ebp - 0x3e4], 1
jmp 0x1004d1d1
and dword [ebp - 0x3e4], 0
cmp dword [ebp - 0x3e4], 0xffff
jbe 0x1004d1e9
mov dword [ebp - 0x244], 1
jmp 0x1004d1f0
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x3dcd
jl 0x1004d208
mov dword [ebp - 0x324], 1
jmp 0x1004d20f
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x324]
sub eax, 0xfff7
jne 0x1004d225
and dword [ebp - 0x24c], 0
jmp 0x1004d22f
mov dword [ebp - 0x24c], 1
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + ecx*4 - 0x114]
jne 0x1004d250
mov dword [ebp - 0x394], 1
jmp 0x1004d257
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x394]
sub eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x118]
jg 0x1004d277
mov dword [ebp - 0x124], 1
jmp 0x1004d27e
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x4d4], ecx
cmp dword [ebp - 0x124], 0x7c29
jne 0x1004d2a9
mov dword [ebp - 0x254], 1
jmp 0x1004d2b0
and dword [ebp - 0x254], 0
cmp dword [ebp - 0x254], 1
ja 0x1004d2c5
mov dword [ebp - 0x424], 1
jmp 0x1004d2cc
and dword [ebp - 0x424], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x564], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x114]
mov dword [ebp - 0x5e0], eax
cmp dword [ebp - 0xc], 0xffffffff
jge 0x1004d308
mov dword [ebp - 0x32c], 1
jmp 0x1004d30f
and dword [ebp - 0x32c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x114]
cmp dword [ebp - 0x32c], eax
je 0x1004d330
mov dword [ebp - 0x25c], 1
jmp 0x1004d337
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x114], 0
je 0x1004d352
jmp 0x1004d357
jmp 0x1004d0ce
jmp 0x1004ce9a
mov dword [ebp - 0x40], 0
jmp 0x1004d36c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1004d382
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x658], 0xfffffffa
jmp 0x1004d365
mov dword [ebp - 0xe4], 0x24ec2e0c
mov dword [ebp - 0x508], 9
mov dword [ebp - 0x504], 9
mov dword [ebp - 0x500], 9
mov dword [ebp - 0x4fc], 9
mov dword [ebp - 0x56c], 0x3a79cc09
mov dword [ebp - 0x3cc], 0x3413
mov dword [ebp - 0x5f4], 0xc0e0752
mov dword [ebp - 0xe4], 0
jmp 0x1004d3eb
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0xffffffe7
jg 0x1004d436
mov dword [ebp - 0xb4], 0x6e52d8cb
mov dword [ebp - 0xb4], 0
jmp 0x1004d417
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jg 0x1004d434
mov eax, dword [ebp - 0xb4]
cmp dword [ebp + eax*4 - 0x508], 0
je 0x1004d432
jmp 0x1004d434
jmp 0x1004d40a
jmp 0x1004d3de
mov eax, dword [ebp - 0x3cc]
inc eax
mov dword [ebp - 0x3cc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
je 0x1004d469
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
je 0x1004d469
mov dword [ebp - 0x264], 1
jmp 0x1004d470
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
dec eax
dec eax
mov dword [ebp - 0x334], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
push 4
pop edx
imul edx, edx, 0
mov edx, dword [ebp + edx - 0x34]
sub edx, dword [ebp + ecx - 0x34]
sub edx, dword [ebp - 0x334]
cmp edx, dword [ebp + eax - 0x34]
jne 0x1004d4b5
xor eax, eax
inc eax
je 0x1004d4b5
mov dword [ebp - 0x42c], 1
jmp 0x1004d4bc
and dword [ebp - 0x42c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x574], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
jne 0x1004d4ef
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
jne 0x1004d4ef
and dword [ebp - 0x26c], 0
jmp 0x1004d4f9
mov dword [ebp - 0x26c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp eax, dword [ebp - 0x26c]
jl 0x1004d517
mov dword [ebp - 0x39c], 1
jmp 0x1004d51e
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x274], 0x41720348
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x274]
mov dword [ebp + eax - 0x658], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004d562
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x1004ee38
mov dword [ebp - 0x24], 0x3f5047c4
mov dword [ebp - 0x434], 0xafa01777
mov dword [ebp - 0x104], 0
jmp 0x1004d58c
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 2
jge 0x1004d5a8
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x5dc], 0xec299e88
jmp 0x1004d57f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5fc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jg 0x1004d5d2
mov dword [ebp - 0x33c], 1
jmp 0x1004d5d9
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x33c], eax
jl 0x1004d5f0
mov dword [ebp - 0x27c], 1
jmp 0x1004d5f7
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0x9cd4431f
ja 0x1004d60f
mov dword [ebp - 0x3f4], 1
jmp 0x1004d616
and dword [ebp - 0x3f4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x3f4], eax
jne 0x1004d630
cmp dword [ebp - 0x24], 0
jne 0x1004d630
and dword [ebp - 0x284], 0
jmp 0x1004d63a
mov dword [ebp - 0x284], 1
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x434], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x5dc], ecx
mov byte [ebp - 0x6d], 0
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x1004d67f
push 0
push 0xbfa
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_GetTextExtentPoint32A]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x90], 0xfffffff8
mov dword [ebp - 0xa4], 0xef7d6512
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xfc], 0xffffffff
mov dword [ebp - 0x2b4], 1
mov dword [ebp - 0x4ec], 0x747b1d00
mov dword [ebp - 0x4e8], 0x747b1d00
mov dword [ebp - 0x4e4], 0x747b1d00
mov dword [ebp - 0x4e0], 0x747b1d00
mov dword [ebp - 0xec], 0
jmp 0x1004d6fb
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 1
jge 0x1004d714
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x30], 0xc17e5c28
jmp 0x1004d6ee
mov dword [ebp - 0xa8], 0x4b4b1328
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
imul ecx, eax
cmp ecx, dword [ebp - 0xa8]
je 0x1004d754
mov dword [ebp - 0x120], 1
jmp 0x1004d75b
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x30], ecx
cmp dword [ebp - 0x120], 0
je 0x1004d794
mov byte [ebp - 0x77], 0
movzx eax, byte [ebp - 0x77]
test eax, eax
je 0x1004d78f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1004db09
mov dword [ebp - 0x4c], 0x76373a4c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x14c], 0xfffffffa
mov dword [ebp - 0x444], 0xffffffff
cmp dword [ebp - 0xfc], 0
jne 0x1004d7f4
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x4c], eax
jne 0x1004d7d6
mov dword [ebp - 0x47c], 1
jmp 0x1004d7dd
and dword [ebp - 0x47c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x5ec], eax
cmp dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5f0], eax
push 4
pop eax
imul eax, eax, 0
push 8
pop ecx
sub ecx, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x4c], ecx
jge 0x1004d824
mov dword [ebp - 0x344], 1
jmp 0x1004d82b
and dword [ebp - 0x344], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x344], eax
jg 0x1004d849
mov dword [ebp - 0x28c], 1
jmp 0x1004d850
and dword [ebp - 0x28c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x28c], eax
jg 0x1004d86e
mov dword [ebp - 0x43c], 1
jmp 0x1004d875
and dword [ebp - 0x43c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0xfff9
jae 0x1004d89a
mov dword [ebp - 0x3a4], 1
jmp 0x1004d8a1
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa4], 0
je 0x1004da16
cmp dword [ebp - 0x4c], 0
je 0x1004d8e2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x618], eax
cmp dword [ebp - 0x4c], 0
je 0x1004d8e2
mov dword [ebp - 0x294], 1
jmp 0x1004d8e9
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
sub eax, 0xf603
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x30]
mov dword [ebp - 0x34c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34c]
mov dword [ebp + eax - 0x30], ecx
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x34c], eax
jge 0x1004d931
cmp dword [ebp - 0x5c], 0
je 0x1004d931
mov dword [ebp - 0x29c], 1
jmp 0x1004d938
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x29c]
jg 0x1004d94f
mov dword [ebp - 0x3d4], 1
jmp 0x1004d956
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xa4], eax
jne 0x1004d985
mov eax, 0xffff
test eax, eax
je 0x1004d985
mov dword [ebp - 0x2a4], 1
jmp 0x1004d98c
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 2
jle 0x1004d9a1
mov dword [ebp - 0x354], 1
jmp 0x1004d9a8
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x354], eax
jge 0x1004d9bf
mov dword [ebp - 0x2ac], 1
jmp 0x1004d9c6
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x1004d9ea
cmp dword [ebp - 0x4c], 0
jne 0x1004d9ea
and dword [ebp - 0x4a0], 0
jmp 0x1004d9f4
mov dword [ebp - 0x4a0], 1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x2b4]
sub eax, 0xfff6
je 0x1004da16
mov dword [ebp - 0x3ac], 1
jmp 0x1004da1d
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x3ac]
sub eax, dword [ebp - 0x2b4]
cmp eax, dword [ebp - 0x90]
je 0x1004da3f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4ec], 0
push 9
pop eax
test eax, eax
jne 0x1004da58
cmp dword [ebp - 0x14c], 0
jne 0x1004da58
and dword [ebp - 0x35c], 0
jmp 0x1004da62
mov dword [ebp - 0x35c], 1
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x35c]
cmp eax, dword [ebp - 0x4c]
je 0x1004da7f
mov dword [ebp - 0x2bc], 1
jmp 0x1004da86
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x14c]
imul eax, dword [ebp - 0x2bc]
cmp eax, dword [ebp - 0x14c]
jne 0x1004daa7
mov dword [ebp - 0x3ec], 1
jmp 0x1004daae
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x3ec]
sub eax, dword [ebp - 0x5c]
jne 0x1004dacb
cmp dword [ebp - 0x90], 0
jne 0x1004dacb
and dword [ebp - 0x2c4], 0
jmp 0x1004dad5
mov dword [ebp - 0x2c4], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x4ec]
cmp dword [ebp - 0x2c4], eax
jl 0x1004daf6
mov dword [ebp - 0x364], 1
jmp 0x1004dafd
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x10], 0x2132
mov dword [ebp - 0x50], 0xfffffffe
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x454], 0x4ae9c241
mov dword [ebp - 0x44], 0
jmp 0x1004db3f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004db55
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x144], 0x7f47073e
jmp 0x1004db38
mov dword [ebp - 0x44], 0
jmp 0x1004db65
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004db78
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1c], 0xe769035a
jmp 0x1004db5e
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jg 0x1004db8c
mov dword [ebp - 0x2cc], 1
jmp 0x1004db93
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
je 0x1004dba7
mov dword [ebp - 0x3b4], 1
jmp 0x1004dbae
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x3b4]
jl 0x1004dbc8
mov dword [ebp - 0x2d4], 1
jmp 0x1004dbcf
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x2d4]
jne 0x1004dbe6
mov dword [ebp - 0x36c], 1
jmp 0x1004dbed
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x36c]
sub eax, dword [ebp - 0x10]
je 0x1004dbfc
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0x4448
cmp dword [ebp - 0x10], eax
jl 0x1004dc15
mov dword [ebp - 0x2dc], 1
jmp 0x1004dc1c
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x9f2e
jne 0x1004dc3a
mov dword [ebp - 0x484], 1
jmp 0x1004dc41
and dword [ebp - 0x484], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5f8], eax
cmp dword [ebp - 0x64], 0
je 0x1004dc62
cmp dword [ebp - 0x64], 0
je 0x1004dc62
mov dword [ebp - 0x12c], 1
jmp 0x1004dc69
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x144], ecx
imul eax, dword [ebp - 0x12c], 0xffff
test eax, eax
jne 0x1004dc96
mov dword [ebp - 0x3dc], 1
jmp 0x1004dc9d
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x3dc]
jg 0x1004dcb4
mov dword [ebp - 0x2e4], 1
jmp 0x1004dcbb
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1004dce6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x144], 0
je 0x1004dce6
mov dword [ebp - 0x374], 1
jmp 0x1004dced
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x374]
imul eax, eax, 0xf57a
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1c]
jl 0x1004dd15
mov dword [ebp - 0x2ec], 1
jmp 0x1004dd1c
and dword [ebp - 0x2ec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x2ec], eax
jl 0x1004dd3a
mov dword [ebp - 0x3bc], 1
jmp 0x1004dd41
and dword [ebp - 0x3bc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x3bc], eax
je 0x1004dd5f
mov dword [ebp - 0x2f4], 1
jmp 0x1004dd66
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2f4], 0x165d3e8
jne 0x1004dd7e
mov dword [ebp - 0x1e8], 1
jmp 0x1004dd85
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 3
jbe 0x1004dd9a
mov dword [ebp - 0x44c], 1
jmp 0x1004dda1
and dword [ebp - 0x44c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x59c], eax
imul eax, dword [ebp - 0x10], 3
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1c]
jge 0x1004ddcd
mov dword [ebp - 0x1f0], 1
jmp 0x1004ddd4
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0xffffffff
jae 0x1004e22c
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x18], 0xfffffff9
mov dword [ebp - 0x278], 0x93d1d1ce
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 0x6c], 8
cmp dword [ebp - 0x18], 0
jne 0x1004dfd4
cmp dword [ebp - 0x18], 0
je 0x1004df92
cmp dword [ebp - 0x18], 1
jg 0x1004de33
mov dword [ebp - 0x1f8], 1
jmp 0x1004de3a
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0xfffffffe
jle 0x1004de4f
mov dword [ebp - 0x200], 1
jmp 0x1004de56
and dword [ebp - 0x200], 0
cmp dword [ebp - 0x200], 4
jl 0x1004de6b
mov dword [ebp - 0x208], 1
jmp 0x1004de72
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x208]
je 0x1004de89
mov dword [ebp - 0x16c], 1
jmp 0x1004de90
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0x6996dceb
jge 0x1004dea8
mov dword [ebp - 0x134], 1
jmp 0x1004deaf
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x144], ecx
cmp dword [ebp - 0x134], 0
je 0x1004dedd
cmp dword [ebp - 0x10], 0
je 0x1004dedd
mov dword [ebp - 0x218], 1
jmp 0x1004dee4
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x218], eax
je 0x1004defb
mov dword [ebp - 0x220], 1
jmp 0x1004df02
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 0x9db4
jne 0x1004df1a
mov dword [ebp - 0x228], 1
jmp 0x1004df21
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], 0x6b77
jl 0x1004df39
mov dword [ebp - 0x230], 1
jmp 0x1004df40
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x230]
test eax, eax
je 0x1004df64
cmp dword [ebp - 0x20], 0
je 0x1004df64
xor eax, eax
je 0x1004df64
mov dword [ebp - 0x238], 1
jmp 0x1004df6b
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x238], eax
jge 0x1004df82
mov dword [ebp - 0x240], 1
jmp 0x1004df89
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 3
jne 0x1004df96
cmp dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c], 0
xor eax, eax
cmp eax, 0xfffc
jne 0x1004dfb9
mov dword [ebp - 0x248], 1
jmp 0x1004dfc0
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x248], eax
jg 0x1004dfd4
and dword [ebp - 0x250], 0
jmp 0x1004dfde
mov dword [ebp - 0x250], 1
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x250], eax
jg 0x1004dffc
push 5
pop eax
test eax, eax
je 0x1004dffc
mov dword [ebp - 0x258], 1
jmp 0x1004e003
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 0xda4cdc86
jbe 0x1004e01b
mov dword [ebp - 0x260], 1
jmp 0x1004e022
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x260], eax
jg 0x1004e039
mov dword [ebp - 0x268], 1
jmp 0x1004e040
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x268]
jl 0x1004e057
mov dword [ebp - 0x270], 1
jmp 0x1004e05e
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x270], eax
je 0x1004e075
mov dword [ebp - 0x490], 1
jmp 0x1004e07c
and dword [ebp - 0x490], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x638], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jge 0x1004e091
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xfff8
cmp dword [ebp - 0x18], 0
je 0x1004e0a2
cmp dword [ebp - 0x10], 0
cmp dword [ebp - 0x278], 0xfffffff8
jle 0x1004e0b7
mov dword [ebp - 0x280], 1
jmp 0x1004e0be
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x278]
imul ecx, dword [ebp - 0x280]
imul eax, ecx
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x154]
dec eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x64], 0
jmp 0x1004e0f7
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x38
je 0x1004e22a
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x6c]
sub eax, 6
je 0x1004e203
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x454], eax
jl 0x1004e14a
mov dword [ebp - 0x288], 1
jmp 0x1004e151
and dword [ebp - 0x288], 0
cmp dword [ebp - 0x288], 0x9b47bed2
ja 0x1004e169
mov dword [ebp - 0x290], 1
jmp 0x1004e170
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x290]
jne 0x1004e203
mov dword [ebp - 0x6c], 0
jmp 0x1004e18f
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jg 0x1004e201
mov dword [ebp - 0x94], 0
jmp 0x1004e1ae
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jg 0x1004e1ff
mov byte [ebp - 0x7d], 0
movzx eax, byte [ebp - 0x7d]
test eax, eax
je 0x1004e1cb
push 0
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov dword [ebp - 0x20], 0
jmp 0x1004e1db
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004e1fd
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x1c], 2
mov eax, dword [ebp - 0x6c]
cmp dword [ebp + eax*4 - 0x1c], 0
je 0x1004e1fb
jmp 0x1004e1d4
jmp 0x1004e1d4
jmp 0x1004e1a1
jmp 0x1004e188
jmp 0x1004e225
mov dword [ebp - 0x50], 0
jmp 0x1004e213
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004e225
mov dword [ebp - 0x13c], 1
jmp 0x1004e20c
jmp 0x1004e0f0
jmp 0x1004e267
mov dword [ebp - 0x2a0], 0xffffffff
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2a0]
cmp dword [ebp + eax - 0x1c], ecx
jle 0x1004e254
mov dword [ebp - 0x298], 1
jmp 0x1004e25b
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x418], 0x9ef3212
mov dword [ebp - 0x11c], 8
mov dword [ebp - 0x420], 0xfc8d6799
mov dword [ebp - 0xd4], 0
jmp 0x1004e2b1
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x1004e2cd
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x4f8], 0xfffffff7
jmp 0x1004e2a4
mov dword [ebp - 0x28], 0
jmp 0x1004e2dd
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff5
je 0x1004e71a
mov dword [ebp - 0x84], 0x4c506d44
mov dword [ebp - 0xe0], 0x41bbbbfe
mov dword [ebp - 0x84], 0
jmp 0x1004e314
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffef
jne 0x1004e66e
mov dword [ebp - 0x74], 0x8a6b950b
mov dword [ebp - 0xb0], 0xfffffffa
mov dword [ebp - 0x74], 0
jmp 0x1004e342
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
je 0x1004e669
mov dword [ebp - 0x38], 0
jmp 0x1004e35c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004e372
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x4dc], 1
jmp 0x1004e355
mov dword [ebp - 0x38], 0
jmp 0x1004e382
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004e398
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xc8], 1
jmp 0x1004e37b
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xc8], 0
jmp 0x1004e3c6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xc8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 1
jg 0x1004e664
mov dword [ebp - 0x2d8], 0x9329
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x600], eax
cmp dword [ebp - 0x84], 0xd7ba9668
je 0x1004e40f
mov dword [ebp - 0x2a8], 1
jmp 0x1004e416
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
add eax, 0x6286
cmp eax, dword [ebp - 0x74]
je 0x1004e432
mov dword [ebp - 0x2b0], 1
jmp 0x1004e439
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x2b0], eax
jle 0x1004e456
cmp dword [ebp - 0x28], 0
jne 0x1004e456
and dword [ebp - 0x2b8], 0
jmp 0x1004e460
mov dword [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x2b8], eax
je 0x1004e47a
mov dword [ebp - 0x2c0], 1
jmp 0x1004e481
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c0], eax
jle 0x1004e498
mov dword [ebp - 0x2c8], 1
jmp 0x1004e49f
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x2c8]
jl 0x1004e4b6
mov dword [ebp - 0x2d0], 1
jmp 0x1004e4bd
and dword [ebp - 0x2d0], 0
cmp dword [ebp - 0x2d0], 0x4c259dba
jne 0x1004e4db
cmp dword [ebp - 0x2d8], 0
jne 0x1004e4db
and dword [ebp - 0x2e0], 0
jmp 0x1004e4e5
mov dword [ebp - 0x2e0], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2e0], eax
je 0x1004e4ff
cmp dword [ebp - 0x28], 0
jne 0x1004e4ff
and dword [ebp - 0x45c], 0
jmp 0x1004e509
mov dword [ebp - 0x45c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x5ac], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x620], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xe0], eax
jge 0x1004e555
mov dword [ebp - 0x2e8], 1
jmp 0x1004e55c
and dword [ebp - 0x2e8], 0
cmp dword [ebp - 0x2e8], 0xa
jne 0x1004e571
mov dword [ebp - 0x494], 1
jmp 0x1004e578
and dword [ebp - 0x494], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5b4], eax
or eax, 0xffffffff
imul eax, eax, 0x5e5
mov dword [ebp - 0x464], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0x464]
mov dword [ebp + eax*4 - 0x4dc], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x608], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x520], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x528], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0x84]
cmp dword [ebp + eax*4 - 0x4dc], ecx
jne 0x1004e604
mov dword [ebp - 0x2f0], 1
jmp 0x1004e60b
and dword [ebp - 0x2f0], 0
cmp dword [ebp - 0x2f0], 0x70669599
jne 0x1004e623
mov dword [ebp - 0x2f8], 1
jmp 0x1004e62a
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x2f8], eax
jl 0x1004e644
mov dword [ebp - 0x300], 1
jmp 0x1004e64b
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x4f8], eax
jmp 0x1004e3ab
jmp 0x1004e33b
jmp 0x1004e307
cmp dword [ebp - 0x11c], 0
jne 0x1004e67e
cmp dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x308], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x308]
mov dword [ebp + eax - 0x4f8], ecx
cmp dword [ebp - 0x308], 0x2fee6139
je 0x1004e6b5
mov dword [ebp - 0x40c], 1
jmp 0x1004e6bc
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x538], eax
cmp dword [ebp - 0x11c], 0
je 0x1004e6ef
cmp dword [ebp - 0x28], 0
je 0x1004e6ef
mov dword [ebp - 0x408], 1
jmp 0x1004e6f6
and dword [ebp - 0x408], 0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x540], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4f8]
mov dword [ebp - 0x420], eax
jmp 0x1004e2d6
mov eax, dword [ebp - 0x428]
movzx eax, byte [eax]
test eax, eax
je 0x1004e9f3
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0xe8], 0xfffffff9
mov dword [ebp - 0x48], 0x58d32ffa
mov dword [ebp - 0x4b0], 0xfffffff9
mov dword [ebp - 0x4ac], 0xfffffff9
mov dword [ebp - 0x4a8], 0xfffffff9
mov dword [ebp - 0x4a4], 0xfffffff9
mov dword [ebp - 0x328], 0x7a68
mov dword [ebp - 0x128], 0xf0b56fe1
mov dword [ebp - 0x368], 0xc49a7e12
mov dword [ebp - 0x438], 0xe8bfa085
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x48], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x4b0], ecx
mov eax, dword [ebp - 0x48]
neg eax
cmp eax, 0x442e
jg 0x1004e7d6
mov eax, 0x40ee
test eax, eax
je 0x1004e7d6
mov dword [ebp - 0x310], 1
jmp 0x1004e7dd
and dword [ebp - 0x310], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4b0], 0x2da
mov dword [ebp - 0xe8], 0x2da
mov eax, dword [ebp - 0xe8]
imul eax, dword [ebp - 0x310]
add eax, 0x712c5197
je 0x1004e828
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4b0], 0
je 0x1004e828
mov dword [ebp - 0x318], 1
jmp 0x1004e82f
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x318]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x48]
jge 0x1004e849
mov dword [ebp - 0x320], 1
jmp 0x1004e850
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
je 0x1004e86b
cmp dword [ebp - 0x48], 0
jne 0x1004e87a
cmp dword [ebp - 0x2c], 0
jne 0x1004e87a
and dword [ebp - 0x330], 0
jmp 0x1004e884
mov dword [ebp - 0x330], 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x330], eax
jl 0x1004e89b
mov dword [ebp - 0x338], 1
jmp 0x1004e8a2
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x338]
cmp eax, 0xc0136ef6
ja 0x1004e8bf
mov dword [ebp - 0x340], 1
jmp 0x1004e8c6
and dword [ebp - 0x340], 0
cmp dword [ebp - 0x340], 0xfffffff7
jne 0x1004e8eb
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x4b0], 0
je 0x1004e8eb
mov dword [ebp - 0x348], 1
jmp 0x1004e8f2
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x48]
jle 0x1004e90c
mov dword [ebp - 0x350], 1
jmp 0x1004e913
and dword [ebp - 0x350], 0
cmp dword [ebp - 0x350], 0xb6f8
jge 0x1004e92b
mov dword [ebp - 0x430], 1
jmp 0x1004e932
and dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x48], 0xffffffff
mov eax, dword [ebp - 0x48]
add eax, 0xffff
cmp eax, 0x8acc167d
jbe 0x1004e95d
mov dword [ebp - 0x358], 1
jmp 0x1004e964
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x1004e98b
cmp dword [ebp - 0x128], 0
jne 0x1004e98b
and dword [ebp - 0x360], 0
jmp 0x1004e995
mov dword [ebp - 0x360], 1
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x368], eax
jle 0x1004e9b8
mov dword [ebp - 0x170], 1
jmp 0x1004e9bf
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x170], eax
jne 0x1004e9d6
mov dword [ebp - 0x178], 1
jmp 0x1004e9dd
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x438], eax
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0x550], 0x62fd41e5
mov dword [ebp - 0x558], 1
mov dword [ebp - 0x560], 0xfffffffe
mov dword [ebp - 0x568], 0xfffffff7
mov dword [ebp - 0x570], 0
mov dword [ebp - 8], 0x666a756a
mov dword [ebp - 0x198], 0xd9a924c0
mov dword [ebp - 0x578], 1
mov dword [ebp - 0x470], 8
mov dword [ebp - 0x580], 0x20b95ae6
mov dword [ebp - 0x588], 0xfffffffb
mov dword [ebp - 0xb8], 0xfffffffc
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x590], 0xdc5336de
mov dword [ebp - 0x140], 0xfffffff6
mov dword [ebp - 0x450], 0x2dd78f4f
mov dword [ebp - 0x598], 4
mov dword [ebp - 0x5a0], 0x2c41ac3d
mov dword [ebp - 0x130], 0xdf11bbb4
mov dword [ebp - 0xd0], 0
jmp 0x1004eac7
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 4
jge 0x1004eae3
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x168], 0xfffffffa
jmp 0x1004eaba
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 8], 0
jmp 0x1004eb00
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x1004ee38
mov dword [ebp - 0x458], 0xfffffffe
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x168]
mov dword [ebp + ecx*4 - 0x168], eax
cmp dword [ebp - 0x1a0], 0xddbf4df7
jb 0x1004eb40
mov dword [ebp - 0x440], 1
jmp 0x1004eb47
and dword [ebp - 0x440], 0
mov dword [ebp - 0x140], 0xa4c63829
cmp dword [ebp - 0x140], 0
jne 0x1004eb70
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x168], 0
jne 0x1004eb70
and dword [ebp - 0x180], 0
jmp 0x1004eb7a
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x180], eax
je 0x1004eb94
mov dword [ebp - 0x448], 1
jmp 0x1004eb9b
and dword [ebp - 0x448], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x168]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x5b0], eax
cmp dword [ebp - 0x130], 1
jl 0x1004ebcc
mov dword [ebp - 0x138], 1
jmp 0x1004ebd3
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax*4 - 0x168], ecx
cmp dword [ebp - 0x138], 0
je 0x1004ec05
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x168], 0
je 0x1004ec05
mov dword [ebp - 0x188], 1
jmp 0x1004ec0c
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 1
jb 0x1004ec21
mov dword [ebp - 0x190], 1
jmp 0x1004ec28
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x458]
cmp dword [ebp - 0x190], eax
jge 0x1004ec42
mov dword [ebp - 0x460], 1
jmp 0x1004ec49
and dword [ebp - 0x460], 0
cmp dword [ebp - 0x140], 0
je 0x1004ec7d
mov dword [ebp - 0x468], 0xffffffff
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax*4 - 0x168], ecx
jmp 0x1004ee33
mov dword [ebp - 0xf0], 0
jmp 0x1004ec96
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
jge 0x1004ecb2
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x1b8], 0
jmp 0x1004ec89
mov dword [ebp - 0xb8], 0
jmp 0x1004eccb
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 3
jg 0x1004ee1f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1a0]
cmp dword [ebp + eax*4 - 0x168], ecx
jle 0x1004ecf6
mov dword [ebp - 0x1d8], 1
jmp 0x1004ecfd
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x168]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x168]
cmp dword [ebp - 0x470], eax
jg 0x1004ed2b
mov dword [ebp - 0x1a8], 1
jmp 0x1004ed32
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 0x499c
je 0x1004ed4a
mov dword [ebp - 0x1b0], 1
jmp 0x1004ed51
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x168]
cmp eax, dword [ebp - 0x1b0]
jle 0x1004ed7c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1b8], 0
jne 0x1004ed7c
and dword [ebp - 0x1c0], 0
jmp 0x1004ed86
mov dword [ebp - 0x1c0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b8]
cmp dword [ebp - 0x1c0], eax
jge 0x1004edb4
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x168], 0
je 0x1004edb4
mov dword [ebp - 0x1c8], 1
jmp 0x1004edbb
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 0x939efd91
je 0x1004edd3
mov dword [ebp - 0x1d0], 1
jmp 0x1004edda
and dword [ebp - 0x1d0], 0
imul eax, dword [ebp - 0x1d0], 0xe882
imul eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp + ecx*4 - 0x168]
jg 0x1004ee03
mov dword [ebp - 0x1e0], 1
jmp 0x1004ee0a
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp + eax*4 - 0x168], ecx
jmp 0x1004ecbe
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004ee33
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x1004eaf9
mov esp, ebp
pop ebp
ret