Function at 0x418e80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60c], 1
mov dword [ebp - 0x614], 0
mov al, byte [0x4f9ef9]
mov byte [ebp - 0x304], al
push 0xfe
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4f9efa]
mov byte [ebp - 0x104], dl
push 0xfe
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4f9efb]
mov byte [ebp - 0x204], cl
push 0xfe
push 0
lea edx, [ebp - 0x203]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4f9efc]
mov byte [ebp - 0x404], al
push 0xfe
push 0
lea ecx, [ebp - 0x403]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4f9efd]
mov byte [ebp - 0x604], dl
push 0xfe
push 0
lea eax, [ebp - 0x603]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4f9efe]
mov byte [ebp - 0x504], cl
push 0xfe
push 0
lea edx, [ebp - 0x503]
push edx
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x610], 0
cmp dword [0x4e145c], 1
jne 0x418f98
mov eax, 1
jmp 0x41934e
cmp dword [0x527380], 1
jne 0x418fab
mov eax, 1
jmp 0x41934e
lea eax, [ebp - 0x404]
push eax
call fcn.0042b5b0
add esp, 4
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x418fd5
or eax, 0xffffffff
jmp 0x41934e
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004b5e60
add esp, 8
lea eax, [ebp - 0x304]
push eax
call fcn.004b5f60
add esp, 4
movsx ecx, byte [ebp + eax - 0x305]
cmp ecx, 0x5c
jne 0x41903d
lea edx, [ebp - 0x304]
push edx
call fcn.004b5f60
add esp, 4
sub eax, 1
mov dword [ebp - 0x618], eax
cmp dword [ebp - 0x618], 0xff
jae 0x41902a
jmp 0x41902f
call fcn.004b64ae
mov eax, dword [ebp - 0x618]
mov byte [ebp + eax - 0x304], 0
lea ecx, [ebp - 0x404]
push ecx
push 0x5c
lea edx, [ebp - 0x304]
push edx
push str._s_c_s.DLL
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0x14
lea ecx, [ebp - 0x304]
push ecx
call fcn.0049cb30
add esp, 4
mov dword [ebp - 0x614], eax
cmp dword [ebp - 0x614], 0
jne 0x4190fe
call fcn.0049bcc0
cmp eax, 0xa
je 0x41909d
call fcn.0049bcc0
cmp eax, 0xe
je 0x41909d
call fcn.0049bcc0
cmp eax, 0xf
jne 0x4190fe
push 0
push 0x40000080
push 2
push 0
push 0
push 0x1f01ff
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x610], eax
cmp dword [ebp - 0x610], 0xffffffff
jne 0x4190d7
mov dword [ebp - 0x608], 0
jmp 0x4190fc
mov eax, dword [ebp - 0x610]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x60c]
jmp 0x41934e
jmp 0x419128
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x4dd6cc
lea edx, [ebp - 0x104]
push edx
call fcn.004b978f
add esp, 8
mov dword [ebp - 0x608], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x608], 0
jne 0x41921c
mov dword [ebp - 0x60c], 0xffffffff
mov eax, 4
imul eax, eax, 0
cmp dword [eax + 0x54e6c0], 0
jne 0x419166
push str.You_do_not_have_Write_Privileges_to_the_following_directory:
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b5e60
add esp, 8
jmp 0x41917c
lea edx, [ebp - 0x204]
push edx
push 0x4dd710
push 0
call fcn.00475ed0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push str.Check_Write_Privileges_file_name_s
push 0
call fcn.004417b0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0xa
push 0x4dd748
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b5e70
add esp, 8
cmp dword [ebp + 0xc], 1
jne 0x419217
mov edx, 4
imul edx, edx, 0
cmp dword [edx + 0x54e6c0], 0
jne 0x4191f9
push str.You_do_not_have_Write_Privileges_to_the_following_directory
push 0x4f9eff
push 0x4dd78c
lea eax, [ebp - 0x204]
push eax
call fcn.00458fb0
add esp, 0x10
jmp 0x419217
push 0x4dd790
push 0x4f9f00
push 0x4dd7a4
lea ecx, [ebp - 0x204]
push ecx
call fcn.00458fb0
add esp, 0x10
jmp 0x419348
cmp dword [ebp - 0x608], 0
je 0x419348
mov edx, dword [ebp - 0x608]
push edx
call fcn.004b9810
add esp, 4
mov dword [ebp - 0x608], 0
lea eax, [ebp - 0x104]
push eax
call fcn.00419360
add esp, 4
push 0x4dd7b4
lea ecx, [ebp - 0x104]
push ecx
call fcn.0041a470
add esp, 8
mov dword [ebp - 0x608], eax
cmp dword [ebp - 0x608], 0
je 0x419348
mov dword [ebp - 0x60c], 0xffffffff
mov edx, dword [ebp - 0x608]
push edx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x608], 0
lea eax, [ebp - 0x604]
push eax
push 0x4dd7b8
push 0
call fcn.00475ed0
add esp, 0xc
lea ecx, [ebp - 0x504]
push ecx
push 0x4dd7d0
push 0
call fcn.00475ed0
add esp, 0xc
mov edx, 4
imul edx, edx, 0
cmp dword [edx + 0x54e6c0], 0
jne 0x4192f6
mov eax, dword [ebp + 8]
push eax
push 0xa
push 0xa
push str.You_do_not_have_Delete_privileges_to_the_following_directory:_c_c_s
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x14
jmp 0x419324
mov edx, dword [ebp + 8]
push edx
push 0xa
push 0xa
lea eax, [ebp - 0x604]
push eax
push 0xa
push 0xa
lea ecx, [ebp - 0x504]
push ecx
push str._s_c_c_s_c_c_s
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x24
cmp dword [ebp + 0xc], 1
jne 0x419348
push 0x4dd854
push 0x4f9f01
push 0x4dd86c
lea eax, [ebp - 0x204]
push eax
call fcn.00458fb0
add esp, 0x10
mov eax, dword [ebp - 0x60c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret