Function at 0x401bb0
Capabilities:
Delete file
Get file size
Move file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x483390]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
mov ebp, dword [0x484c68]
push esi
push edi
xor ebx, ebx
push 0x104
mov edi, ecx
lea ecx, [esp + 0x1d]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], bl
call fcn.00446e10
add esp, 0xc
cmp edi, ebx
je 0x401c48
cmp byte [edi], bl
je 0x401c48
push 0x5c
push edi
call fcn.004432ae
add esp, 8
test eax, eax
jne 0x401cb5
push 0x105
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x18]
push 0x5c
push eax
call fcn.00443381
add esp, 8
cmp eax, ebx
je 0x401c36
mov byte [eax + 1], bl
push edi
lea ecx, [esp + 0x1c]
push ecx
mov eax, 0x105
call fcn.00401170
jmp 0x401cb1
push 0x105
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x105
lea ecx, [esp + 0x18]
cmp byte [ecx], bl
je 0x401c6e
inc ecx
sub eax, 1
jne 0x401c62
jmp 0x401cb1
cmp eax, ebx
je 0x401cb1
mov edx, 0x105
sub edx, eax
mov ecx, 0x105
sub ecx, edx
lea eax, [esp + edx + 0x18]
je 0x401cae
mov edi, str..log
lea esi, [ecx + edx + 0x7ffffefa]
sub edi, eax
cmp esi, ebx
je 0x401caa
mov dl, byte [edi + eax]
cmp dl, bl
je 0x401caa
mov byte [eax], dl
dec ecx
inc eax
dec esi
cmp ecx, ebx
jne 0x401c94
jmp 0x401cae
cmp ecx, ebx
jne 0x401caf
dec eax
mov byte [eax], bl
lea edi, [esp + 0x18]
push ebx
push 0x20
push 4
push ebx
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e1f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
shl ebp, 0xa
cmp eax, ebp
jbe 0x401de8
cmp eax, 0xffffffff
je 0x401de8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [esp + 0x125]
push ebx
push eax
mov byte [esp + 0x12c], bl
call fcn.00446e10
add esp, 0xc
push 0x105
push edi
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x120]
push 0x2e
push edx
call fcn.00443381
add esp, 8
cmp eax, ebx
je 0x401d40
mov byte [eax], bl
mov eax, 0x105
lea ecx, [esp + 0x120]
lea esp, [esp]
cmp byte [ecx], bl
je 0x401d5c
inc ecx
sub eax, 1
jne 0x401d50
jmp 0x401da2
cmp eax, ebx
je 0x401da2
mov edx, 0x105
sub edx, eax
mov ecx, 0x105
sub ecx, edx
lea eax, [esp + edx + 0x120]
je 0x401d9f
mov ebp, str.2.log
lea esi, [ecx + edx + 0x7ffffefa]
sub ebp, eax
cmp esi, ebx
je 0x401d9b
mov dl, byte [eax + ebp]
cmp dl, bl
je 0x401d9b
mov byte [eax], dl
dec ecx
inc eax
dec esi
cmp ecx, ebx
jne 0x401d85
jmp 0x401d9f
cmp ecx, ebx
jne 0x401da0
dec eax
mov byte [eax], bl
push 0x80
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x120]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push ebx
push 0x20
push 4
push ebx
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401e00
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004426a0
add esp, 0x21c
ret