Function at 0x4e93f0
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.0040b4a8
mov esi, dword [0x4f8d38]
xor eax, eax
push ebp
push 0x4e967a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x90], 0
je 0x4e9446
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.0040c338
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.004dde34
mov eax, dword [ebp - 4]
call fcn.004e9248
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x4e9462
cmp dword [ebp - 0x10], 0
ja 0x4e948b
jmp 0x4e9464
jg 0x4e948b
cmp byte [esi + 0x90], 0
je 0x4e963a
xor edx, edx
mov eax, 0x4e9694
call fcn.004dde34
xor edx, edx
xor eax, eax
call fcn.004dde34
jmp 0x4e963a
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.004e92f4
test al, al
jne 0x4e94c1
cmp byte [esi + 0x90], 0
je 0x4e963a
xor edx, edx
mov eax, 0x4e9730
call fcn.004dde34
xor edx, edx
xor eax, eax
call fcn.004dde34
jmp 0x4e963a
lea eax, [ebp - 8]
mov edx, dword [0x431758]
call fcn.0040e788
push 0x100000
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x431758]
call fcn.0040e664
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov bl, 1
xor edx, edx
mov eax, 0x4e97cc
call fcn.004ddc48
jmp 0x4e95d1
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 + 0x90], 0
je 0x4e95d1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x4e9565
cmp eax, dword [ebp - 0x10]
jbe 0x4e9573
jmp 0x4e9567
jle 0x4e9573
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 [0x4e97d0]
fstp qword [ebp - 0x28]
wait
jmp 0x4e95bb
movzx eax, bl
mov ecx, 0xa
xor edx, edx
div ecx
test edx, edx
jne 0x4e95ae
lea edx, [ebp - 0x34]
movzx eax, bl
call fcn.00422aa8
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.004ddc48
jmp 0x4e95ba
xor edx, edx
mov eax, 0x4e97e0
call fcn.004ddc48
inc ebx
movzx eax, bl
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fld qword [ebp - 0x28]
fucompp
wait
fnstsw ax
sahf
jp 0x4e9587
jae 0x4e9587
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x4e95e7
cmp eax, dword [ebp - 0x10]
jb 0x4e950b
jmp 0x4e95ed
jl 0x4e950b
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x40]
mov ecx, 0x4e97e8
mov edx, dword [ebp - 4]
call fcn.0040c078
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00431fc8
mov eax, dword [ebp - 0x3c]
call fcn.0040bff0
push eax
call sub.kernel32.dll_DeleteFileW
cmp byte [esi + 0x90], 0
je 0x4e963a
xor edx, edx
xor eax, eax
call fcn.004dde34
xor edx, edx
xor eax, eax
call fcn.004dde34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9681
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040b464
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040b3f4
lea eax, [ebp - 8]
mov edx, dword [0x431758]
call fcn.0040e788
lea eax, [ebp - 4]
call fcn.0040b3dc
pop eax
jmp eax