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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004082dc
mov esi, dword [0x4448c4]
xor eax, eax
push ebp
push 0x438fca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0xa4], 0
je 0x438d96
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.00408fd8
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.00427c54
mov eax, dword [ebp - 4]
call fcn.00438b98
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x438db2
cmp dword [ebp - 0x10], 0
ja 0x438ddb
jmp 0x438db4
jg 0x438ddb
cmp byte [esi + 0xa4], 0
je 0x438f8a
xor edx, edx
mov eax, 0x438fe4
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00427c54
jmp 0x438f8a
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00438c44
test al, al
jne 0x438e11
cmp byte [esi + 0xa4], 0
je 0x438f8a
xor edx, edx
mov eax, 0x439080
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00427c54
jmp 0x438f8a
lea eax, [ebp - 8]
mov edx, dword [0x420cf8]
call fcn.0040b244
push 0x100000
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x420cf8]
call fcn.0040b120
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov bl, 1
xor edx, edx
mov eax, 0x43911c
call fcn.00427a68
jmp 0x438f21
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_SetFilePointerEx
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x100000
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, 0x100000
adc edx, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp byte [esi + 0xa4], 0
je 0x438f21
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x438eb5
cmp eax, dword [ebp - 0x10]
jbe 0x438ec3
jmp 0x438eb7
jle 0x438ec3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fild qword [ebp - 0x10]
fdivp st(1)
fmul dword [0x439120]
fstp qword [ebp - 0x28]
wait
jmp 0x438f0b
movzx eax, bl
mov ecx, 0xa
xor edx, edx
div ecx
test edx, edx
jne 0x438efe
lea edx, [ebp - 0x34]
movzx eax, bl
call fcn.00418c1c
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.00427a68
jmp 0x438f0a
xor edx, edx
mov eax, 0x439130
call fcn.00427a68
inc ebx
movzx eax, bl
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fld qword [ebp - 0x28]
fucompp
wait
fnstsw ax
sahf
jp 0x438ed7
jae 0x438ed7
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x438f37
cmp eax, dword [ebp - 0x10]
jb 0x438e5b
jmp 0x438f3d
jl 0x438e5b
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x40]
mov ecx, 0x439138
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004211a4
mov eax, dword [ebp - 0x3c]
call fcn.00408ca0
push eax
call sub.kernel32.dll_DeleteFileW
cmp byte [esi + 0xa4], 0
je 0x438f8a
xor edx, edx
xor eax, eax
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00427c54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438fd1
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00408298
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00408228
lea eax, [ebp - 8]
mov edx, dword [0x420cf8]
call fcn.0040b244
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax