Function at 0x1002aa49
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ac74
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x1002ab25
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002aac9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x15
jne 0x1002ab20
push 0x7afb
push 0x2cfc
push 0x5a66
push 0x58ae
push 0x395
push 0x4e2d
push 0x69e9
push 0x24a7
push 0x6ec2
push 0x1d21
push 0x352a
push 0
push 1
push 0x3daa
push 0x4bb8
call fcn.1002762f
add esp, 0x3c
jmp 0x1002aabe
jmp 0x1002ac6f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1002aba3
mov dword [ebp - 0x20], 1
jmp 0x1002aba7
and dword [ebp - 0x20], 0
xor eax, eax
inc eax
je 0x1002abd3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1002abd3
mov dword [ebp - 0x30], 1
jmp 0x1002abd7
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jne 0x1002abea
mov dword [ebp - 0x28], 1
jmp 0x1002abee
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x64e3
je 0x1002ac09
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1002ac09
mov dword [ebp - 0x18], 1
jmp 0x1002ac0d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
jne 0x1002ac29
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002ac29
and dword [ebp - 0x24], 0
jmp 0x1002ac30
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jl 0x1002ac41
mov dword [ebp - 0x2c], 1
jmp 0x1002ac45
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
cmp eax, 0xfffffffc
ja 0x1002ac5c
mov dword [ebp - 0x34], 1
jmp 0x1002ac60
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.10021e18
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x1002ad27
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1002acbf
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1002acbd
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1002ad27
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1002acea
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfffffff4
jne 0x1002ad27
mov dword [ebp - 0x10], 0xbae8b012
mov dword [ebp - 0x10], 0
jmp 0x1002ad09
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe9
jne 0x1002ad25
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002ad23
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
jmp 0x1002ad02
jmp 0x1002acdf
mov esp, ebp
pop ebp
ret