Function at 0x1001305c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073315
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001316b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0x1829
cmp dword [ebp - 0x80], 0x529
jge 0x10013131
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10663ef0
call fcn.100135b8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x4c], 0
je 0x10013131
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x10663ef0
call fcn.100135b8
push fcn.100184bb
imul eax, dword [ebp - 0x54], 0xc1
cdq
push 9
pop ecx
idiv ecx
add eax, 0xc1
imul eax, eax, 0xc1
cdq
push 0x2f
pop ecx
idiv ecx
sub eax, 0xc1
cdq
mov ecx, 0xc1
idiv ecx
mov eax, edx
cdq
push 0xa
pop ecx
idiv ecx
push eax
call fcn.10058a26
pop ecx
push eax
mov ecx, 0x10663e38
call fcn.100139dd
mov ecx, eax
call fcn.100139d1
jmp 0x100130bd
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1001314f
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov byte [eax], 1
jmp 0x10013166
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x100133af
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
push 4
lea ecx, [ebp - 0x30]
call fcn.10013d2b
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
jmp 0x10013196
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x100131a9
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x14], 0x40d7
jmp 0x1001318f
mov dword [ebp - 0x10], 0
jmp 0x100131b9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100131cf
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.10013deb
or dword [eax], 0xffffffff
jmp 0x100131b2
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
and dword [eax], 0
jmp 0x100131f6
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
cmp dword [eax], 0
jg 0x10013391
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x60], 0x1ec2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x38], 0x78cca699
mov dword [ebp - 0x20], 0
jmp 0x10013235
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1001324b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x8c], 0x5c8a52b4
jmp 0x1001322e
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1001325f
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10013282
push 0x1fa2
push 0
push 0xe28
push 0xe4d
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [ebp - 0x1c], 0
jmp 0x10013292
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1001338c
mov dword [ebp - 0x70], 0xffffffff
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp dword [ebp + eax - 0x14], ecx
jne 0x100132bb
mov dword [ebp - 0x48], 1
jmp 0x100132bf
and dword [ebp - 0x48], 0
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jge 0x100132d9
mov dword [ebp - 0x3c], 1
jmp 0x100132dd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x3c]
jl 0x100132ee
mov dword [ebp - 0x68], 1
jmp 0x100132f2
and dword [ebp - 0x68], 0
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x14]
cmp dword [ebp + eax*4 - 0x14], ecx
jne 0x10013323
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
neg eax
imul eax, eax, 3
neg eax
sub eax, 0x2488a74d
mov dword [ebp - 0x38], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x38], eax
jne 0x1001336a
push 2
lea ecx, [ebp - 0x30]
call fcn.10013deb
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x14], 0
jne 0x1001336a
and dword [ebp - 0x40], 0
jmp 0x10013371
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x14]
mov ecx, dword [ebp - 0x40]
add ecx, 0x695c
imul eax, ecx
mov dword [ebp - 0x70], eax
jmp 0x1001328b
jmp 0x100131de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10013d8d
push 0
push 0x546f
push dword [ebp - 0x78]
call fcn.1001303f
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret