Function at 0x438bac
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 0x438e36
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0xa4], 0
je 0x438c02
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.00438a04
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x438c1e
cmp dword [ebp - 0x10], 0
ja 0x438c47
jmp 0x438c20
jg 0x438c47
cmp byte [esi + 0xa4], 0
je 0x438df6
xor edx, edx
mov eax, 0x438e50
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00427c54
jmp 0x438df6
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00438ab0
test al, al
jne 0x438c7d
cmp byte [esi + 0xa4], 0
je 0x438df6
xor edx, edx
mov eax, 0x438eec
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00427c54
jmp 0x438df6
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, 0x438f88
call fcn.00427a68
jmp 0x438d8d
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 0x438d8d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x438d21
cmp eax, dword [ebp - 0x10]
jbe 0x438d2f
jmp 0x438d23
jle 0x438d2f
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 [0x438f8c]
fstp qword [ebp - 0x28]
wait
jmp 0x438d77
movzx eax, bl
mov ecx, 0xa
xor edx, edx
div ecx
test edx, edx
jne 0x438d6a
lea edx, [ebp - 0x34]
movzx eax, bl
call fcn.00418c1c
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.00427a68
jmp 0x438d76
xor edx, edx
mov eax, 0x438f9c
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 0x438d43
jae 0x438d43
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x438da3
cmp eax, dword [ebp - 0x10]
jb 0x438cc7
jmp 0x438da9
jl 0x438cc7
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x40]
mov ecx, 0x438fa4
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 0x438df6
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 0x438e3d
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