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

Disassembly:
push 0xffffffffffffffff
push 0x100285ff
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x584], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032f68]
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 0x1002ee54
push eax
push esi
mov dword [esp + 0x24], ebp
call fcn.100088d0
test eax, eax
je 0x1000b83d
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 0x1000b123
cmp edi, eax
je 0x1000b128
call fcn.10015e05
cmp ebx, esi
je 0x1000b615
mov edx, dword [esp + 0x1c]
cmp edx, dword [ebp + 0x70]
jge 0x1000b615
test edi, edi
jne 0x1000b161
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b152
call fcn.10015e05
cmp dword [ebx + 0x30], 1
jne 0x1000b165
push 2
push 0x1002a9d0
jmp 0x1000b18f
mov eax, dword [edi]
jmp 0x1000b148
test edi, edi
jne 0x1000b5e4
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b17e
call fcn.10015e05
cmp dword [ebx + 0x30], 2
jne 0x1000b5c6
push 2
push 0x1002a9c8
lea ecx, [esp + 0x184]
call fcn.1000a0e0
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x1a2]
push ecx
mov word [esp + 0x1a4], ax
call fcn.10015800
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x3ae]
push eax
mov word [esp + 0x3b0], dx
call fcn.10015800
add esp, 0x18
test edi, edi
jne 0x1000b5eb
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b1f1
call fcn.10015e05
push 0x1002a9c4
lea esi, [ebx + 0x10]
lea ecx, [esp + 0x148]
push esi
push ecx
call fcn.1000a7e0
add esp, 0xc
mov ebp, eax
mov byte [esp + 0x5a4], 1
test edi, edi
jne 0x1000b5f2
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b22d
call fcn.10015e05
lea edx, [esi + 0x24]
push edx
lea eax, [esp + 0x12c]
push ebp
push eax
call fcn.1000a8b0
push 0x1002a9c4
push eax
lea ecx, [esp + 0x120]
push ecx
mov byte [esp + 0x5bc], 2
call fcn.1000a7e0
add esp, 0x18
mov ebp, eax
mov byte [esp + 0x5a4], 3
test edi, edi
jne 0x1000b5f9
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b280
call fcn.10015e05
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push 0xa
lea edx, [esp + 0x19c]
push edx
push eax
push ecx
call fcn.1001644b
push eax
lea edx, [esp + 0xb0]
push ebp
push edx
call fcn.1000a7e0
push 0x1002a9c4
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x5cc], 4
call fcn.1000a7e0
add esp, 0x28
mov ebp, eax
mov byte [esp + 0x5a4], 5
test edi, edi
jne 0x1000b600
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b2e7
call fcn.10015e05
mov edx, dword [esi + 0x48]
push 0xa
lea ecx, [esp + 0x39c]
push ecx
push edx
call fcn.100163a2
push eax
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.1000a7e0
push 0x1002a9c4
push eax
lea ecx, [esp + 0x110]
push ecx
mov byte [esp + 0x5c8], 6
call fcn.1000a7e0
add esp, 0x24
mov ebp, eax
mov byte [esp + 0x5a4], 7
test edi, edi
jne 0x1000b607
call fcn.10015e05
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1000b347
call fcn.10015e05
lea edx, [esi + 0x4c]
push edx
lea eax, [esp + 0xd8]
push ebp
push eax
call fcn.1000a8b0
push 0x1002a9c4
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x5bc], 8
call fcn.1000a7e0
add esp, 0x18
mov ebp, eax
mov byte [esp + 0x5a4], 9
test edi, edi
jne 0x1000b60e
call fcn.10015e05
cmp ebx, dword [edi + 0x18]
jne 0x1000b395
call fcn.10015e05
add esi, 0x68
push esi
lea edx, [esp + 0xbc]
push ebp
push edx
call fcn.1000a8b0
push 0x1002a9bc
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x5bc], 0xa
call fcn.1000a7e0
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x5b0], 0xb
call fcn.10009fd0
mov esi, 8
cmp dword [esp + 0x98], esi
jb 0x1000b3fd
mov ecx, dword [esp + 0x84]
push ecx
call fcn.10015436
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], edi
mov word [esp + 0x84], dx
cmp dword [esp + 0xd0], esi
jb 0x1000b433
mov eax, dword [esp + 0xbc]
push eax
call fcn.10015436
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], cx
cmp dword [esp + 0x44], esi
jb 0x1000b45e
mov edx, dword [esp + 0x30]
push edx
call fcn.10015436
add esp, 4
xor eax, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
cmp dword [esp + 0xec], esi
jb 0x1000b486
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.10015436
add esp, 4
xor edx, edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], edi
mov word [esp + 0xd8], dx
cmp dword [esp + 0x108], esi
jb 0x1000b4b7
mov eax, dword [esp + 0xf4]
push eax
call fcn.10015436
add esp, 4
xor ecx, ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], edi
mov word [esp + 0xf4], cx
cmp dword [esp + 0x60], esi
jb 0x1000b4e2
mov edx, dword [esp + 0x4c]
push edx
call fcn.10015436
add esp, 4
xor eax, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], ax
cmp dword [esp + 0x7c], esi
jb 0x1000b504
mov ecx, dword [esp + 0x68]
push ecx
call fcn.10015436
add esp, 4
xor edx, edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov word [esp + 0x68], dx
cmp dword [esp + 0xb4], esi
jb 0x1000b52c
mov eax, dword [esp + 0xa0]
push eax
call fcn.10015436
add esp, 4
xor ecx, ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], cx
cmp dword [esp + 0x124], esi
jb 0x1000b55d
mov edx, dword [esp + 0x110]
push edx
call fcn.10015436
add esp, 4
xor eax, eax
mov dword [esp + 0x124], ebx
mov dword [esp + 0x120], edi
mov word [esp + 0x110], ax
cmp dword [esp + 0x140], esi
jb 0x1000b58e
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.10015436
add esp, 4
xor edx, edx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x13c], edi
mov word [esp + 0x12c], dx
mov byte [esp + 0x5a4], dl
cmp dword [esp + 0x15c], esi
jb 0x1000b5c6
mov eax, dword [esp + 0x148]
push eax
call fcn.10015436
add esp, 4
lea ecx, [esp + 0x20]
call fcn.100086d0
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
jmp 0x1000b115
mov eax, dword [edi]
jmp 0x1000b174
mov eax, dword [edi]
jmp 0x1000b1e7
mov eax, dword [edi]
jmp 0x1000b223
mov eax, dword [edi]
jmp 0x1000b276
mov eax, dword [edi]
jmp 0x1000b2dd
mov eax, dword [edi]
jmp 0x1000b33d
mov edi, dword [edi]
jmp 0x1000b38b
mov ecx, dword [esp + 0x5ac]
test ecx, ecx
je 0x1000b6a7
mov eax, dword [esp + 0x5b0]
test eax, eax
jle 0x1000b6a7
mov edx, dword [esp + 0x190]
add edx, edx
cmp eax, edx
jne 0x1000b6a7
mov edi, dword [esp + 0x194]
mov ebp, dword [esp + 0x180]
mov esi, ebp
cmp edi, 8
jae 0x1000b658
lea esi, [esp + 0x180]
cmp eax, 4
jb 0x1000b674
lea ecx, [ecx]
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x1000b6a7
sub eax, 4
add esi, 4
add ecx, 4
cmp eax, 4
jae 0x1000b660
test eax, eax
je 0x1000b698
mov dl, byte [esi]
cmp dl, byte [ecx]
jne 0x1000b6a7
cmp eax, 1
jbe 0x1000b698
mov dl, byte [esi + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b6a7
cmp eax, 2
jbe 0x1000b698
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1000b6a7
cmp edi, 8
jb 0x1000b83d
push ebp
jmp 0x1000b835
mov esi, dword [esp + 0x14]
push str..temp
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x164]
push ebx
push ecx
call fcn.1000a7e0
add esp, 0xc
mov ecx, dword [esp + 0x164]
mov ebp, 8
mov byte [esp + 0x5a4], 0xc
cmp dword [esp + 0x178], ebp
jae 0x1000b6e8
lea ecx, [esp + 0x164]
cmp dword [ebx + 0x18], ebp
jb 0x1000b6f2
mov eax, dword [ebx + 4]
jmp 0x1000b6f5
lea eax, [ebx + 4]
mov edx, dword [esp + 0x1c]
push edx
push ecx
push eax
push str.SaveShareList:_s__temp:_s_FileNum:_d
push 1
push 0x10034838
call fcn.100146a0
add esp, 0x18
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x18]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.100090c0
test al, al
jne 0x1000b753
cmp dword [esp + 0x178], ebp
jb 0x1000b747
mov edx, dword [esp + 0x164]
push edx
call fcn.10015436
add esp, 4
mov dword [esp + 0x174], edi
jmp 0x1000b80f
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x2c]
push edx
push 2
lea eax, [esp + 0x24]
push eax
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 0x1000b78e
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 0x1000b7b5
mov eax, dword [ebx + 4]
jmp 0x1000b7b8
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], ebp
jb 0x1000b7c9
mov eax, dword [ebx + 4]
jmp 0x1000b7cc
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x164]
cmp dword [esp + 0x178], ebp
jae 0x1000b7e3
lea ecx, [esp + 0x164]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [esp + 0x178], ebp
jb 0x1000b804
mov edx, dword [esp + 0x164]
push edx
call fcn.10015436
add esp, 4
mov dword [esp + 0x174], 0
xor eax, eax
mov word [esp + 0x164], ax
mov dword [esp + 0x178], 7
cmp dword [esp + 0x194], ebp
jb 0x1000b83d
mov ecx, dword [esp + 0x180]
push ecx
call fcn.10015436
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.100157eb
add esp, 0x594
ret 8