Function at 0x10022d47
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002310f
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xd32ffab8
mov dword [ebp - 0x24], 0
jmp 0x10022d7a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10022d90
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xcc], 0xa2fafd11
jmp 0x10022d73
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x10022da0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
je 0x10022e10
mov dword [ebp - 0xa4], 0xde0369bd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x10022dc6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x13
je 0x10022e0e
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x18], 0
jmp 0x10022de3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10022df9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xcc], 0xa835a23e
jmp 0x10022ddc
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp + eax - 0xcc], ecx
jmp 0x10022dbf
jmp 0x10022d99
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x10022fcf
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x34], 0x60f57a7c
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xd0], 0x67f5ed9a
mov dword [ebp - 0xdc], 0xd4a0d461
mov dword [ebp - 0xd8], 0x3a065c2d
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x10022e9b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x10022eb1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xe8], 0
jmp 0x10022e94
mov dword [ebp - 4], 0
jmp 0x10022ec1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10022ed4
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x44], 0x4499c77e
jmp 0x10022eba
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x44]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x44], eax
cmp dword [ebp - 0x30], 0
jne 0x10022f57
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x48], eax
jne 0x10022f09
mov dword [ebp - 0x3c], 1
jmp 0x10022f0d
and dword [ebp - 0x3c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xe8]
cmp dword [ebp - 0x3c], eax
jne 0x10022f38
mov dword [ebp - 0x5c], 1
jmp 0x10022f3c
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp eax, dword [ebp - 0x30]
je 0x10022f57
and dword [ebp - 0x4c], 0
jmp 0x10022f5e
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 0xfffa
je 0x10022f70
mov dword [ebp - 0x6c], 1
jmp 0x10022f74
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x6c], eax
jle 0x10022f8c
mov dword [ebp - 0x54], 1
jmp 0x10022f90
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x54], eax
je 0x10022fa4
mov dword [ebp - 0x64], 1
jmp 0x10022fa8
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
push 0
push 0
push 0xc1b
push 0x123
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
mov dword [ebp - 0xbc], 0x799a
mov dword [ebp - 0xb8], 0x799a
mov dword [ebp - 0xb4], 0x799a
mov dword [ebp - 0xb0], 0x799a
mov dword [ebp - 0x80], 0xa12b57e8
mov dword [ebp - 0x7c], 0xa12b57e8
mov dword [ebp - 0x78], 0xa12b57e8
mov dword [ebp - 0x74], 0xa12b57e8
mov dword [ebp - 0x58], 0x73bf
mov dword [ebp - 0xd4], 0x733e34b6
mov dword [ebp - 0x1c], 0
jmp 0x10023034
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002304a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xa0], 0xa50b5f0b
jmp 0x1002302d
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x80], 0
jmp 0x1002306f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x80], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 3
jg 0x1002310a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov eax, dword [ebp + eax*4 - 0xbc]
mov dword [ebp - 0x50], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0xbc], ecx
cmp dword [ebp - 0x50], 0
je 0x100230b7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
jmp 0x100230e3
mov byte [ebp - 8], 0
movzx eax, byte [ebp - 8]
test eax, eax
je 0x100230d2
push 0
push 1
push 0x22c7
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xa0], 0x596a8978
mov byte [ebp - 7], 0
movzx eax, byte [ebp - 7]
test eax, eax
je 0x10023105
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x1002305a
jmp 0x1002324d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x2c], 0
jmp 0x10023136
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffef
je 0x10023217
mov dword [ebp - 0x20], 0xfffffffa
mov dword [ebp - 0x20], 0x15
jmp 0x10023157
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 7
jg 0x10023212
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x10023178
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1002318e
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xc4], 0
jmp 0x10023171
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x100231ae
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp - 0xc], 0
jmp 0x100231be
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jg 0x1002320d
mov dword [ebp - 0x98], 0xfffffff8
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0xc4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0xc4], ecx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x1002320b
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100231b7
jmp 0x10023150
jmp 0x1002312f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret