Function at 0x1001d0e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9505
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x101114bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 4
mov dword [ebp - 0x144], 0x65707974
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x144]
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0x17c], ebx
call fcn.1006f110
mov ecx, eax
call fcn.100741e0
cmp eax, ebx
jne 0x1001d21a
mov ax, word [0x100ef728]
mov byte [ebp - 0x12c], 0
mov word [ebp - 0x12c], ax
mov al, byte [0x100ef72a]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 3
mov byte [ebp - 0x12a], al
mov byte [ebp - 0x129], 0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x12c]
mov ebx, 3
mov ecx, esi
push eax
mov dword [ebp - 0x17c], ebx
call fcn.1006f110
mov ecx, eax
call fcn.100741e0
mov byte [ebp - 0x175], 0
cmp eax, ebx
je 0x1001d221
mov byte [ebp - 0x175], 1
mov dword [ebp - 4], 0
test bl, 2
je 0x1001d28b
and ebx, 0xfffffffd
mov dword [ebp - 0x17c], ebx
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1001d270
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d57c
push edx
push ecx
call fcn.10085c12
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1001d2f5
and ebx, 0xfffffffe
mov dword [ebp - 0x17c], ebx
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1001d2da
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d2d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d57c
push edx
push ecx
call fcn.10085c12
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp byte [ebp - 0x175], 0
jne 0x1001d560
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 4
mov dword [ebp - 0x144], 0x65707974
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x144]
push eax
mov ecx, esi
call fcn.1006f110
mov ecx, eax
call fcn.10071960
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1001d3ab
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d3a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d581
push edx
push ecx
call fcn.10085c12
add esp, 8
mov ax, word [0x100ef728]
mov byte [ebp - 0x12c], 0
mov word [ebp - 0x12c], ax
mov al, byte [0x100ef72a]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 3
mov byte [ebp - 0x12a], al
mov byte [ebp - 0x129], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x12c]
push eax
mov ecx, esi
call fcn.1006f110
mov ecx, eax
call fcn.100740b0
push eax
lea ecx, [ebp - 0x174]
call fcn.10002e40
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1001d484
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d47a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d586
push edx
push ecx
call fcn.10085c12
add esp, 8
cmp dword [ebp - 0x160], 0x10
lea eax, [ebp - 0x174]
push dword [ebp - 0x164]
cmovae eax, dword [ebp - 0x174]
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x11c], 0
push eax
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.100756e0
add esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x114]
push eax
push edi
push 0x100ef728
push 0x101131c0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1001d53f
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push dword [ebp - 0x14c]
cmovae eax, dword [ebp - 0x15c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10075360
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
test al, al
jne 0x1001d526
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
push edi
call fcn.1001b0d0
add esp, 8
lea eax, [ebp - 0x114]
push eax
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x15c]
call fcn.10003a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.10003a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085c29
mov esp, ebp
pop ebp
ret
call fcn.10092073
call fcn.10092073
call fcn.10092073
int3