Function at 0x100084e0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100428ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea esi, [ebx + 0x2c]
push 0x100674d4
push esi
mov dword [esp + 0x24], ebx
call fcn.1003a297
add esp, 8
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
push 0x100674d4
mov dword [esp + 0x28], 1
call fcn.1003bd8c
mov edx, dword [esp + 0x2d4]
mov dword [esp + 0x2c4], ebp
cmp edx, ebp
je 0x10008590
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x12c]
push 0x103
rep stosd dword es:[edi], eax
lea eax, [esp + 0x130]
push edx
push eax
call fcn.10020da0
lea ecx, [esp + 0x138]
push ecx
call fcn.1000a090
lea edx, [esp + 0x13c]
lea eax, [esp + 0x20]
push edx
push 0x1005121c
push eax
call fcn.1003a297
add esp, 0x1c
jmp 0x1000859d
lea ecx, [ebx + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.1003be57
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebp
jle 0x10008e5e
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x100085c7
push ecx
lea edx, [esp + 0x14]
push 0x10051458
push edx
call fcn.1003a297
add esp, 0xc
push 0xa
lea ecx, [esp + 0x50]
call fcn.1003a41f
push 0xa
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c8], 1
call fcn.1003a41f
push 0xa
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c8], 2
call fcn.1003a58b
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x2d0]
and ebp, 0xffff
mov byte [esp + 0x2c4], 3
jle 0x10008795
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x28], eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xa8]
mov esi, dword [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x19
lea edi, [esp + 0xa8]
mov edx, dword [esp + 0x10]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x41
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa8]
lea eax, [esp + 0x12c]
push ecx
push edx
push str._s_s
push eax
call fcn.100208b9
lea ecx, [esp + 0x13c]
push 0
push ecx
call fcn.10009aa0
add esp, 0x18
test eax, eax
je 0x1000870c
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x68]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x12c]
push edx
push eax
call sym.ArLib.dll_GetFileMD5
test eax, eax
jne 0x10008765
lea edi, [esp + 0x68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10008765
push 0x84
call fcn.1003ba7d
mov edx, eax
mov ecx, 0x21
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea esi, [esp + 0xac]
mov edi, edx
add esp, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x64]
mov ecx, 8
lea esi, [esp + 0x68]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x50]
call fcn.1003a81f
jmp 0x10008747
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x24]
call fcn.1003bd8c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x8c]
push edx
mov byte [esp + 0x2c8], 4
call fcn.1003a6d6
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 3
call fcn.1003bd1e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
inc eax
add edx, 0x64
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
jl 0x10008625
jmp 0x10008795
lea eax, [esp + 0x12c]
lea esi, [ebx + 0x2c]
push eax
push str.GetFileMd5_Fail_File__s_
push esi
call fcn.1003a297
mov esi, dword [esi]
add esp, 0xc
mov ecx, ebx
push esi
call fcn.100082c0
mov eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, ebx
call fcn.10009470
mov esi, eax
test esi, esi
je 0x1000880d
cmp esi, 2
je 0x1000880d
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x12c]
push 0x18f
rep stosd dword es:[edi], eax
lea eax, [esp + 0x130]
mov ecx, ebx
push eax
call fcn.10009930
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x12c]
push eax
push ecx
push esi
lea esi, [ebx + 0x2c]
push str.Verify_File_Exist_But_ReadFile_Fail.ReadVerifyFile_Return__d___s_LastError__d_
push esi
call fcn.1003a297
mov esi, dword [esi]
add esp, 0x14
mov ecx, ebx
push esi
call fcn.100082c0
mov dword [esp + 0x14], 3
jmp 0x10008dbc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10008dbc
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], 0xff
test eax, eax
jle 0x100088fa
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x100088fa
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x24]
push eax
call fcn.1003bab1
mov edx, dword [esp + 0x24]
mov ecx, 0x21
xor eax, eax
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x130]
push 0x1005121c
push eax
mov byte [esp + 0x2d0], 5
call fcn.100208b9
mov ecx, 0x19
lea esi, [esp + 0x138]
lea edi, [esp + 0xb4]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x10c], 1
test esi, esi
je 0x100088e1
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xa8]
mov edi, dword [eax + 8]
push ecx
push edi
mov ecx, ebx
call fcn.10009860
cmp eax, 1
jne 0x100088d8
test esi, esi
jne 0x100088b6
jmp 0x100088e1
mov ecx, 0x21
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c4], 3
call fcn.1003bd1e
test ebp, ebp
jne 0x1000883f
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x1000899c
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1000899c
jmp 0x10008918
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov edx, dword [eax]
mov ebp, dword [eax + 8]
mov dword [esp + 0x2c], edx
test esi, esi
mov dword [esp + 0x24], 0
je 0x1000896e
mov eax, esi
mov esi, dword [esi]
push ebp
mov ecx, ebx
mov edi, dword [eax + 8]
push edi
call fcn.10009860
cmp eax, 1
je 0x1000894e
mov dword [esp + 0x24], 1
cmp eax, 2
je 0x10008959
test esi, esi
jne 0x10008931
jmp 0x10008966
lea esi, [ebp + 0x64]
add edi, 0x64
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10008990
push 0x84
call fcn.1003ba7d
mov ecx, 0x21
mov esi, ebp
mov edi, eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x34]
call fcn.1003a81f
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10008914
mov eax, dword [0x10055424]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2c4], 8
mov ecx, dword [eax - 8]
mov dl, byte [ecx + eax - 1]
mov ecx, dword [ebx + 8]
cmp dl, 0x5c
push ecx
push eax
je 0x10008a01
lea edx, [esp + 0x28]
push 0x100513dc
push edx
call fcn.1003a297
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x40]
push str._s_s.tmp
push edx
call fcn.1003a297
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str._s_s.bak
jmp 0x10008a36
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.1003a297
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x40]
push 0x100513b8
push edx
call fcn.1003a297
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x100513ac
lea edx, [esp + 0x44]
push edx
call fcn.1003a297
mov eax, dword [esp + 0x6c]
add esp, 0x30
test eax, eax
jle 0x10008d72
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10008a81
mov eax, esi
mov edi, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 0
jne 0x10008a79
push eax
call fcn.1003baa6
add esp, 4
lea ecx, [esp + 0x30]
push edi
call fcn.1003a4f8
test esi, esi
jne 0x10008a57
mov eax, dword [esp + 0x3c]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea esi, [ecx*4 + 0xa0]
push esi
mov dword [esp + 0x28], esi
call fcn.1003ba7d
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor edx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10008add
lea ebp, [ebx + 0xa0]
mov ecx, eax
mov eax, dword [eax]
mov edi, ebp
inc edx
mov esi, dword [ecx + 8]
mov ecx, 0x21
add ebp, 0x84
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x10008ac2
mov eax, edx
lea ecx, [ebx + 0xa0]
shl eax, 5
add eax, edx
lea edx, [esp + 0x2c]
shl eax, 2
push eax
push ecx
push edx
call fcn.1000dc30
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x74]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
push 0x100513a8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x2d4], 9
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 2]
mov ecx, 8
lea esi, [esp + 0x78]
mov word [ebx], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1002093c
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10008d21
mov edi, dword [esp + 0x24]
push esi
push edi
push 1
push ebx
call fcn.100209ef
add esp, 0x10
cmp edi, eax
jne 0x10008ce6
push esi
mov dword [esp + 0x18], 0
call fcn.1002069a
mov edx, dword [esp + 0x24]
xor edi, edi
push edi
push edx
call fcn.10009aa0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
test eax, eax
je 0x10008bdc
mov eax, dword [esp + 0x18]
push edi
push eax
call fcn.10009aa0
add esp, 8
test eax, eax
je 0x10008bc1
mov ecx, dword [esp + 0x18]
push ecx
call esi
test eax, eax
je 0x10008c06
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.1002157f
add esp, 8
test eax, eax
jne 0x10008c3b
mov edi, 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.1002157f
add esp, 8
test eax, eax
jne 0x10008c70
test edi, edi
je 0x10008d56
mov eax, dword [esp + 0x18]
push eax
call esi
jmp 0x10008d56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push str.Delete_Backup_File_Fail.LastError__d_
lea esi, [ecx + 0x2c]
push esi
call fcn.1003a297
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
call fcn.100082c0
mov dword [esp + 0x14], 8
jmp 0x10008d56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x1c]
push eax
push str.rename_VerifyFile_To_BackkupFile_Fail.LastError__d_
lea esi, [edx + 0x2c]
push esi
call fcn.1003a297
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
call fcn.100082c0
mov dword [esp + 0x14], 9
jmp 0x10008d56
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push eax
mov eax, dword [esp + 0x20]
push str.rename_TempFile_To_VerifyFile_Fail.LastError__d_
lea esi, [eax + 0x2c]
push esi
call fcn.1003a297
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
call fcn.100082c0
test edi, edi
mov dword [esp + 0x14], 0xa
je 0x10008d56
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.1002157f
add esp, 8
test eax, eax
je 0x10008d56
call ebp
push eax
mov eax, dword [esi]
push eax
push str._s_And_Rename_BackupFile_To_VerifyFile_Fail__d_
push esi
call fcn.1003a297
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push esi
call fcn.100082c0
jmp 0x10008d56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push str.dwLen___fwrite_bzWriteToFile_1_dwLen_pFile___LastError__d_
lea edi, [ecx + 0x2c]
push edi
call fcn.1003a297
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
call fcn.100082c0
push esi
mov dword [esp + 0x18], 7
call fcn.1002069a
add esp, 4
jmp 0x10008d56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.fopen_Fail.File__s__LastError__d_
lea esi, [eax + 0x2c]
push esi
call fcn.1003a297
mov eax, dword [esi]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push eax
call fcn.100082c0
mov dword [esp + 0x14], 6
push ebx
call fcn.1003baa6
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c4], 8
call fcn.1003bd1e
jmp 0x10008d89
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10008d89
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c4], 7
call fcn.1003bd1e
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c4], 6
call fcn.1003bd1e
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 3
call fcn.1003bd1e
mov esi, dword [esp + 0x54]
test esi, esi
je 0x10008de5
mov eax, esi
mov edi, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.1003baa6
add esp, 4
lea ecx, [esp + 0x4c]
push edi
call fcn.1003a4f8
test esi, esi
jne 0x10008dc4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10008e0e
mov eax, esi
mov edi, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.1003baa6
add esp, 4
lea ecx, [esp + 0x30]
push edi
call fcn.1003a4f8
test esi, esi
jne 0x10008ded
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2c4], 2
call fcn.1003a5ff
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c4], 1
call fcn.1003a45e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c4], 0
call fcn.1003a45e
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.1003bd1e
mov eax, dword [esp + 0x14]
jmp 0x10008e8f
push str.RealPath_Len_Is_0_
push esi
call fcn.1003a297
mov esi, dword [esi]
add esp, 8
mov ecx, ebx
push esi
call fcn.100082c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.1003bd1e
mov eax, 1
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b8
ret 0xc