Function at 0x10056554
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 0x14], 0xb743d837
mov dword [ebp - 0x190], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1005657e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x10056594
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c0], 0x82062403
jmp 0x10056577
mov dword [ebp - 8], 0
jmp 0x100565a4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x100565ba
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x140], 0x142b9193
jmp 0x1005659d
mov dword [ebp - 8], 0
jmp 0x100565ca
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100565e0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x22c], 0xffff
jmp 0x100565c3
mov dword [ebp - 0x14], 0
jmp 0x100565f0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1005677e
mov dword [ebp - 0x5c], 8
mov dword [ebp - 0x1e4], 0xfffffffc
mov dword [ebp - 0x1e0], 0xfffffffc
mov dword [ebp - 0x1dc], 0xfffffffc
mov dword [ebp - 0x1d8], 0xfffffffc
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xac], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x140], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp - 0xac], eax
jle 0x1005668e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c0], 0
jne 0x1005668e
and dword [ebp - 0x110], 0
jmp 0x10056698
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1c0]
cmp eax, dword [ebp - 0x110]
jge 0x100566b3
mov dword [ebp - 0x54], 1
jmp 0x100566b7
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0x1e4], ecx
imul eax, dword [ebp - 0x54], 0x8cf
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx - 0x181290e8]
cmp eax, 1
jne 0x100566e9
mov dword [ebp - 0x1a4], 1
jmp 0x100566f0
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1e8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x8573
jl 0x10056727
mov dword [ebp - 0x90], 1
jmp 0x1005672e
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1c0]
imul eax, dword [ebp - 0x90]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x1c0]
test eax, eax
jne 0x10056763
mov eax, 0xb969b42c
test eax, eax
jne 0x10056763
and dword [ebp - 0xe8], 0
jmp 0x1005676d
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x190], eax
jmp 0x100565e9
mov dword [ebp - 0x14], 0
jmp 0x1005678e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 9
jge 0x100568a5
mov dword [ebp - 0x2c], 0xf18
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x22c], 0
je 0x100567c4
mov eax, 0xf0a6
test eax, eax
je 0x100567c4
mov dword [ebp - 0x128], 1
jmp 0x100567cb
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x140]
cmp dword [ebp - 0x2c], eax
je 0x100567e9
mov dword [ebp - 0x98], 1
jmp 0x100567f0
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x98], eax
je 0x10056807
mov dword [ebp - 0x14c], 1
jmp 0x1005680e
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x140]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x2c]
neg eax
mov ecx, dword [ebp - 0x128]
sub ecx, eax
je 0x10056839
mov eax, 0x1ce0
test eax, eax
jne 0x1005684b
mov eax, 0xfff7
test eax, eax
jne 0x1005684b
and dword [ebp - 0xa0], 0
jmp 0x10056855
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x2c]
jge 0x10056870
mov dword [ebp - 0xf0], 1
jmp 0x10056877
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x140], ecx
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x100568a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10056787
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10057306
mov dword [ebp - 0x28], 4
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100568df
push 0x2009
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]
mov dword [ebp - 0x28], 0
jmp 0x100568ef
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x13
jge 0x100568ff
cmp dword [ebp - 0x28], 0
je 0x100568fd
jmp 0x100568ff
jmp 0x100568e8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x6c], 0x6d4f2887
mov dword [ebp - 0x4c], 0x664dc9ed
mov dword [ebp - 0x24], 0x85faafe3
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x19c], 0x12afd77c
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x10056956
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1005696c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1d4], 0x87a5eafb
jmp 0x1005694f
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x64], 0
jae 0x100569a2
mov dword [ebp - 0xa8], 1
jmp 0x100569a9
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x6c], eax
jle 0x100569cc
cmp dword [ebp - 0x74], 0
je 0x100569cc
mov dword [ebp - 0x184], 1
jmp 0x100569d3
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x210], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
mov dword [ebp - 0x218], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
cmp dword [ebp + eax - 0x1d4], ecx
jl 0x10056a1f
mov dword [ebp - 0x118], 1
jmp 0x10056a26
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x24]
jge 0x10056a41
mov dword [ebp - 0xb0], 1
jmp 0x10056a48
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x19c]
imul eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x24], 0
jmp 0x10056a6b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10056a87
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10056a85
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10056a64
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x44], 0xb0cadfb1
mov dword [ebp - 0xc], 0
jmp 0x10056aae
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x10056ac1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x18], 8
jmp 0x10056aa7
mov dword [ebp - 0xc], 0
jmp 0x10056ad1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x10056ae7
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1b0], 0xfffffff6
jmp 0x10056aca
mov dword [ebp - 0xc], 0
jmp 0x10056af7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x10056b0d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1cc], 0x90f9986e
jmp 0x10056af0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x18], 0
jmp 0x10056b32
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x18], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x18], 0x1d
je 0x10056b55
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10056b53
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10056b1d
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
cmp dword [ebp + eax - 0x18], ecx
jle 0x10056b70
mov dword [ebp - 0xf8], 1
jmp 0x10056b77
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xf8], eax
jg 0x10056b8e
mov dword [ebp - 0xb8], 1
jmp 0x10056b95
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1b0]
imul eax, dword [ebp - 0xb8]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1b0]
je 0x10056bc4
mov dword [ebp - 0xc0], 1
jmp 0x10056bcb
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1cc]
inc eax
mov dword [ebp - 0x138], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x1cc], ecx
mov eax, dword [ebp - 0x138]
imul eax, dword [ebp - 0xc0]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x18]
sub ecx, eax
mov dword [ebp - 0x44], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp eax, dword [ebp - 0x44]
jl 0x10056c39
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1cc], 0
je 0x10056c39
mov dword [ebp - 0x100], 1
jmp 0x10056c40
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x100], eax
jge 0x10056c57
mov dword [ebp - 0xc8], 1
jmp 0x10056c5e
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0x6baf
jl 0x10056c76
mov dword [ebp - 0x120], 1
jmp 0x10056c7d
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x30]
jne 0x10056c94
mov dword [ebp - 0x188], 1
jmp 0x10056c9b
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x44], eax
jne 0x10056cb5
mov dword [ebp - 0x58], 1
jmp 0x10056cb9
and dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x1b0], ecx
cmp dword [ebp - 0x58], 0
jne 0x10056ce8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1cc], 0
jne 0x10056ce8
and dword [ebp - 0xd0], 0
jmp 0x10056cf2
mov dword [ebp - 0xd0], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp + eax - 0x18], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xf72b5725
mov dword [ebp - 0x48], 0x2fa5d872
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0x5dbd55a
mov dword [ebp - 0x194], 0x26a8acdd
mov eax, 0xab2aee5a
test eax, eax
je 0x10056efb
cmp dword [ebp - 4], 0
jne 0x10056d74
mov dword [ebp - 0x108], 1
jmp 0x10056d7b
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 1
jg 0x10056d90
mov dword [ebp - 0x160], 1
jmp 0x10056d97
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 4], 1
jne 0x10056db2
mov dword [ebp - 0xd8], 1
jmp 0x10056db9
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd8], eax
jne 0x10056dd0
mov dword [ebp - 0x130], 1
jmp 0x10056dd7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x48], eax
jl 0x10056df4
mov dword [ebp - 0xe0], 1
jmp 0x10056dfb
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe0], eax
jle 0x10056e12
mov dword [ebp - 0x88], 1
jmp 0x10056e19
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x38], eax
jge 0x10056e3a
mov dword [ebp - 0x8c], 1
jmp 0x10056e41
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x10]
imul eax, eax, 0xffffffff
test eax, eax
je 0x10056e63
cmp dword [ebp - 0x38], 0
je 0x10056e63
mov dword [ebp - 0x94], 1
jmp 0x10056e6a
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x94], eax
jl 0x10056e81
mov dword [ebp - 0x9c], 1
jmp 0x10056e88
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffd
jge 0x10056ea3
mov dword [ebp - 0xa4], 1
jmp 0x10056eaa
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xa4]
jl 0x10056ec1
mov dword [ebp - 0x84], 1
jmp 0x10056ec8
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xf1ef
jle 0x10056ee0
mov dword [ebp - 0xb4], 1
jmp 0x10056ee7
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xb4]
je 0x10056efb
and dword [ebp - 0xbc], 0
jmp 0x10056f05
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xbc], eax
jg 0x10056f22
cmp dword [ebp - 0x48], 0
je 0x10056f22
mov dword [ebp - 0xc4], 1
jmp 0x10056f29
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 1
je 0x10056f3e
mov dword [ebp - 0xcc], 1
jmp 0x10056f45
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 9
ja 0x10056f5a
mov dword [ebp - 0xd4], 1
jmp 0x10056f61
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 4]
je 0x10056f7e
cmp dword [ebp - 0x10], 0
je 0x10056f7e
mov dword [ebp - 0xdc], 1
jmp 0x10056f85
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
add eax, 0x3633e7a3
je 0x10056fa7
mov eax, 0x7e05af84
test eax, eax
je 0x10056fa7
mov dword [ebp - 0xe4], 1
jmp 0x10056fae
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe4], eax
jle 0x10056fc5
mov dword [ebp - 0xec], 1
jmp 0x10056fcc
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0xec], eax
jne 0x10056fe9
cmp dword [ebp - 0x10], 0
jne 0x10056fe9
and dword [ebp - 0xf4], 0
jmp 0x10056ff3
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xf4]
sub eax, 0x7fad5407
je 0x1005700a
cmp dword [ebp - 0x38], 0
jne 0x10057014
cmp dword [ebp - 0x10], 0
je 0x100571a8
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x40], 0
jmp 0x1005702e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10057041
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x80], 0x3232af72
jmp 0x10057027
mov dword [ebp - 0x10], 0
jmp 0x10057051
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe7
jg 0x10057072
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10057070
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x1005704a
cmp dword [ebp - 4], 0
je 0x10057149
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov dword [ebp - 0x20c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0xfff8
jb 0x100570a8
mov dword [ebp - 0xfc], 1
jmp 0x100570af
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp - 0xfc], eax
jle 0x100570cd
mov dword [ebp - 0x104], 1
jmp 0x100570d4
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
add eax, 0x7874d2d
jne 0x100570ec
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x80], 0
imul eax, dword [ebp - 0x10], 0xa0c2
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x80]
jg 0x1005710b
mov dword [ebp - 0x168], 1
jmp 0x10057112
and dword [ebp - 0x168], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x80]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x21c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov dword [ebp - 0x204], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x80], ecx
jne 0x1005715f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
jne 0x1005715f
and dword [ebp - 0x10c], 0
jmp 0x10057169
mov dword [ebp - 0x10c], 1
cmp dword [ebp - 0x10c], 1
jl 0x1005719d
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10057194
push 0
push 0
push 0x3c4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x10], 0xffffffff
jmp 0x100571a6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1a0], eax
jmp 0x100571bc
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x100571bc
push 0
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
jmp 0x10057232
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x27
jle 0x10057304
mov dword [ebp - 0x60], 0xbf567d71
mov eax, dword [ebp - 0x15c]
cmp dword [eax], 0
jne 0x100572c8
mov eax, dword [ebp - 0x164]
cmp dword [eax], 0
jne 0x100572c8
cmp dword [ebp - 0x60], 0
jne 0x10057289
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x60]
je 0x10057282
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
je 0x10057282
mov dword [ebp - 0x114], 1
jmp 0x10057289
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x68]
cmp dword [eax], 1
jne 0x1005729d
mov dword [ebp - 0x11c], 1
jmp 0x100572a4
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x11c]
test eax, eax
jne 0x100572c8
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
jne 0x100572c8
xor eax, eax
inc eax
jne 0x100572c8
and dword [ebp - 0x124], 0
jmp 0x100572d2
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
add eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x12c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10057227
jmp 0x1005733c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
movzx eax, byte [eax]
test eax, eax
je 0x1005733c
push 0
push 0x2541
push 0x24fa
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov esp, ebp
pop ebp
ret