Function at 0x10019c60
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10050bef
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x584], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x59c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x3c]
xor esi, esi
push esi
lea ecx, [ebp + 0x28]
push 0x1005b784
push eax
push esi
mov dword [esp + 0x24], ebp
call fcn.1000f680
test eax, eax
je 0x1001a442
xor ecx, ecx
mov dword [esp + 0x194], 7
mov dword [esp + 0x190], esi
mov word [esp + 0x180], cx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov edi, dword [ebp + 8]
mov dword [esp + 0x5a4], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
test edi, edi
je 0x10019d03
cmp edi, eax
je 0x10019d08
call fcn.10039cd0
cmp ebx, esi
je 0x1001a1f6
cmp dword [esp + 0x1c], 0xc8
jge 0x1001a1f6
test edi, edi
jne 0x10019d42
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019d33
call fcn.10039cd0
cmp dword [ebx + 0x30], 1
jne 0x10019d46
push 2
push 0x10054f60
jmp 0x10019d70
mov eax, dword [edi]
jmp 0x10019d29
test edi, edi
jne 0x1001a1c5
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019d5f
call fcn.10039cd0
cmp dword [ebx + 0x30], 2
jne 0x1001a1a7
push 2
push 0x10054f58
lea ecx, [esp + 0x184]
call fcn.1000b310
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x1a2]
push eax
mov word [esp + 0x1a4], dx
call fcn.10038ae0
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x3ae]
push edx
mov word [esp + 0x3b0], cx
call fcn.10038ae0
add esp, 0x18
test edi, edi
jne 0x1001a1cc
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019dd2
call fcn.10039cd0
push 0x10054f54
lea esi, [ebx + 0x10]
lea eax, [esp + 0x148]
push esi
push eax
call fcn.1000b8a0
add esp, 0xc
mov ebp, eax
mov byte [esp + 0x5a4], 1
test edi, edi
jne 0x1001a1d3
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019e0e
call fcn.10039cd0
lea ecx, [esi + 0x24]
push ecx
lea edx, [esp + 0x12c]
push ebp
push edx
call fcn.10019aa0
push 0x10054f54
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x5bc], 2
call fcn.1000b8a0
add esp, 0x18
mov ebp, eax
mov byte [esp + 0x5a4], 3
test edi, edi
jne 0x1001a1da
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019e61
call fcn.10039cd0
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push 0xa
lea ecx, [esp + 0x19c]
push ecx
push edx
push eax
call fcn.1003ae9f
push eax
lea ecx, [esp + 0xb0]
push ebp
push ecx
call fcn.1000b8a0
push 0x10054f54
push eax
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x5cc], 4
call fcn.1000b8a0
add esp, 0x28
mov ebp, eax
mov byte [esp + 0x5a4], 5
test edi, edi
jne 0x1001a1e1
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019ec8
call fcn.10039cd0
mov ecx, dword [esi + 0x48]
push 0xa
lea eax, [esp + 0x39c]
push eax
push ecx
call fcn.1003addc
push eax
lea edx, [esp + 0x58]
push ebp
push edx
call fcn.1000b8a0
push 0x10054f54
push eax
lea eax, [esp + 0x110]
push eax
mov byte [esp + 0x5c8], 6
call fcn.1000b8a0
add esp, 0x24
mov ebp, eax
mov byte [esp + 0x5a4], 7
test edi, edi
jne 0x1001a1e8
call fcn.10039cd0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019f28
call fcn.10039cd0
lea ecx, [esi + 0x4c]
push ecx
lea edx, [esp + 0xd8]
push ebp
push edx
call fcn.10019aa0
push 0x10054f54
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x5bc], 8
call fcn.1000b8a0
add esp, 0x18
mov ebp, eax
mov byte [esp + 0x5a4], 9
test edi, edi
jne 0x1001a1ef
call fcn.10039cd0
cmp ebx, dword [edi + 0x18]
jne 0x10019f76
call fcn.10039cd0
add esi, 0x68
push esi
lea ecx, [esp + 0xbc]
push ebp
push ecx
call fcn.10019aa0
push 0x10054f4c
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x5bc], 0xa
call fcn.1000b8a0
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x5b0], 0xb
call fcn.1000b200
mov esi, 8
cmp dword [esp + 0x98], esi
jb 0x10019fde
mov eax, dword [esp + 0x84]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], edi
mov word [esp + 0x84], cx
cmp dword [esp + 0xd0], esi
jb 0x1001a014
mov edx, dword [esp + 0xbc]
push edx
call fcn.100386ec
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], ax
cmp dword [esp + 0x44], esi
jb 0x1001a03f
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100386ec
add esp, 4
xor edx, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], dx
cmp dword [esp + 0xec], esi
jb 0x1001a067
mov eax, dword [esp + 0xd8]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], edi
mov word [esp + 0xd8], cx
cmp dword [esp + 0x108], esi
jb 0x1001a098
mov edx, dword [esp + 0xf4]
push edx
call fcn.100386ec
add esp, 4
xor eax, eax
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], edi
mov word [esp + 0xf4], ax
cmp dword [esp + 0x60], esi
jb 0x1001a0c3
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100386ec
add esp, 4
xor edx, edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], dx
cmp dword [esp + 0x7c], esi
jb 0x1001a0e5
mov eax, dword [esp + 0x68]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
cmp dword [esp + 0xb4], esi
jb 0x1001a10d
mov edx, dword [esp + 0xa0]
push edx
call fcn.100386ec
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], ax
cmp dword [esp + 0x124], esi
jb 0x1001a13e
mov ecx, dword [esp + 0x110]
push ecx
call fcn.100386ec
add esp, 4
xor edx, edx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x120], edi
mov word [esp + 0x110], dx
cmp dword [esp + 0x140], esi
jb 0x1001a16f
mov eax, dword [esp + 0x12c]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x13c], edi
mov word [esp + 0x12c], cx
mov byte [esp + 0x5a4], cl
cmp dword [esp + 0x15c], esi
jb 0x1001a1a7
mov edx, dword [esp + 0x148]
push edx
call fcn.100386ec
add esp, 4
lea ecx, [esp + 0x20]
call fcn.10018e80
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
jmp 0x10019cf5
mov eax, dword [edi]
jmp 0x10019d55
mov eax, dword [edi]
jmp 0x10019dc8
mov eax, dword [edi]
jmp 0x10019e04
mov eax, dword [edi]
jmp 0x10019e57
mov eax, dword [edi]
jmp 0x10019ebe
mov eax, dword [edi]
jmp 0x10019f1e
mov edi, dword [edi]
jmp 0x10019f6c
mov ecx, dword [esp + 0x5ac]
test ecx, ecx
je 0x1001a287
mov eax, dword [esp + 0x5b0]
test eax, eax
jle 0x1001a287
mov edx, dword [esp + 0x190]
add edx, edx
cmp eax, edx
jne 0x1001a287
mov edi, dword [esp + 0x194]
mov ebp, dword [esp + 0x180]
mov esi, ebp
cmp edi, 8
jae 0x1001a239
lea esi, [esp + 0x180]
cmp eax, 4
jb 0x1001a254
mov edi, edi
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x1001a287
sub eax, 4
add esi, 4
add ecx, 4
cmp eax, 4
jae 0x1001a240
test eax, eax
je 0x1001a278
mov dl, byte [esi]
cmp dl, byte [ecx]
jne 0x1001a287
cmp eax, 1
jbe 0x1001a278
mov dl, byte [esi + 1]
cmp dl, byte [ecx + 1]
jne 0x1001a287
cmp eax, 2
jbe 0x1001a278
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1001a287
cmp edi, 8
jb 0x1001a442
push ebp
jmp 0x1001a43a
mov esi, dword [esp + 0x14]
push str..temp
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x164]
push ebx
push ecx
call fcn.1000b8a0
add esp, 0xc
mov ecx, dword [esp + 0x164]
mov ebp, 8
mov byte [esp + 0x5a4], 0xc
cmp dword [esp + 0x178], ebp
jae 0x1001a2c8
lea ecx, [esp + 0x164]
cmp dword [ebx + 0x18], ebp
jb 0x1001a2d2
mov eax, dword [ebx + 4]
jmp 0x1001a2d5
lea eax, [ebx + 4]
push ecx
push eax
push str.SaveShareList:_s__temp:_s
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x18]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.10019530
test al, al
jne 0x1001a358
cmp dword [esp + 0x178], ebp
jb 0x1001a322
mov ecx, dword [esp + 0x164]
push ecx
call fcn.100386ec
add esp, 4
xor edx, edx
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], edi
mov word [esp + 0x164], dx
cmp dword [esp + 0x194], ebp
jb 0x1001a442
mov eax, dword [esp + 0x180]
push eax
jmp 0x1001a43a
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x2c]
push ecx
push 2
lea edx, [esp + 0x24]
push edx
push esi
mov byte [esp + 0x2c], 0xff
mov byte [esp + 0x2d], 0xfe
call edi
mov eax, dword [esp + 0x180]
cmp dword [esp + 0x194], ebp
jae 0x1001a393
lea eax, [esp + 0x180]
mov edx, dword [esp + 0x190]
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edx + edx]
push ecx
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x18], ebp
jb 0x1001a3ba
mov eax, dword [ebx + 4]
jmp 0x1001a3bd
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], ebp
jb 0x1001a3ce
mov eax, dword [ebx + 4]
jmp 0x1001a3d1
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x164]
cmp dword [esp + 0x178], ebp
jae 0x1001a3e8
lea ecx, [esp + 0x164]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [esp + 0x178], ebp
jb 0x1001a409
mov edx, dword [esp + 0x164]
push edx
call fcn.100386ec
add esp, 4
xor eax, eax
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], 0
mov word [esp + 0x164], ax
cmp dword [esp + 0x194], ebp
jb 0x1001a442
mov ecx, dword [esp + 0x180]
push ecx
call fcn.100386ec
add esp, 4
mov ecx, dword [esp + 0x59c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x584]
xor ecx, esp
call fcn.10038723
add esp, 0x594
ret 8