Function at 0x1004d33b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push esi
push edi
mov dword [ebp - 0x90], 0
jmp 0x1004d35f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x1004d37b
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x2e0], 0xfffffffe
jmp 0x1004d352
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x2e0], 0xffffffe9
jmp 0x1004d3a6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2e0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x2e0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x2e0], 0xfffffff0
jge 0x1004d3e3
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x1004d3e1
push 0
push 0xcec
push 0x1fa8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
jmp 0x1004d38d
mov dword [ebp - 0xb0], 0x5c68ec0a
mov dword [ebp - 0xb0], 0xffffffe7
jmp 0x1004d406
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jl 0x1004d433
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x1004d431
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_GetCurrentPositionEx]
jmp 0x1004d3f9
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1004d44a
push 0xfaa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xa4], 0x3644
mov dword [ebp - 0x18], 0
jmp 0x1004d464
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004d47a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x388], 0xb26b
jmp 0x1004d45d
mov dword [ebp - 0x18], 0
jmp 0x1004d48a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004d4a0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x240], 0xffffffff
jmp 0x1004d483
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x240], 0
jmp 0x1004d4ce
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x240], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x240], 2
jge 0x1004d4f8
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
mov dword [ebp + eax*4 - 0x388], 0xe56f
jmp 0x1004d4b3
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x378], 0xfffffffb
mov dword [ebp - 0x36c], 0x8067e307
mov dword [ebp - 0x29c], 0x69ec4279
mov dword [ebp - 0x64], 0x1fa147b8
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x3dc], 0x6673e7ed
mov dword [ebp - 0x2c0], 0xfffffff7
mov dword [ebp - 0x70], 0x176d
mov dword [ebp - 0xb8], 0xb922
mov dword [ebp - 0x68], 0x12c005d9
mov dword [ebp - 0xd0], 0x300c
mov dword [ebp - 0x2d0], 0x67684abf
mov dword [ebp - 0x7c], 0
jmp 0x1004d59f
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1004d5b5
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x2a4], 0xbd3aeb59
jmp 0x1004d598
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0x2d4], 0xb8a2
jg 0x1004d5f2
mov dword [ebp - 0x174], 1
jmp 0x1004d5f9
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x29c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a4]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x2c0], 8
jge 0x1004d62d
mov dword [ebp - 0x234], 1
jmp 0x1004d634
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x68], eax
jge 0x1004d651
mov dword [ebp - 0x248], 1
jmp 0x1004d658
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 3
je 0x1004d679
mov dword [ebp - 0xf0], 1
jmp 0x1004d680
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x64], 0x96a0
jl 0x1004d6c5
mov dword [ebp - 0xf8], 1
jmp 0x1004d6cc
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x198]
cmp dword [ebp - 0xf8], eax
jg 0x1004d6e6
mov dword [ebp - 0x1e8], 1
jmp 0x1004d6ed
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x1e8]
cmp eax, 0xfffffff6
jg 0x1004d740
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x70], 0xfffffff8
jmp 0x1004d715
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jl 0x1004d73e
mov dword [ebp - 0x2cc], 1
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x100], 0
je 0x1004d73c
jmp 0x1004d70e
jmp 0x1004d70e
jmp 0x1004d79b
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1004d754
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [ebp - 0x64], 0x15
jmp 0x1004d764
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff8
jg 0x1004d79b
mov dword [ebp - 0x68], 0
jmp 0x1004d77a
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xf
jg 0x1004d799
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004d797
push 0xfaa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004d773
jmp 0x1004d75d
mov dword [ebp - 0x25c], 0x915bb00
mov dword [ebp - 0x1d0], 0xee3f2f34
mov dword [ebp - 0x40c], 0xffffffff
mov dword [ebp - 0x414], 1
mov dword [ebp - 0x41c], 0x57e8b72f
mov dword [ebp - 0x3b0], 0x2edc7555
mov dword [ebp - 0x3d0], 0x9ac196a1
mov dword [ebp - 0x350], 0x14173bf3
mov dword [ebp - 0x3c], 0
jmp 0x1004d7fb
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1004d811
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x3f8], 0xffffffff
jmp 0x1004d7f4
mov dword [ebp - 0x3c], 0
jmp 0x1004d821
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1004d837
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x42c], 0x8bffbefa
jmp 0x1004d81a
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x42c]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x42c], eax
mov dword [ebp - 0x44], 0x4e94f934
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x128], 2
mov dword [ebp - 0x24], 0
jmp 0x1004d87d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004d893
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x268], 0x89a9
jmp 0x1004d876
mov dword [ebp - 0x24], 0
jmp 0x1004d8a3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004d8b9
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x444], 0
jmp 0x1004d89c
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x44], eax
jge 0x1004d8cd
mov dword [ebp - 0x1a0], 1
jmp 0x1004d8d4
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0x8e1b8814
jae 0x1004d8ec
mov dword [ebp - 0x110], 1
jmp 0x1004d8f3
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x44], 1
jle 0x1004d905
mov dword [ebp - 0x108], 1
jmp 0x1004d90c
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
jne 0x1004d927
mov eax, 0x348f4a8f
test eax, eax
jne 0x1004d927
and dword [ebp - 0x220], 0
jmp 0x1004d931
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x220], eax
jl 0x1004d948
mov dword [ebp - 0x118], 1
jmp 0x1004d94f
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x118]
jg 0x1004d975
mov dword [ebp - 0x200], 1
jmp 0x1004d97c
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x200], eax
jle 0x1004d993
mov dword [ebp - 0x120], 1
jmp 0x1004d99a
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0x26a7
jg 0x1004d9b2
mov dword [ebp - 0x294], 1
jmp 0x1004d9b9
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x44], eax
je 0x1004d9d6
mov dword [ebp - 0x1b0], 1
jmp 0x1004d9dd
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x126c
jl 0x1004da01
mov dword [ebp - 0x244], 1
jmp 0x1004da08
and dword [ebp - 0x244], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
imul eax, dword [ebp - 0x244]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x444], eax
mov dword [ebp - 0x2c], 0
jmp 0x1004da38
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004da4e
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x394], 1
jmp 0x1004da31
mov dword [ebp - 0x34], 0x5d6c05ba
mov dword [ebp - 0x84], 0xfffffffb
mov dword [ebp - 0x34], 0
jmp 0x1004da6f
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffe6
jl 0x1004dce8
mov dword [ebp - 0x9c], 0
jmp 0x1004da92
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1004daae
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0xe0], 0x3c6fe23a
jmp 0x1004da85
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x34], 0
jne 0x1004db0b
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xe0], 0xd495
jg 0x1004dae6
mov dword [ebp - 0x130], 1
jmp 0x1004daed
and dword [ebp - 0x130], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
cmp dword [ebp - 0x130], eax
je 0x1004db0b
and dword [ebp - 0x2b8], 0
jmp 0x1004db15
mov dword [ebp - 0x2b8], 1
mov dword [ebp - 0x84], 8
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x360], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xe0]
cmp dword [ebp + eax - 0xe0], ecx
jg 0x1004db52
mov dword [ebp - 0x1b8], 1
jmp 0x1004db59
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1b8]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xe0]
jg 0x1004db7d
mov dword [ebp - 0x138], 1
jmp 0x1004db84
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
cmp dword [ebp - 0x138], eax
je 0x1004dba5
mov dword [ebp - 0x208], 1
jmp 0x1004dbac
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x208]
jne 0x1004dbc9
mov eax, 0xfffa
test eax, eax
jne 0x1004dbc9
and dword [ebp - 0x140], 0
jmp 0x1004dbd3
mov dword [ebp - 0x140], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
cmp dword [ebp - 0x140], eax
jg 0x1004dcd1
mov dword [ebp - 0xcc], 0x2d50fa8f
mov dword [ebp - 0x2b4], 0x550e3526
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xe0], 0xbb08
cmp dword [ebp - 0x34], 0
je 0x1004dc29
cmp dword [ebp - 0x34], 0
je 0x1004dc29
mov dword [ebp - 0x1c0], 1
jmp 0x1004dc30
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x84], 0xf758
je 0x1004dc48
mov dword [ebp - 0x270], 1
jmp 0x1004dc4f
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0xcc]
inc eax
cmp eax, dword [ebp - 0xcc]
jne 0x1004dc6a
mov dword [ebp - 0x148], 1
jmp 0x1004dc71
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x1c0]
cmp eax, dword [ebp - 0x148]
jg 0x1004dc98
cmp dword [ebp - 0x84], 0
jne 0x1004dc98
push 6
pop eax
test eax, eax
jne 0x1004dc98
and dword [ebp - 0x228], 0
jmp 0x1004dca2
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x228], eax
jle 0x1004dcbc
mov dword [ebp - 0x150], 1
jmp 0x1004dcc3
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x2b4], eax
jmp 0x1004dce3
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xe0], 0
je 0x1004dce3
jmp 0x1004dce8
jmp 0x1004da68
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1004dcfc
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x2c], 0
jmp 0x1004dd0c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1004dd22
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x2f8], 3
jmp 0x1004dd05
cmp dword [ebp - 0xa4], 0xffffffff
jbe 0x1004dd37
mov dword [ebp - 0x1c8], 1
jmp 0x1004dd3e
and dword [ebp - 0x1c8], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x394], 0x485b
cmp dword [ebp - 0x1c8], 0x485b
jg 0x1004dd67
mov dword [ebp - 0x238], 1
jmp 0x1004dd6e
and dword [ebp - 0x238], 0
mov dword [ebp - 0x278], 0
cmp dword [ebp - 0xa4], 0xc863cc1d
ja 0x1004dd90
mov dword [ebp - 0x158], 1
jmp 0x1004dd97
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2f8]
cmp dword [ebp - 0x158], eax
jg 0x1004ddb8
mov dword [ebp - 0x210], 1
jmp 0x1004ddbf
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x210]
lea eax, [ecx + eax + 1]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x2f8]
jle 0x1004ddea
mov dword [ebp - 0x160], 1
jmp 0x1004ddf1
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x25c]
cmp dword [ebp - 0x160], eax
je 0x1004de0b
mov dword [ebp - 0x280], 1
jmp 0x1004de12
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x418], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2f8]
add eax, dword [ebp - 0x1d0]
jne 0x1004de3a
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x1004de43
mov eax, 0x88dc
test eax, eax
jne 0x1004de55
mov eax, 0x2714
test eax, eax
jne 0x1004de55
and dword [ebp - 0x168], 0
jmp 0x1004de5f
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x168], eax
jne 0x1004de79
mov dword [ebp - 0x170], 1
jmp 0x1004de80
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x170]
jne 0x1004de9a
mov dword [ebp - 0x1d8], 1
jmp 0x1004dea1
and dword [ebp - 0x1d8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp + eax - 0x2f8], ecx
push 1
lea eax, [ebp - 0x488]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004c3c4
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x45c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x45c]
lea edi, [ebp - 0x2ec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xe8], 0xfffffff8
mov byte [ebp - 0x5c], 0
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x1004df10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xc], 0
jmp 0x1004df20
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffff5
je 0x1004e10c
mov dword [ebp - 0xc4], 0x32fd2d1a
mov dword [ebp - 0x8c], 3
mov dword [ebp - 0x230], 3
cmp dword [ebp - 0xc], 0
jne 0x1004df71
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3e0], eax
or eax, 0xffffffff
jne 0x1004df71
and dword [ebp - 0x178], 0
jmp 0x1004df7b
mov dword [ebp - 0x178], 1
cmp dword [ebp - 0x178], 0xfffffffc
je 0x1004df90
mov dword [ebp - 0x218], 1
jmp 0x1004df97
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
add eax, 0x3989
cmp eax, 0x874b
jge 0x1004dfb5
mov dword [ebp - 0x180], 1
jmp 0x1004dfbc
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx - 2]
cmp eax, 0x1449c9fb
jl 0x1004dfe2
mov dword [ebp - 0x1e0], 1
jmp 0x1004dfe9
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 0x2978
jne 0x1004e001
mov dword [ebp - 0x2bc], 1
jmp 0x1004e008
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0xc4], 0xfffffffd
jle 0x1004e029
mov dword [ebp - 0x188], 1
jmp 0x1004e030
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0xc], 0
je 0x1004e0ad
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x8c], 0x6d5d64f6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x1004e085
mov dword [ebp - 0x190], 1
jmp 0x1004e08c
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x1004e0ad
mov dword [ebp - 0x288], 1
jmp 0x1004e0b4
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0xc], 0
je 0x1004e0f2
mov dword [ebp - 0x2c8], 0xaedf47f2
cmp dword [ebp - 0x2c8], 0
je 0x1004e0f0
jmp 0x1004e10c
jmp 0x1004e107
mov dword [ebp - 0x290], 0xafca8629
cmp dword [ebp - 0x290], 0
je 0x1004e107
jmp 0x1004e10c
jmp 0x1004df19
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x3a8], 0x20398070
mov dword [ebp - 0x398], 1
mov dword [ebp - 0x3c4], 0x974b666a
mov dword [ebp - 0x3a4], 0x9a92
mov dword [ebp - 0x310], 0x51c3
mov dword [ebp - 0x30c], 0x51c3
mov dword [ebp - 0x308], 0x51c3
mov dword [ebp - 0x304], 0x51c3
mov dword [ebp - 0xb4], 0
jmp 0x1004e17f
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 4
jge 0x1004e19b
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x498], 0
jmp 0x1004e172
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x310]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x310], eax
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1004e1e7
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0xb7
push 0x49e
push 0x1c49
push 0x1e61
push 0
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 0x1c], 0x74b666a7
mov dword [ebp - 0x104], 0x3edb
mov dword [ebp - 0x98], 0x19c2
mov dword [ebp - 0xbc], 0x1efae07d
mov dword [ebp - 0x1f8], 0xfffffff9
mov dword [ebp - 0x1f4], 0xfffffff9
mov dword [ebp - 0x1f0], 0xfffffff9
mov dword [ebp - 0x1ec], 0xfffffff9
mov dword [ebp - 0x298], 0xffffffff
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x14], 0
jmp 0x1004e262
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004e278
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa8], 0x26595ad3
jmp 0x1004e25b
mov dword [ebp - 0x14], 0
jmp 0x1004e288
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004e29e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x474], 0x2a7fad54
jmp 0x1004e281
imul eax, dword [ebp - 0x104], 0xfffffff8
cmp eax, 1
ja 0x1004e2eb
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xf58c
jge 0x1004e2cf
mov dword [ebp - 0xec], 1
jmp 0x1004e2d6
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 2
jne 0x1004e2eb
mov dword [ebp - 0xf4], 1
jmp 0x1004e2f2
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
cmp dword [ebp - 0xf4], eax
jge 0x1004e319
mov eax, 0x8a87ea82
test eax, eax
jne 0x1004e319
and dword [ebp - 0xfc], 0
jmp 0x1004e323
mov dword [ebp - 0xfc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
cmp dword [ebp - 0xfc], eax
jle 0x1004e344
mov dword [ebp - 0xd4], 1
jmp 0x1004e34b
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0xa8], ecx
cmp dword [ebp - 0xd4], 0
je 0x1004e37a
push 3
pop eax
test eax, eax
je 0x1004e37a
mov dword [ebp - 0x10c], 1
jmp 0x1004e381
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0x10c], eax
jl 0x1004e39b
mov dword [ebp - 0x114], 1
jmp 0x1004e3a2
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 1
jge 0x1004e3b7
mov dword [ebp - 0x2c4], 1
jmp 0x1004e3be
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0xbc]
cmp eax, 0xa9864ba8
jae 0x1004e3ea
mov dword [ebp - 0x11c], 1
jmp 0x1004e3f1
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp + eax - 0x1f8]
push 4
pop eax
imul eax, eax, 0
sub ecx, dword [ebp + eax - 0x1f8]
imul eax, ecx, 0xe213
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0x1f8]
je 0x1004e432
mov dword [ebp - 0x124], 1
jmp 0x1004e439
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x298], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f8]
mov dword [ebp - 0x3d4], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f8]
mov dword [ebp - 0x3bc], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x474], 0
cmp dword [ebp - 0xbc], 0
je 0x1004e490
mov dword [ebp - 0x12c], 1
jmp 0x1004e497
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp + eax - 0x1f8]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x1f8]
jle 0x1004e4c2
cmp dword [ebp - 0x13c], 0
je 0x1004e4de
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa8], 0
je 0x1004e4de
mov dword [ebp - 0x134], 1
jmp 0x1004e4e5
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xdb3fa3ce
ja 0x1004e4fd
mov dword [ebp - 0x144], 1
jmp 0x1004e504
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x144], eax
je 0x1004e51e
mov dword [ebp - 0x14c], 1
jmp 0x1004e525
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14c]
sub ecx, dword [ebp + eax - 0x1f8]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x258], 0x4e401d93
mov dword [ebp - 0x254], 0x4e401d93
mov dword [ebp - 0x250], 0x4e401d93
mov dword [ebp - 0x24c], 0x4e401d93
mov dword [ebp - 0x6c], 0x68ab8ac2
mov dword [ebp - 0xa0], 0
jmp 0x1004e59b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 3
jge 0x1004e5b7
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x450], 9
jmp 0x1004e58e
cmp dword [ebp - 0x20], 1
jge 0x1004e5c9
mov dword [ebp - 0x164], 1
jmp 0x1004e5d0
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x20], 0
je 0x1004e5e6
xor eax, eax
je 0x1004e5e6
mov dword [ebp - 0x154], 1
jmp 0x1004e5ed
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 1
jne 0x1004e602
mov dword [ebp - 0x15c], 1
jmp 0x1004e609
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x15c]
cmp eax, 1
jb 0x1004e623
mov dword [ebp - 0x16c], 1
jmp 0x1004e62a
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x16c]
jl 0x1004e644
mov dword [ebp - 0xe4], 1
jmp 0x1004e64b
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x37e0
je 0x1004e66c
mov eax, 0x5e2d
test eax, eax
je 0x1004e66c
mov dword [ebp - 0x2a0], 1
jmp 0x1004e673
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jg 0x1004e693
mov dword [ebp - 0x17c], 1
jmp 0x1004e69a
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x17c]
jge 0x1004e6b1
mov dword [ebp - 0x184], 1
jmp 0x1004e6b8
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x184], eax
jl 0x1004e6cf
mov dword [ebp - 0x18c], 1
jmp 0x1004e6d6
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0x15bb
jg 0x1004e6ee
mov dword [ebp - 0x194], 1
jmp 0x1004e6f5
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x74], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
mov dword [ebp - 0x3b8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
cmp dword [ebp - 0x20], eax
jg 0x1004e72f
mov dword [ebp - 0x19c], 1
jmp 0x1004e736
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
add eax, dword [ebp - 0x19c]
je 0x1004e898
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x258], 0
je 0x1004e898
mov dword [ebp - 0x1bc], 0x88ad
mov dword [ebp - 0x2b0], 0x8c74c3ee
mov dword [ebp - 0x340], 0x14be495e
mov dword [ebp - 0x33c], 0x14be495e
mov dword [ebp - 0x338], 0x14be495e
mov dword [ebp - 0x334], 0x14be495e
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x1004e7c2
push 0
push 0x1cae
push 0x1315
push 0x7e1
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [ebp - 0x74], 9
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1bc], eax
jle 0x1004e7e0
mov dword [ebp - 0x1a4], 1
jmp 0x1004e7e7
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0xa8d6e859
jbe 0x1004e7ff
mov dword [ebp - 0xc0], 1
jmp 0x1004e806
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x340], ecx
mov eax, dword [ebp - 0x2b0]
sub eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1ac], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp + eax - 0x450], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
cmp dword [ebp - 0x1ac], eax
jg 0x1004e85e
mov dword [ebp - 0x1b4], 1
jmp 0x1004e865
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0x7963f6d1
je 0x1004e87d
mov dword [ebp - 0x2a8], 1
jmp 0x1004e884
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
jmp 0x1004e907
mov dword [ebp - 0x6c], 0
jmp 0x1004e8a8
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jg 0x1004e8ee
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1004e8d3
push 0
push 0x2474
push 0
push 0xad1
push 0x4a0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov byte [ebp - 0x5e], 0
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x1004e8ec
push 0x299
push 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
jmp 0x1004e8a1
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1004e907
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov dword [ebp - 0x94], 0xc03342eb
mov dword [ebp - 0x3c0], 0xfffffffd
mov dword [ebp - 0x3f0], 0xfffffffc
mov dword [ebp - 0x3c8], 0xc1e1
mov dword [ebp - 0x28], 0
jmp 0x1004e93f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1004e955
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x320], 0x7ab89bdd
jmp 0x1004e938
mov dword [ebp - 0x28], 0
jmp 0x1004e965
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1004e97b
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x464], 0xffffffff
jmp 0x1004e95e
mov dword [ebp - 0x94], 0
jmp 0x1004e994
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 6
jl 0x1004eae4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x408], 1
mov dword [ebp - 0x348], 1
mov dword [ebp - 0x30], 0
jmp 0x1004e9cc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x1004e9e2
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x4a8], 0xffffffff
jmp 0x1004e9c5
mov dword [ebp - 0x30], 0
jmp 0x1004e9f2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004ea08
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x438], 0x7ae2718b
jmp 0x1004e9eb
xor eax, eax
inc eax
je 0x1004ea50
mov dword [ebp - 0x78], 0
jmp 0x1004ea1d
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x1004ea33
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x300], 0xae88b149
jmp 0x1004ea16
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x300]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x300], eax
jmp 0x1004eaca
mov dword [ebp - 0x38], 3
jmp 0x1004ea60
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1004eaca
mov dword [ebp - 0x260], 0xb83dcdcb
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x320]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp + eax*4 - 0x320], ecx
cmp dword [ebp - 0x1c4], 0
je 0x1004eaba
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x260]
mov dword [ebp + eax*4 - 0x320], ecx
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x320], 0
je 0x1004eab8
jmp 0x1004eaca
jmp 0x1004eac8
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x320], 0xa44e0c42
jmp 0x1004ea59
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x438], 0
je 0x1004eadf
jmp 0x1004e987
jmp 0x1004e987
mov dword [ebp - 0x40], 0
jmp 0x1004eaf4
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004eb0a
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x47c], 0x963ba20b
jmp 0x1004eaed
mov dword [ebp - 0x40], 0
jmp 0x1004eb1a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004eb30
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x3a0], 0xfffffff9
jmp 0x1004eb13
cmp dword [ebp - 0x1c], 9
je 0x1004eb42
mov dword [ebp - 0x1cc], 1
jmp 0x1004eb49
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1c], 0
je 0x1004eb61
cmp dword [ebp - 0x1c], 0
je 0x1004eb61
mov dword [ebp - 0x1d4], 1
jmp 0x1004eb68
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x1d4]
je 0x1004eb88
cmp dword [ebp - 8], 0
je 0x1004eb88
mov dword [ebp - 0x1dc], 1
jmp 0x1004eb8f
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
sub eax, 0x2be1aa6a
je 0x1004ec4f
mov dword [ebp - 0x1c], 0
jmp 0x1004ebb0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1004ec4a
mov dword [ebp - 8], 0
jmp 0x1004ebca
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x1004ec13
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x330]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x330], eax
jmp 0x1004ebc3
mov dword [ebp - 8], 0
jmp 0x1004ec23
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x1004ec45
mov dword [ebp - 0x264], 0x9cb0befc
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.1004cb32
pop ecx
pop ecx
jmp 0x1004ec1c
jmp 0x1004eba9
jmp 0x1004ed48
mov dword [ebp - 0xc8], 1
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1004ec73
push 1
push 0x6dd2
call fcn.1004cb32
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 8], 0xda6c
jl 0x1004ec9a
mov dword [ebp - 0x1e4], 1
jmp 0x1004eca1
and dword [ebp - 0x1e4], 0
cmp dword [ebp - 0x1e4], 0xfffffffa
jge 0x1004ecb6
mov dword [ebp - 0x26c], 1
jmp 0x1004ecbd
and dword [ebp - 0x26c], 0
mov eax, 0xf816
test eax, eax
jne 0x1004ecd2
mov dword [ebp - 0x1fc], 1
jmp 0x1004ecd9
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x1fc], eax
jge 0x1004ecf9
cmp dword [ebp - 0x1c], 0
je 0x1004ecf9
mov dword [ebp - 0x204], 1
jmp 0x1004ed00
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x204], eax
jne 0x1004ed14
cmp dword [ebp - 0xc8], 0
jne 0x1004ed22
or eax, 0xffffffff
jne 0x1004ed22
and dword [ebp - 0x274], 0
jmp 0x1004ed2c
mov dword [ebp - 0x274], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x35c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x3a0], ecx
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x1004ed59
call fcn.1004d1d2
mov dword [ebp - 0x80], 0
jmp 0x1004ed69
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1004ed7c
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x58], 0xffffffff
jmp 0x1004ed62
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x1004ee0c
mov dword [ebp - 0x10], 0xfffffffb
mov dword [ebp - 0x10], 0x13
jmp 0x1004edb5
cmp dword [ebp - 0x10], 0xf
jle 0x1004eddb
cmp dword [ebp - 0x10], 0
je 0x1004edc3
jmp 0x1004eddb
mov byte [ebp - 0x4c], 0
movzx eax, byte [ebp - 0x4c]
test eax, eax
je 0x1004edd9
mov dword [ebp - 0x10], 0
jmp 0x1004edeb
cmp dword [ebp - 0x10], 0xffffffe7
je 0x1004ee07
mov dword [ebp - 4], 0xf37c04cc
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0
jmp 0x1004ee2d
cmp dword [ebp - 4], 1
jg 0x1004ef74
mov dword [ebp - 0x28c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x58]
cmp dword [ebp + eax*4 - 0x58], ecx
je 0x1004ee5d
mov dword [ebp - 0x27c], 1
jmp 0x1004ee64
and dword [ebp - 0x27c], 0
mov dword [ebp - 0x88], 0x389a
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 4]
sub eax, dword [ebp + ecx*4 - 0x58]
mov ecx, dword [ebp - 4]
imul eax, dword [ebp + ecx*4 - 0x58]
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0x58]
jne 0x1004ee98
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004ef8f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp - 0x2ec], 0
je 0x1004efac