Function at 0x100253ff
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002578c
mov dword [ebp - 0x18], 0xb02971c1
mov dword [ebp - 0x1c], 5
cmp dword [ebp - 0x18], 0xffffffff
jl 0x10025431
mov dword [ebp - 0x50], 1
jmp 0x10025435
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x50]
jl 0x10025490
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10025472
push 0x1cf6
push 0
push 0
push 0x10d0
push 0x916
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_GetDIBits]
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002548b
push 0x2115
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10025527
mov dword [ebp - 0x38], 0x5cc25bfc
mov dword [ebp - 0x30], 0
jmp 0x100254a7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100254bd
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xc8], 0x8dee
jmp 0x100254a0
mov dword [ebp - 0x18], 0xfffffff8
jmp 0x100254cd
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe5
jg 0x10025527
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
dec ecx
mov dword [ebp - 0x38], ecx
test eax, eax
jne 0x100254f0
mov eax, 0xfffd
test eax, eax
jne 0x100254f0
and dword [ebp - 0x70], 0
jmp 0x100254f7
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 1
jmp 0x1002550e
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10025525
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xc8], 0
je 0x10025523
jmp 0x10025525
jmp 0x10025507
jmp 0x100254c6
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xe0], 8
mov dword [ebp - 0xbc], 0xfffffffe
mov dword [ebp - 0x24], 0xb9c5c935
mov dword [ebp - 4], 0
jmp 0x10025559
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002556f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb4], 0x7571177e
jmp 0x10025552
mov dword [ebp - 4], 0
jmp 0x1002557f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x10025595
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xec], 1
jmp 0x10025578
mov dword [ebp - 0x20], 2
jmp 0x100255a5
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002575e
mov dword [ebp - 0xc], 0xce1e2c0d
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x34], 0
jmp 0x100255cd
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100255e3
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xd4], 8
jmp 0x100255c6
mov dword [ebp - 0xc], 2
jmp 0x100255f3
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x100256fd
mov dword [ebp - 0x3c], 0xf9beab1d
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xf4], 0xba5616d2
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xb8], 0x250042
mov dword [ebp - 0xcc], 0x1eb7e595
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xb4], 0
je 0x1002569b
mov eax, dword [ebp - 0x3c]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0xb4]
je 0x10025667
cmp dword [ebp - 0x3c], 0
je 0x10025667
mov dword [ebp - 0x4c], 1
jmp 0x1002566b
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
imul eax, dword [ebp - 0x64], 0xffffffff
test eax, eax
jbe 0x10025682
mov dword [ebp - 0x54], 1
jmp 0x10025686
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xe819d338
je 0x1002569b
mov dword [ebp - 0x84], 1
jmp 0x100256a2
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xb4], 0
jne 0x100256bd
mov dword [ebp - 0x94], 1
jmp 0x100256c4
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xf8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0xd4], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xec]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xec], eax
jmp 0x100255ec
mov dword [ebp - 0x24], 0
jmp 0x1002570d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10025759
mov dword [ebp - 0xc], 0
jmp 0x10025723
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jg 0x10025741
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002573f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1002571c
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10025757
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
jmp 0x10025706
jmp 0x1002559e
push 0x1cf6
push 0
push 0
push 0x10d0
push 0x916
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_GetDIBits]
jmp 0x100259d4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x104], 5
mov dword [ebp - 0x100], 5
mov dword [ebp - 0xfc], 5
mov dword [ebp - 0x28], 0xe5ccc90a
mov dword [ebp - 0x28], 0
jmp 0x100257d4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x100257fc
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x100257fa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
jmp 0x100257cd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 8], 0xd9ed
mov dword [ebp - 0xa8], 8
mov dword [ebp - 0xa4], 8
mov dword [ebp - 0xa0], 8
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0x2c], 0
jmp 0x10025859
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002586c
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x7c], 0xd9e2a8d3
jmp 0x10025852
mov eax, dword [ebp - 8]
mov dword [ebp - 0xd8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 0xfffffff9
jg 0x10025886
cmp dword [ebp - 8], 0
mov eax, 0x5ab3
cmp eax, 1
jbe 0x10025899
mov dword [ebp - 0x6c], 1
jmp 0x1002589d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x100258b1
mov dword [ebp - 0x5c], 1
jmp 0x100258b5
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x5c], eax
je 0x100258cd
mov dword [ebp - 0x44], 1
jmp 0x100258d1
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0xa8], ecx
mov dword [ebp - 8], 1
jmp 0x100258f0
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x100259c2
mov dword [ebp - 0x68], 0x3c5ad058
mov dword [ebp - 0x98], 0xffffffff
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 0
jne 0x1002595b
cmp dword [ebp - 8], 0
jne 0x10025945
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xa8]
neg eax
jne 0x10025945
and dword [ebp - 0x48], 0
jmp 0x1002594c
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x48], 0x1ea0
jge 0x1002595b
and dword [ebp - 0x40], 0
jmp 0x10025962
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x40]
cmp eax, 0xe58e
je 0x10025981
mov eax, 0xbd2f
test eax, eax
je 0x10025981
mov dword [ebp - 0x58], 1
jmp 0x10025985
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 4
jl 0x10025994
mov dword [ebp - 0x60], 1
jmp 0x10025998
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x20225168
je 0x100259b0
cmp dword [ebp - 0x68], 0
je 0x100259b0
mov dword [ebp - 0x74], 1
jmp 0x100259b4
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x98], eax
jmp 0x100258e9
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret