Function at 0x1001a0f4
Capabilities:
Clear file content
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073689
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
push edi
push 4
lea ecx, [ebp - 0x6c]
call fcn.10013d2b
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x1001a132
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1001a148
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x118], 0xfffffff6
jmp 0x1001a12b
mov dword [ebp - 0x1c], 0
jmp 0x1001a158
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1001a171
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov dword [eax], 0xe83c773
jmp 0x1001a151
mov dword [ebp - 0x1c], 0
jmp 0x1001a181
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1001a197
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x100], 0x3afc3718
jmp 0x1001a17a
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1001a2df
mov dword [ebp - 0x104], 0x1446
cmp dword [ebp - 0x104], 0x50f
jge 0x1001a2d7
lea eax, [ebp - 0x40]
push eax
push 0x1000b274
call fcn.1005821b
pop ecx
pop ecx
and dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x40]
inc eax
push eax
lea ecx, [ebp - 0x144]
call fcn.10013e11
mov byte [ebp - 4], 1
and dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 1
jmp 0x1001a207
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x40]
jg 0x1001a255
mov eax, dword [ebp - 0x3c]
dec eax
push eax
lea ecx, [ebp - 0x144]
call fcn.10013deb
mov esi, dword [eax]
xor esi, dword [ebp - 0x3c]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x144]
call fcn.10013deb
mov dword [eax], esi
lea eax, [ebp - 0x124]
push eax
push 0x1000b248
call fcn.1005821b
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x124]
mov dword [ebp - 0x28], eax
jmp 0x1001a200
mov dword [ebp - 0x34], 1
jmp 0x1001a265
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
jg 0x1001a2b9
mov eax, dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x144]
call fcn.10013deb
mov ecx, dword [ebp - 0x28]
xor ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x34]
and eax, 0x80000001
jns 0x1001a29b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1001a2b7
mov eax, dword [ebp - 0x34]
dec eax
push eax
lea ecx, [ebp - 0x144]
call fcn.10013deb
mov ecx, dword [ebp - 0x28]
xor ecx, dword [eax]
mov dword [ebp - 0x28], ecx
jmp 0x1001a25e
push dword [ebp - 0x28]
push 0x1000b274
call fcn.100585c5
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10013d8d
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov dword [eax], 2
jmp 0x1001a312
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xec]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
cmp dword [eax], 0
jl 0x1001a6f4
mov dword [ebp - 0x14], 0xd86e52d8
mov dword [ebp - 0xe8], 0xb416c011
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp + eax - 0x100], ecx
mov dword [ebp - 0x14], 0
jmp 0x1001a356
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1001a6ef
mov dword [ebp - 0x10], 0x1d847576
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x1001a384
mov dword [ebp - 0xf8], 1
jmp 0x1001a38b
and dword [ebp - 0xf8], 0
mov esi, dword [ebp - 0x14]
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov eax, dword [eax]
imul eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x10]
cmp esi, eax
jg 0x1001a3b4
mov dword [ebp - 0xf4], 1
jmp 0x1001a3bb
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x1001a3d5
mov dword [ebp - 0x12c], 1
jmp 0x1001a3dc
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
push 2
lea ecx, [ebp - 0x6c]
call fcn.10013deb
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jg 0x1001a40d
mov dword [ebp - 0xc8], 1
jmp 0x1001a414
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x100]
cmp dword [ebp - 0xc8], eax
jg 0x1001a435
mov dword [ebp - 0x8c], 1
jmp 0x1001a43c
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0xdc], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax - 0x100], ecx
cmp dword [ebp - 0x14], 0
je 0x1001a4aa
mov dword [ebp - 0x10], 2
jmp 0x1001a475
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1001a4a5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x118]
mov dword [ebp + ecx*4 - 0x118], eax
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1001a4a3
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x1001a46e
jmp 0x1001a6e0
mov dword [ebp - 0x44], 0xe8ee72c9
mov dword [ebp - 0x10], 0
jmp 0x1001a4c1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1001a5a9
mov dword [ebp - 0x50], 0x4daed0f1
mov dword [ebp - 0x50], 0
jmp 0x1001a4e2
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jg 0x1001a5a4
push 2
lea ecx, [ebp - 0x154]
call fcn.10013d2b
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], 0
jmp 0x1001a50d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1001a529
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x154]
call fcn.10013deb
mov dword [eax], 0xfffffff7
jmp 0x1001a506
push 1
lea ecx, [ebp - 0x154]
call fcn.10013deb
and dword [eax], 0
jmp 0x1001a55f
push 1
lea ecx, [ebp - 0x154]
call fcn.10013deb
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x154]
call fcn.10013deb
cmp dword [eax], 1
jg 0x1001a590
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x118]
mov dword [ebp + ecx*4 - 0x114], eax
jmp 0x1001a53b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10013d8d
jmp 0x1001a4db
jmp 0x1001a4ba
push 2
lea ecx, [ebp - 0x6c]
call fcn.10013deb
cmp dword [eax], 0xffff
ja 0x1001a5c7
mov dword [ebp - 0x98], 1
jmp 0x1001a5ce
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x10]
neg eax
cmp dword [ebp - 0x98], eax
je 0x1001a5e7
mov dword [ebp - 0x134], 1
jmp 0x1001a5ee
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x168], eax
push 2
lea ecx, [ebp - 0x6c]
call fcn.10013deb
mov ecx, dword [ebp - 0x14]
imul ecx, dword [eax]
cmp ecx, 0xffffffff
jl 0x1001a618
mov dword [ebp - 0xf0], 1
jmp 0x1001a61f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf0], eax
jge 0x1001a636
mov dword [ebp - 0xa0], 1
jmp 0x1001a63d
and dword [ebp - 0xa0], 0
imul eax, dword [ebp - 0xa0], 0xeddd
cmp eax, dword [ebp - 0x14]
jle 0x1001a658
mov dword [ebp - 0xd0], 1
jmp 0x1001a65f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x1001a672
cmp dword [ebp - 0x14], 0
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x118]
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013deb
cmp dword [ebp - 0x44], 0
je 0x1001a6a1
cmp dword [ebp - 0x44], 0
je 0x1001a6a1
mov dword [ebp - 0x108], 1
jmp 0x1001a6a8
and dword [ebp - 0x108], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x44], 0
jne 0x1001a6cd
mov dword [ebp - 0xa8], 1
jmp 0x1001a6d4
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe8], 0xfffffffa
jmp 0x1001a34f
jmp 0x1001a2f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10013d8d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
push 4
lea ecx, [ebp - 0x80]
call fcn.10013d2b
mov dword [ebp - 4], 3
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x20], 0
jmp 0x1001a734
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1001a747
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x30], 0x40d7
jmp 0x1001a72d
mov dword [ebp - 0x20], 0
jmp 0x1001a757
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1001a76d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
call fcn.10013deb
or dword [eax], 0xffffffff
jmp 0x1001a750
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
and dword [eax], 0
jmp 0x1001a79d
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
cmp dword [eax], 0
jg 0x1001a97a
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x130], 0x1ec2
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0xc0], 0x78cca699
mov dword [ebp - 0x48], 0
jmp 0x1001a7e5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1001a7fb
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x178], 0x5c8a52b4
jmp 0x1001a7de
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1001a80f
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1001a832
push 0x1fa2
push 0
push 0xe28
push 0xe4d
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [ebp - 0x38], 0
jmp 0x1001a842
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1001a975
mov dword [ebp - 0x148], 0xffffffff
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10c]
cmp dword [ebp + eax - 0x30], ecx
jne 0x1001a874
mov dword [ebp - 0xd8], 1
jmp 0x1001a87b
and dword [ebp - 0xd8], 0
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
mov ecx, dword [ebp - 0xd8]
cmp ecx, dword [eax]
jge 0x1001a89b
mov dword [ebp - 0xb8], 1
jmp 0x1001a8a2
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0xb8]
jl 0x1001a8bc
mov dword [ebp - 0x120], 1
jmp 0x1001a8c3
and dword [ebp - 0x120], 0
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ebp + ecx*4 - 0x30]
cmp dword [ebp + eax*4 - 0x30], ecx
jne 0x1001a8f4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x178], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
neg eax
imul eax, eax, 3
neg eax
sub eax, 0x2488a74d
mov dword [ebp - 0xc0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0xc0], eax
jne 0x1001a94a
push 2
lea ecx, [ebp - 0x80]
call fcn.10013deb
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x30], 0
jne 0x1001a94a
and dword [ebp - 0xe0], 0
jmp 0x1001a954
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x30]
mov ecx, dword [ebp - 0xe0]
add ecx, 0x695c
imul eax, ecx
mov dword [ebp - 0x148], eax
jmp 0x1001a83b
jmp 0x1001a77c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10013d8d
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x1001a99b
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 1
lea ecx, [ebp - 0x60]
call fcn.10013d2b
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0x81c2900
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x1001a9cd
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1001a9e6
push dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov dword [eax], 0x1713b910
jmp 0x1001a9c6
mov dword [ebp - 0x18], 0
jmp 0x1001a9f6
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1001ac45
mov dword [ebp - 0x74], 0x5546
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x138], 0x30b91300
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov esi, eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x1001aa63
mov dword [ebp - 0xcc], 1
jmp 0x1001aa6a
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10013deb
push 0
lea ecx, [ebp - 0x60]
call fcn.10013deb
cmp dword [eax], 0
je 0x1001aa95
cmp dword [ebp - 0x18], 0
je 0x1001aa95
mov dword [ebp - 0x90], 1
jmp 0x1001aa9c
and dword [ebp - 0x90], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jl 0x1001aac0
cmp dword [ebp - 0x18], 0
jne 0x1001aac0
and dword [ebp - 0x94], 0
jmp 0x1001aaca
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x1001aaf4
mov eax, 0xe2bf
test eax, eax
je 0x1001aaf4
mov dword [ebp - 0xa4], 1
jmp 0x1001aafb
and dword [ebp - 0xa4], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
jg 0x1001ab19
mov dword [ebp - 0x70], 1
jmp 0x1001ab1d
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x164], ecx
cmp dword [ebp - 0x70], 0
je 0x1001ab48
mov eax, 0xaa2910a8
test eax, eax
je 0x1001ab48
mov dword [ebp - 0xac], 1
jmp 0x1001ab4f
and dword [ebp - 0xac], 0
mov esi, dword [ebp - 0x74]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov edi, dword [ebp - 0xac]
add edi, dword [eax]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
imul edi, dword [eax]
sub edi, dword [ebp - 0x74]
cmp esi, edi
jne 0x1001ab8c
cmp dword [ebp - 0x18], 0
je 0x1001ab8c
mov dword [ebp - 0xb4], 1
jmp 0x1001ab93
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xb4], eax
jg 0x1001abaa
mov dword [ebp - 0xbc], 1
jmp 0x1001abb1
and dword [ebp - 0xbc], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov ecx, dword [ebp - 0xbc]
add ecx, dword [eax]
jne 0x1001abd8
mov eax, 0x452a2c7a
test eax, eax
jne 0x1001abd8
and dword [ebp - 0xc4], 0
jmp 0x1001abe2
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
neg eax
imul eax, eax, 0
cmp dword [ebp - 0xcc], eax
jge 0x1001ac01
mov dword [ebp - 0xd4], 1
jmp 0x1001ac08
and dword [ebp - 0xd4], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10013deb
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [eax]
je 0x1001ac2d
xor eax, eax
je 0x1001ac2d
mov dword [ebp - 0x88], 1
jmp 0x1001ac34
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x138], eax
jmp 0x1001a9ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10013d8d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret