Function at 0x1001c513
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98c
push ebx
push esi
push edi
mov byte [ebp - 0x984], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x983]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10002cb4
push 0x10002ccc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x844], eax
push 0x104
lea eax, [ebp - 0x984]
push eax
call dword [ebp - 0x844]
mov byte [ebp - 0x981], 0
push 0x10002cdc
lea ecx, [ebp - 0x984]
push ecx
call fcn.100248e0
add esp, 8
mov ecx, 0xd
mov esi, 0x10002cec
lea edi, [ebp - 0x87c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
nop
nop
nop
lea edx, [ebp - 0x984]
push edx
lea eax, [ebp - 0x87c]
push eax
call fcn.1001c22a
add esp, 8
mov byte [ebp - 0x6c], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x6b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100248a9
imul eax, eax, 0x2b67
push eax
push 0x10002d24
lea ecx, [ebp - 0x6c]
push ecx
call fcn.100249c0
add esp, 0xc
push 0x30
call fcn.10023a17
add esp, 4
lea edx, [ebp - 0x984]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.1001c288
add esp, 8
lea ecx, [ebp - 0x880]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x6c]
push edx
push 0x80000002
call dword [0x10007518]
test eax, eax
je 0x1001c621
jmp 0x1001c873
mov byte [ebp - 0x840], 0
mov ecx, 0x1f3
xor eax, eax
lea edi, [ebp - 0x83f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x7d0
push 0
lea eax, [ebp - 0x840]
push eax
call fcn.100239a0
add esp, 0xc
mov dword [ebp - 8], 7
mov dword [ebp - 4], 0x7d0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x10002d30
mov ecx, dword [ebp - 0x880]
push ecx
call dword [fcn.1000751c]
test eax, eax
jne 0x1001c7ca
lea edx, [ebp - 0x840]
mov dword [ebp - 0x988], edx
mov word [ebp - 0x98c], 0
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x988]
push eax
call fcn.100246c0
add esp, 4
mov word [ebp - 0x98c], ax
mov ecx, dword [ebp - 0x98c]
and ecx, 0xffff
test ecx, ecx
je 0x1001c6e3
mov edx, dword [ebp - 0x98c]
and edx, 0xffff
cmp edx, 1
jne 0x1001c6e5
jmp 0x1001c762
push 0x100026f0
mov eax, dword [ebp - 0x988]
push eax
call fcn.1002cb10
add esp, 8
test eax, eax
jne 0x1001c70f
mov ecx, dword [ebp - 0x880]
push ecx
call dword [fcn.10007520]
jmp 0x1001c873
mov edx, dword [ebp - 0x98c]
and edx, 0xffff
mov eax, dword [ebp - 0x988]
add eax, edx
mov dword [ebp - 0x988], eax
mov ecx, dword [ebp - 0x988]
add ecx, 1
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x98c]
and edx, 0xffff
mov eax, dword [ebp - 0x70]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x98c]
and edx, 0xffff
test edx, edx
jne 0x1001c6ac
push 0x100026f0
call fcn.100246c0
add esp, 4
mov ecx, dword [ebp - 0x70]
add ecx, eax
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x988]
movsx eax, byte [edx - 1]
test eax, eax
je 0x1001c7af
push 0x100026f0
push 0x10002d38
mov ecx, dword [ebp - 0x988]
add ecx, 1
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x988]
push edx
call fcn.100249c0
add esp, 0xc
jmp 0x1001c7c8
push 0x100026f0
push 0x10002d3c
mov eax, dword [ebp - 0x988]
push eax
call fcn.100249c0
add esp, 0xc
jmp 0x1001c7f0
push 0x100026f0
lea ecx, [ebp - 0x840]
push ecx
call fcn.100248d0
add esp, 8
lea edx, [ebp - 0x840]
push edx
call fcn.100246c0
add esp, 4
mov dword [ebp - 0x70], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x840]
push ecx
push 7
push 0
push 0x10002d40
mov edx, dword [ebp - 0x880]
push edx
call dword [fcn.100074f4]
mov eax, dword [ebp - 0x880]
push eax
call dword [fcn.10007520]
lea ecx, [ebp - 0x984]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x984]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.1001c22a
add esp, 8
push 0x30
call fcn.10023a17
add esp, 4
lea ecx, [ebp - 0x984]
push ecx
lea edx, [ebp - 0x87c]
push edx
call fcn.1001c288
add esp, 8
lea eax, [ebp - 0x984]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret