Function at 0x467e50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6818e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x79cac4]
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 dword [ebp - 0x38], edx
mov edi, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00465110
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x467ec1
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467ec1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467ec1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
je 0x467f2c
lea ecx, [ebp - 0x34]
call fcn.00465110
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edx, edi
mov esi, dword [eax]
cmovae ecx, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x467eee
mov edx, dword [edi]
mov eax, dword [esi]
push ecx
push edx
push str.SendReportWithZipName:_zipName___s___proxy___s_.
push esi
call dword [eax + 4]
add esp, 0x10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x467f28
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467f28
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467f28
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, edi
mov byte [ebp - 0x29], 0
lea ecx, [ebp - 0x28]
call fcn.00465ef0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00465110
mov edi, dword [eax]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x467f72
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467f72
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467f72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x467fd0
lea ecx, [ebp - 0x34]
call fcn.00465110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
mov edx, dword [eax]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edx]
push ecx
push str.CreateArchive_returned_zipPath___s_.
push edx
call dword [eax + 4]
add esp, 0xc
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x467fcc
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467fcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467fcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x46813b
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00458270
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00467a80
add esp, 0x18
mov byte [ebp - 0x29], al
lea ecx, [ebp - 0x34]
call fcn.00465110
mov edi, dword [eax]
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x46802d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46802d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46802d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x468091
lea ecx, [ebp - 0x34]
call fcn.00465110
cmp byte [ebp - 0x29], 0
mov esi, str.FALSE
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, str.TRUE
cmove eax, esi
push eax
push str.UploadLogs_returned___s_.
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
add esp, 0xc
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x46808d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46808d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46808d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp byte [ebp - 0x29], 0
je 0x46813b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
call fcn.00465110
mov edi, dword [eax]
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4680e4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4680e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4680e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x46813b
lea ecx, [ebp - 0x34]
call fcn.00465110
mov byte [ebp - 4], 0xc
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x38]
push str.DeleteFile_returned___d___error___d__.
push esi
call dword [edi + 4]
add esp, 0x10
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x46813b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46813b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x46813b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x28]
call fcn.00453390
lea ecx, [ebp + 8]
call fcn.00453390
mov al, byte [ebp - 0x29]
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.006116c3
mov esp, ebp
pop ebp
ret