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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov ax, word [0x1001aa90]
push ebx
push esi
push edi
mov word [ebp - 0x10], ax
xor eax, eax
lea edi, [ebp - 0xe]
mov esi, str.null
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp - 0x30]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x2b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.100092ad
lea eax, [ebp - 0x10]
push 0x1001abc4
push eax
call fcn.10012380
pop ecx
test eax, eax
pop ecx
jne 0x10008950
push 1
pop eax
jmp 0x10008b93
mov eax, dword [ebp + 0x10]
and dword [eax], 0
nop
mov esi, dword [ebp + 8]
cmp dword [esi + 0x478], 0
jne 0x1000898e
lea edi, [ebx + 0xdfc]
mov ecx, edi
call fcn.10006971
lea eax, [ebx + 0x1430]
push eax
mov dword [ebp + 0xc], eax
call fcn.1000aa5d
test eax, eax
pop ecx
je 0x10008ad9
mov dword [esi + 0x478], eax
push 0
call fcn.1000b086
cmp dword [esi + 0x478], eax
pop ecx
jg 0x10008b91
cmp dword [esi + 0x460], 0
je 0x100089ba
mov ecx, ebx
call fcn.10008268
test eax, eax
je 0x10008b91
mov eax, dword [esi + 0x474]
cmp eax, dword [esi + 0x470]
jge 0x10008b91
mov al, byte [0x1001c1a0]
push 0x40
mov byte [ebp - 0x134], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
mov al, byte [0x1001c1a0]
push 0x40
mov byte [ebp - 0x238], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
lea eax, [ebp - 0x238]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
lea edi, [esi + 0x20]
push 1
lea eax, [ebp - 0x134]
push edi
push eax
lea eax, [ebp - 0x238]
push 0x1001abc0
push eax
call fcn.10003abf
add esp, 0x14
lea eax, [esi + 0x420]
lea ecx, [ebx + 0xdf8]
push 1
push eax
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.10002607
nop
test eax, eax
jne 0x10008b36
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, ebx
call fcn.10008297
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [ebx + 0xdfc]
mov ecx, edi
call fcn.10006971
and dword [esi + 0x478], 0
lea eax, [ebx + 0x1430]
push 0xa
push eax
push 0
call fcn.100122ef
add esp, 0xc
nop
push 1
mov ecx, edi
call fcn.100076d3
push eax
call fcn.1000aa5d
test eax, eax
pop ecx
jne 0x10008ac4
push 0x1001abc4
push 1
mov ecx, edi
call fcn.10007713
nop
mov ecx, edi
call fcn.10006b78
nop
and dword [ebx + 0xda8], 0
nop
jmp 0x10008948
push 1
mov ecx, edi
call fcn.100076d3
push eax
call fcn.1000aa5d
test eax, eax
pop ecx
jne 0x10008b06
push eax
call fcn.1000b086
add eax, dword [esi + 0x46c]
pop ecx
mov dword [esi + 0x478], eax
nop
jmp 0x1000898e
push dword [esi + 0x468]
push dword [esi + 0x464]
call fcn.10003bd3
push 0xa
mov dword [esi + 0x478], eax
push dword [ebp + 0xc]
push eax
call fcn.100122ef
add esp, 0x14
nop
mov ecx, edi
call fcn.10006b78
nop
jmp 0x10008b91
lea ecx, [ebx + 0xdfc]
mov dword [ebp + 0xc], ecx
call fcn.10006971
nop
mov eax, dword [esi + 0x474]
cmp eax, 4
jbe 0x10008b53
push 4
pop eax
mov edi, dword [eax*4 + 0x1001ab90]
push 0
call fcn.1000b086
add eax, edi
mov dword [esi + 0x478], eax
nop
inc dword [esi + 0x474]
add ebx, 0x1430
push 0xa
push ebx
push dword [esi + 0x478]
call fcn.100122ef
add esp, 0x10
nop
mov ecx, dword [ebp + 0xc]
call fcn.10006b78
nop
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc