Function at 0x42bd70
Capabilities:
Check mutex on windows
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a026c
mov eax, dword fs:[0]
push eax
mov eax, 0x12f0
call fcn.00488190
mov eax, dword [0x4c9890]
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 esi, ecx
push str.CInternal::flush
push str._UNO___s_Begin_Flush
call fcn.00422df0
xor edi, edi
add esp, 8
mov ecx, esi
mov dword [ebp - 0x12e8], edi
call fcn.0042d690
test eax, eax
jne 0x42bdd1
lea eax, [edi + 1]
jmp 0x42c2da
mov ecx, esi
call fcn.0042d780
test eax, eax
jne 0x42bde6
mov eax, 2
jmp 0x42c2da
cmp dword [esi + 0x1164], edi
je 0x42bdf5
mov ecx, esi
call fcn.0042d840
mov dword [ebp - 0x12f4], edi
mov dword [ebp - 0x12f0], edi
mov dword [ebp - 0x12ec], edi
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 4], 0
call fcn.004146f0
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x12f4]
mov byte [ebp - 4], 1
call fcn.0042e920
cmp dword [ebp - 0x1034], 8
mov byte [ebp - 4], 0
jb 0x42be4e
push dword [ebp - 0x1048]
call fcn.00486409
add esp, 4
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x1048]
call fcn.004146f0
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x12f4]
mov byte [ebp - 4], 2
call fcn.0042e920
cmp dword [ebp - 0x1034], 8
mov byte [ebp - 4], 0
jb 0x42be91
push dword [ebp - 0x1048]
call fcn.00486409
add esp, 4
mov ecx, dword [ebp - 0x12f0]
sub ecx, dword [ebp - 0x12f4]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x12f8], ebx
je 0x42c290
mov edi, dword [ebp - 0x12f4]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004866f0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42bee8
mov eax, dword [edi]
jmp 0x42beea
mov eax, edi
push eax
lea eax, [ebp - 0x420]
push str._s.json
push eax
call fcn.0042f2d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004866f0
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x42bf24
mov eax, dword [edi]
jmp 0x42bf26
mov eax, edi
lea ecx, [ebp - 0x628]
push ecx
push eax
mov ecx, esi
call fcn.0042d080
cmp dword [esi + 0x116c], 0
mov dword [ebp - 0x12fc], 0
je 0x42bf8c
lea eax, [ebp - 0x628]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x12fc], ebx
test ebx, ebx
je 0x42bf8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42bf8c
lea eax, [ebp - 0x420]
push eax
push str._UNO__other_exe_UNO_access_the_same_folder__give_up_this_time:__s
call fcn.00422df0
add esp, 8
push ebx
jmp 0x42c271
test byte [esi + 0x1168], 2
je 0x42bfe2
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1030], ax
lea eax, [ebp - 0x102e]
push eax
call fcn.004866f0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42bfbd
mov eax, dword [edi]
jmp 0x42bfbf
mov eax, edi
push eax
lea eax, [ebp - 0x1030]
push str.starting_upload_path:__s
push eax
call fcn.00424c40
add esp, 0xc
lea eax, [ebp - 0x1030]
push eax
mov ecx, esi
call fcn.00429900
lea eax, [ebp - 0x12d8]
push eax
lea eax, [ebp - 0x420]
xor ebx, ebx
push eax
mov dword [ebp - 0x12e0], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x12dc], eax
cmp eax, 0xffffffff
je 0x42c209
lea ecx, [ecx]
test byte [ebp - 0x12d8], 0x10
jne 0x42c1e6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004866f0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42c045
mov eax, dword [edi]
jmp 0x42c047
mov eax, edi
lea ecx, [ebp - 0x12ac]
push ecx
push eax
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.0042f2d0
lea eax, [ebp - 0x218]
push eax
push str.CInternal::flush
push str._UNO___s_upload_file__s
call fcn.00422df0
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0042f2f0
mov ebx, eax
test ebx, ebx
jne 0x42c0ff
inc dword [ebp - 0x12e0]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42c1e0
test byte [esi + 0x1168], 4
je 0x42c1e0
push 0x7fe
push eax
mov word [ebp - 0x1030], ax
lea eax, [ebp - 0x102e]
push eax
call fcn.004866f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1030]
push str.delete_file_error__result___d
push eax
call fcn.00424c40
add esp, 0xc
lea eax, [ebp - 0x1030]
push eax
mov ecx, esi
call fcn.00429900
jmp 0x42c1e0
cmp ebx, 6
jne 0x42c146
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004265f0
test eax, eax
jne 0x42c128
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42c1e0
test byte [esi + 0x1168], 4
je 0x42c1e0
push str.Server_responce_failed_but_local_file_is_valid
mov ecx, esi
call fcn.00429900
jmp 0x42c1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
mov dword [ebp - 0x12e8], 1
call fcn.004866f0
push ebx
lea eax, [ebp - 0x830]
push str.upload_failed__reason___d
push eax
call fcn.00424c20
add esp, 0x18
lea ecx, [ebp - 0x1088]
call fcn.00431400
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 3
call fcn.00432a70
test eax, eax
je 0x42c1d1
lea eax, [ebp - 0x830]
push eax
push str._UNO_
lea eax, [ebp - 0x1088]
push eax
mov ecx, esi
call fcn.0042b6d0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1088]
call fcn.00433130
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 0
call fcn.00431470
mov eax, dword [ebp - 0x12dc]
lea ecx, [ebp - 0x12d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x12dc]
jne 0x42c010
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esi + 0x1168], 2
je 0x42c266
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1030], ax
lea eax, [ebp - 0x102e]
push eax
call fcn.004866f0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42c23a
mov eax, dword [edi]
jmp 0x42c23c
mov eax, edi
push ebx
push dword [ebp - 0x12e0]
push eax
lea eax, [ebp - 0x1030]
push str.finish_upload_path:__s__upload_count___d__result___d
push eax
call fcn.00424c40
add esp, 0x14
lea eax, [ebp - 0x1030]
push eax
mov ecx, esi
call fcn.00429900
mov eax, dword [ebp - 0x12fc]
test eax, eax
je 0x42c277
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x18
dec dword [ebp - 0x12f8]
jne 0x42bec0
mov edi, dword [ebp - 0x12e8]
test edi, edi
jne 0x42c29a
mov dword [esi + 0x105c], 0
push str.CInternal::flush
push str._UNO___s_End_Flush
call fcn.00422df0
mov ebx, dword [ebp - 0x12f4]
add esp, 8
test ebx, ebx
je 0x42c2d8
push dword [ebp - 0x12e8]
lea eax, [ebp - 0x12e1]
push eax
push dword [ebp - 0x12f0]
push ebx
call fcn.00424450
push ebx
call fcn.00486409
add esp, 0x14
mov eax, edi
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.00487c50
mov esp, ebp
pop ebp
ret