Function at 0x42b5a0
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d88cb
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebx
mov ebx, dword [esp + 0x440]
push ebp
xor ebp, ebp
cmp ebx, ebp
jne 0x42b5ef
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x42b5ef
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
add esp, 0x438
ret
push esi
push edi
lea ecx, [esp + 0x224]
mov dword [esp + 0x10], ebp
call fcn.004afdf0
mov ecx, dword [esp + 0x450]
mov dword [esp + 0x444], ebp
mov eax, dword [ecx + 4]
cmp eax, ebp
jne 0x42b61a
xor esi, esi
jmp 0x42b632
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x1c], cx
mov ecx, 0x81
lea edi, [esp + 0x1e]
cmp esi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jbe 0x42b7ba
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, esi
shl edi, 5
add edi, esi
shl edi, 4
add edi, 4
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x42b7ba
push 0x4ef214
push ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ecx, edi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, ebp
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x14], edx
and ecx, 3
test edx, edx
rep stosb byte es:[edi], al
je 0x42b7b1
test esi, esi
mov dword [ebp], esi
lea ebx, [ebp + 4]
jbe 0x42b77e
xor ebp, ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x450]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0x224]
mov edx, dword [eax + ebp + 4]
push edx
call fcn.004b04e0
test eax, eax
mov eax, dword [esi + 4]
je 0x42b701
push 1
jmp 0x42b706
push 0x8001
mov edx, dword [eax + ebp + 4]
lea ecx, [esp + 0x20]
push 0x103
push ecx
push edx
lea ecx, [esp + 0x234]
call fcn.004b0280
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
shl eax, 1
mov ecx, eax
mov dword [ebx], eax
add ebx, 4
mov edx, ecx
lea esi, [esp + 0x20]
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebx, eax
mov eax, dword [esp + 0x454]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 4]
add esp, 4
add ebx, 4
mov ecx, dword [eax + ebp]
mov eax, dword [esp + 0x10]
mov dword [ebx - 4], ecx
add ebp, 0x220
dec eax
mov dword [esp + 0x10], eax
jne 0x42b6ce
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
sub ebx, ebp
push 1
push ebx
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x460]
add esp, 0x14
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x10], 1
push ebp
call fcn.004d4cc1
add esp, 4
lea ecx, [esp + 0x224]
mov dword [esp + 0x444], 0xffffffff
call fcn.004afe40
mov ecx, dword [esp + 0x43c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x438
ret