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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x9aca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1f8], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc0], edx
mov eax, dword [ebp - 4]
add eax, 0xd4
call fcn.00013c3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d0]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
call fcn.00013c3c
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200], 0
jne 0x9ac7e
mov eax, dword [ebp - 4]
mov byte [eax + 0x200], 1
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
push ebp
push 0x9ac25
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 2
jge 0x9a7a4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x224], 0
jne 0x9a5b9
push 1
mov ecx, 0x2776
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov eax, dword [ebp - 4]
call fcn.0009aed0
test eax, eax
jne 0x9a5cd
mov eax, dword [ebp - 4]
call fcn.0009bdc8
mov eax, dword [ebp - 4]
call fcn.0009aed0
test eax, eax
jne 0x9a607
mov eax, dword [ebp - 4]
mov byte [eax + 0x200], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 0
jne 0x9a607
push 1
mov ecx, 0x2afa
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200], 0
je 0x9a7a4
lea eax, [ebp - 0x20]
call fcn.00013c3c
cmp dword [ebp - 8], 0
jne 0x9a70a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x170], 0
je 0x9a70a
mov eax, dword [ebp - 4]
test byte [eax + 0x174], 0x10
jne 0x9a70a
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
mov dl, 1
call fcn.00092c08
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x20]
call fcn.00033ddc
mov eax, dword [ebp - 4]
test byte [eax + 0x174], 0x20
je 0x9a685
mov eax, dword [ebp - 0x20]
call fcn.00092a74
mov eax, dword [ebp - 0x20]
call fcn.00092b2c
test al, al
jne 0x9a6ab
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x2908
mov dl, 1
mov eax, dword [0x94610]
call fcn.00094940
call fcn.0001366c
lea eax, [ebp - 0x24]
mov edx, 0x106
call fcn.00014200
mov eax, dword [ebp - 0x24]
call fcn.00014090
push eax
push 0
push 0x9acb4
mov eax, dword [ebp - 0x20]
call fcn.00014090
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x9a6f4
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x2b2b
mov dl, 1
mov eax, dword [0x94610]
call fcn.00094940
call fcn.0001366c
mov eax, dword [ebp - 0x24]
call fcn.00014090
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
call fcn.00013c3c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x224]
call fcn.00013cd4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1fc], 0
jle 0x9a7a4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe4], 0
jne 0x9a76d
lea eax, [ebp - 0x24]
mov edx, 0x106
call fcn.00014200
mov eax, dword [ebp - 0x24]
call fcn.00014090
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, dword [ebp - 0x24]
call fcn.00014090
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00013e04
lea eax, [ebp - 0x24]
call fcn.00013c3c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov dl, 1
call fcn.00092c08
push 1
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 4]
call fcn.0009cd7c
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x200], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200], 0
je 0x9a7bb
mov eax, dword [ebp - 4]
call fcn.00097a98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x9ac1b
xor eax, eax
push ebp
push 0x9ac11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x98
call fcn.00032fd0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0009dd10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
je 0x9a828
mov eax, dword [ebp - 0x20]
call fcn.00013ecc
inc eax
call fcn.00034114
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 0x20]
call fcn.00013ecc
mov ecx, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x20]
call fcn.00034000
jmp 0x9a830
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 5
call fcn.00032fd0
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x9a945
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 0x9acc0
call fcn.00013fdc
je 0x9a945
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x9a92f
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
add dword [ebp - 0x28], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.00013ecc
inc eax
call fcn.00034114
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x50]
call fcn.00013ecc
inc eax
push eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
pop ecx
call fcn.00034000
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x9a8aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x44], eax
jmp 0x9a94d
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [eax + 0x44], edx
cmp dword [ebp - 8], 1
jne 0x9aa0d
mov eax, dword [ebp - 4]
call fcn.0009aed0
dec eax
test eax, eax
jl 0x9aa0d
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x10]
call fcn.0003a1f0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.00014090
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2a]
call fcn.00014090
mov edx, eax
pop eax
call fcn.00033278
test eax, eax
jne 0x9aa01
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x44], 1
jmp 0x9aa0d
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x9a973
cmp dword [ebp - 8], 2
jne 0x9aa67
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x60], 0xffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0xc]
call fcn.0003c46c
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.0003c46c
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x94], 7
mov eax, dword [ebp - 4]
add eax, 0xc4
call fcn.00013c3c
cmp dword [ebp - 8], 2
jge 0x9aad8
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe9], 0
je 0x9aad8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1cc], 0
jne 0x9aad8
mov eax, dword [ebp - 4]
cmp word [eax + 0x8a], 0
jne 0x9aad8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1d0], edx
lea edx, [ebp - 0x5c]
mov eax, 0x2906
call fcn.00094398
mov eax, dword [ebp - 0x5c]
push eax
push 0
push 0
xor ecx, ecx
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00096a94
cmp dword [ebp - 8], 0
je 0x9aaed
cmp dword [ebp - 8], 0
jle 0x9ab01
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x54], 0
je 0x9ab01
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00097b28
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9ac1b
mov eax, dword [ebp - 4]
call fcn.00097b10
mov eax, dword [ebp - 4]
mov byte [eax + 0x200], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [eax]
call dword [edx + 0x40]
cmp dword [ebp - 8], 0
jle 0x9ab4e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f8], 1
je 0x9ab4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.0003c878
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1fc], 0
jle 0x9ab62
mov eax, dword [ebp - 0x1c]
call fcn.000338d0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x48]
call fcn.00034160
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
call fcn.00034160
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x70], 0
je 0x9ab92
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x70]
call fcn.00034160
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x44]
dec eax
cmp eax, 0
jl 0x9abc6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
call fcn.00034160
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x9aba1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x4c]
call fcn.00012734
mov eax, dword [ebp - 0x2c]
call fcn.00012734
cmp dword [ebp - 8], 2
jge 0x9ac10
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe9], 0
je 0x9ac10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1cc], 0
jne 0x9ac10
mov eax, dword [ebp - 4]
cmp word [eax + 0x8a], 0
jne 0x9ac10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x1d0], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x9ac7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9acad
lea eax, [ebp - 0x5c]
mov edx, 7
call fcn.00013c60
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00013c60
ret