Function at 0x420250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d44f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x56b06c]
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.0041e110
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 0x4202c1
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4202c1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4202c1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
je 0x42032c
lea ecx, [ebp - 0x34]
call fcn.0041e110
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 0x4202ee
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 0x420328
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x420328
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x420328
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.0041f080
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0041e110
mov edi, dword [eax]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x420372
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x420372
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x420372
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x4203d0
lea ecx, [ebp - 0x34]
call fcn.0041e110
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 0x4203cc
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4203cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4203cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x42053b
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004119e0
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0041f770
add esp, 0x18
mov byte [ebp - 0x29], al
lea ecx, [ebp - 0x34]
call fcn.0041e110
mov edi, dword [eax]
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x42042d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42042d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x42042d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x420491
lea ecx, [ebp - 0x34]
call fcn.0041e110
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 0x42048d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42048d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x42048d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp byte [ebp - 0x29], 0
je 0x42053b
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.0041e110
mov edi, dword [eax]
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4204e4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4204e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4204e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
test edi, edi
je 0x42053b
lea ecx, [ebp - 0x34]
call fcn.0041e110
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 0x42053b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42053b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42053b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x420571
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205da
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4205bb
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4205b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205df
push edx
push ecx
call fcn.004835cc
add esp, 8
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.0048358b
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
call fcn.004b1db8
int3