Function at 0x10001dfa
Capabilities:
Delete file
Move file

Disassembly:
push 0x2cc
mov eax, 0x100313f7
call fcn.1001a75a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
mov edi, ecx
mov esi, edx
push eax
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], esi
call fcn.1001bc00
add esp, 0xc
test esi, esi
je 0x100020a5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xfa
jg 0x100020a5
push str.hash:_size:1
lea ecx, [ebp - 0x2d8]
call fcn.1000399e
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x2d8]
call fcn.10001507
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
pop ecx
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x2d8]
inc bl
call fcn.10003e16
test bl, bl
je 0x10001e9e
mov dword [ebp - 0x2b4], esi
jmp 0x100020af
push edi
mov edx, str.hash
call fcn.1000ec12
push eax
lea ecx, [ebp - 0x234]
call fcn.1000df2b
push 0x104
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str..tmp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edi, [ebp - 0x218]
call fcn.10005854
test eax, eax
jne 0x10001f0d
push eax
mov dword [ebp - 0x2b4], 2
push esi
lea ecx, [ebp - 0x234]
call fcn.10003e16
jmp 0x100020af
lea edi, [ebp - 0x2d8]
call fcn.1000a017
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 0x10
mov ecx, dword [ebp - 0x230]
jae 0x10001f31
lea ecx, [ebp - 0x230]
cmp dword [eax + 0x18], 0x10
jb 0x10001f3c
mov eax, dword [eax + 4]
jmp 0x10001f3f
add eax, 4
push ecx
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile_client_task__s
lea esi, [ebp - 0x2b0]
call fcn.10006434
add esp, 0x10
xor edi, edi
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x2d8]
call fcn.10003e16
push edi
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], 0xf
call fcn.10004386
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push str.fileDispatch:
push eax
mov byte [ebp - 4], 5
call fcn.100051a5
add esp, 0xc
push dword [ebp - 0x2b8]
mov edx, str.size
mov byte [ebp - 4], 6
call fcn.1000ec12
mov esi, eax
call fcn.1000e332
lea esi, [ebp - 0x270]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], edx
call fcn.1000398b
mov eax, dword [ebp - 0x2bc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x2b8]
push 0xffffffffffffffff
mov dword [ebp - 0x274], eax
push edi
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.10003cf1
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 8
call fcn.100098ff
add esp, 0xc
test al, al
jne 0x10002071
push edi
mov dword [ebp - 0x2b4], 4
push ebx
mov ecx, esi
call fcn.10003e16
push edi
push ebx
lea ecx, [ebp - 0x294]
call fcn.10003e16
push edi
push ebx
lea ecx, [ebp - 0x250]
call fcn.10003e16
push edi
push ebx
lea ecx, [ebp - 0x2b0]
call fcn.10003e16
push edi
push ebx
jmp 0x10001efd
push ebx
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
lea ecx, [ebp - 0x270]
push ebx
test eax, eax
jne 0x1000209d
mov dword [ebp - 0x2b4], 2
jmp 0x1000203e
mov dword [ebp - 0x2b4], edi
jmp 0x1000203e
mov dword [ebp - 0x2b4], 3
cmp word [ebp - 0x218], 0
je 0x100020c6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2b4]
call fcn.1001a7dd
ret