Function at 0x435d70
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fe9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
xor ebp, ebp
mov ecx, 0x563288
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebp
call fcn.00436150
test eax, eax
jne 0x435df7
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435df0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x435f87
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x1c]
imul eax, eax, 0x101
add eax, 8
mov ebx, eax
push 0x563240
push ebx
call fcn.004e538d
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x435f5b
push ebx
push ebp
push esi
call fcn.004e8fe0
mov dword [esi], 0x3336307a
mov ecx, dword [edi + 0x1c]
lea ebp, [esi + 4]
mov dword [ebp], ecx
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov ebx, dword [edi]
add esp, 0xc
add ebp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
jmp 0x435e5f
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov edx, dword [edi + 0x18]
mov edi, dword [edi]
mov dword [esp + 0x34], edx
test ebx, ebx
je 0x435e70
cmp ebx, edi
je 0x435e75
call fcn.004e48f7
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x2c], eax
je 0x435f9d
test ebx, ebx
jne 0x435f26
call fcn.004e48f7
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebx + 0x18]
jne 0x435e9e
call fcn.004e48f7
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
sub eax, 0x10
call fcn.004048c0
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x44], 1
mov ebx, dword [edi - 0xc]
cmp ebx, 0x7f
jg 0x435f2d
mov byte [ebp], bl
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
inc ebp
or ecx, eax
jge 0x435ee3
xor ecx, ecx
lea eax, [esp + 0x1c]
call fcn.004014d0
mov edi, dword [esp + 0x1c]
lea esi, [ebx + ebx]
push esi
push edi
push ebp
call fcn.004e95a0
add ebp, esi
add esp, 0xc
lea esi, [esp + 0x28]
call fcn.0041c0d0
lea eax, [edi - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x435e53
mov ebx, dword [ebx]
jmp 0x435e90
add edi, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f4e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov esi, dword [esp + 0x14]
push esi
call fcn.004e4aa9
add esp, 4
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
sub ebp, esi
push ebp
call fcn.004361e0
mov ebx, dword [esp + 0x18]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x435f52
push 0
lea eax, [esp + 0x24]
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435ff7
cmp dword [esp + 0x20], ebp
jne 0x435ff7
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435f52
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x435f52