Function at 0x1001eefe
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0xab4
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0xab4], eax
push 0x88
mov eax, 0x10041ff0
call fcn.1003e7e6
mov edi, dword [ebp + 0xac0]
mov esi, dword [ebp + 0xac4]
xor ebx, ebx
mov dword [ebp - 0x68], ebx
lea eax, [edi + 0x28]
mov dword [eax], ebx
mov dword [ebp - 0x50], eax
mov dword [0x1007334c], eax
xor eax, eax
inc eax
mov dword [0x10073344], eax
mov dword [0x10073340], eax
mov dword [0x10073348], ebx
call dword [0x10071f08]
mov dword [ebp - 0x2c], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push ebx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x64]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x60]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x4c]
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push esi
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
mov dword [ebp - 0x34], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push esi
mov byte [ebp - 4], 5
call dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x30], eax
add edi, 0x2c
mov dword [edi], 1
mov eax, dword [0x1006d00c]
cmp eax, 0x1006d00c
je 0x1001effb
push 0x100479d0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100012cd
add esp, 0x10
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
call fcn.100202e4
pop ecx
pop ecx
push eax
push 0xc
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.10020191
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.1000167f
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x38]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push eax
call dword [ecx + 0x2c]
push 0x10082c6c
lea ecx, [ebp - 0x38]
call fcn.10001b68
lea eax, [ebp - 0x20]
push 0x1153
push eax
mov byte [ebp - 4], 9
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push dword [ebp - 0x44]
mov eax, dword [eax]
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10006276
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.1000167f
lea eax, [ebp - 0x38]
push eax
push 0x16
mov ecx, edi
call fcn.10020191
lea eax, [ebp - 0x20]
push 0x1154
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push dword [ebp - 0x88]
mov eax, dword [eax]
push dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
push dword [ebp - 0x74]
push dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10006276
mov ecx, dword [ebp - 0x20]
add esp, 0x18
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.1000167f
lea eax, [ebp - 0x38]
push eax
push 0x16
mov ecx, edi
call fcn.10020191
mov dword [ebp - 0x54], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
push esi
mov byte [ebp - 4], 0xc
call dword [eax + 0x28]
mov eax, dword [esi]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
call dword [eax + 0x54]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x1001f45b
mov dword [ebp - 0x58], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0xc]
lea eax, [ebp - 0x24]
push 0x1163
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push 0x10045120
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.10006250
push dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
call fcn.10006250
lea eax, [ebp - 0x24]
push eax
push 0x16
mov ecx, edi
call fcn.10020191
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
push esi
call dword [eax + 0x44]
mov dword [ebp - 0x20], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push esi
mov byte [ebp - 4], 0xf
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
call dword [eax + 0x34]
push 0x10082c6c
lea ecx, [ebp - 0x14]
call fcn.10001b68
cmp dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 0x10
je 0x1001f228
push 0x10047af0
lea ecx, [ebp - 0x14]
call fcn.10006250
lea eax, [ebp - 0x18]
push 0x1443
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.10005022
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
cmp dword [ebp - 0x60], ebx
je 0x1001f26b
push 0x10047af0
lea ecx, [ebp - 0x14]
call fcn.10006250
lea eax, [ebp - 0x18]
push 0x1444
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.10005022
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
cmp dword [ebp - 0x80], ebx
je 0x1001f2ae
push 0x10047af0
lea ecx, [ebp - 0x14]
call fcn.10006250
lea eax, [ebp - 0x18]
push 0x1460
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.10005022
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
cmp dword [ebp - 0x84], ebx
je 0x1001f2f4
push 0x10047af0
lea ecx, [ebp - 0x14]
call fcn.10006250
lea eax, [ebp - 0x18]
push 0x1166
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.10005022
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
cmp dword [ebp - 0x70], ebx
je 0x1001f337
push 0x10047af0
lea ecx, [ebp - 0x14]
call fcn.10006250
lea eax, [ebp - 0x18]
push 0x149c
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.10005022
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jle 0x1001f38e
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.1001379a
lea eax, [ebp - 0x18]
push 0x1165
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x16
call fcn.10004e66
lea eax, [ebp - 0x18]
push eax
push 0x16
mov ecx, edi
call fcn.10020191
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.1000167f
cmp dword [ebp - 0x70], ebx
je 0x1001f42f
push 0x10082c6c
lea ecx, [ebp - 0x18]
call fcn.10001b68
lea eax, [ebp - 0x1c]
push 0x1451
push eax
mov byte [ebp - 4], 0x17
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push dword [ebp - 0x64]
mov byte [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x18]
push str._s__d
push eax
call fcn.10006276
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x17
call fcn.1000167f
lea eax, [ebp - 0x1c]
push 0x100a
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.10005022
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x17
call fcn.1000167f
lea eax, [ebp - 0x18]
push eax
push 0x16
mov ecx, edi
call fcn.10020191
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000167f
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.1000167f
push dword [ebp - 0x58]
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp]
call fcn.1002d5b0
push dword [ebp - 0x60]
lea ecx, [ebp]
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
call fcn.1002b57f
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x1001f5a3
mov dword [ebp - 0x24], ebx
mov eax, dword [0x10071f74]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x115b
push eax
mov byte [ebp - 4], 0x1b
call dword [ecx + 0x20]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [eax + 0x5c]
cmp dword [ebp - 0x60], ebx
je 0x1001f4d1
push 0x24
push 0x10044fac
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1001f4d1
push ebx
push dword [ebp - 0x3c]
lea ecx, [ebp]
call fcn.1002b57f
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
je 0x1001f596
push 0x22
mov ecx, edi
call fcn.10020204
mov eax, dword [0x1006d00c]
cmp eax, 0x1006d00c
je 0x1001f504
push 0x100479d0
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100012cd
add esp, 0x10
push dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.1002d5fe
mov eax, dword [ebp - 0x54]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x1001f52c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.1000167f
push dword [ebp - 0x4c]
call esi
push dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1001f552
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x3c]
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1001f56d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1001f57d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1001f58e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1001f85c
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
push esi
call dword [eax + 0x20]
push dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x7c]
push eax
call fcn.1001f911
add esp, 0xc
push eax
push 4
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.10020191
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1a
call fcn.1000167f
push 0xffff
push dword [ebp - 0x7c]
lea ecx, [ebp]
call fcn.1002c4e0
cmp dword [ebp - 0x5c], ebx
je 0x1001f5f9
lea ecx, [ebp]
call fcn.1002ca8e
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.10002f76
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1d
call fcn.10006228
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
push esi
call dword [eax + 0x64]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.10002f76
push eax
push 2
mov ecx, edi
mov byte [ebp - 4], 0x1e
call fcn.10020191
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1d
call fcn.1000167f
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 4
jle 0x1001f678
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10006107
push str..iso
mov ecx, eax
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x68], 1
call fcn.10004d01
test eax, eax
mov byte [ebp - 0xd], 1
je 0x1001f67b
mov byte [ebp - 0xd], bl
test byte [ebp - 0x68], 1
mov dword [ebp - 4], 0x1d
je 0x1001f693
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1000167f
cmp byte [ebp - 0xd], bl
je 0x1001f6e9
push 0x11
mov ecx, edi
call fcn.10020204
push edi
push 0x1001ec3c
push dword [ebp - 0x6c]
lea ecx, [ebp]
push dword [ebp - 0x28]
call fcn.1002c11d
cmp eax, 0x80010137
mov dword [ebp - 0x14], eax
jne 0x1001f718
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.10002f76
push eax
push 0x17
mov ecx, edi
mov byte [ebp - 4], 0x20
call fcn.10020191
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1d
call fcn.1000167f
jmp 0x1001f718
lea ecx, [ebp - 0xd]
call fcn.1001e23a
push dword [ebp - 0x50]
lea eax, [ebp]
push edi
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xd]
push eax
push esi
mov byte [ebp - 4], 0x21
call fcn.1001e5e2
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1d
call fcn.1001c2c2
cmp dword [ebp - 0x14], ebx
je 0x1001f726
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x5c], ebx
je 0x1001f733
lea ecx, [ebp]
call fcn.1002cac0
cmp dword [ebp - 0x14], ebx
jne 0x1001f73f
mov eax, dword [ebp - 0x50]
cmp dword [eax], ebx
je 0x1001f757
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push esi
call dword [eax + 0x4c]
cmp dword [ebp - 0x64], ebx
je 0x1001f757
push dword [ebp - 0x28]
call fcn.1000653e
pop ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], ebx
je 0x1001f767
push 0x29
mov ecx, edi
call fcn.10020204
mov eax, dword [ebp - 0x50]
cmp dword [eax], ebx
jne 0x1001f7a5
cmp dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
jne 0x1001f78f
fld qword [0x10044688]
push 1
push 1
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x10]
push 0xd
jmp 0x1001f79e
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x10]
push 0x22
mov ecx, edi
call fcn.10020204
mov eax, dword [0x1006d00c]
cmp eax, 0x1006d00c
je 0x1001f7c9
push dword [ebp - 0x14]
push 0x100479d0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10020538
add esp, 0x14
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.1000167f
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.1002d5fe
mov eax, dword [ebp - 0x54]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x1001f7f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.1000167f
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1001f81d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x3c]
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1001f838
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1001f848
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1001f859
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xab4]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0xab8
leave
ret 8