Function at 0x4138f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445920
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x459178]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x413933
mov eax, dword [esi]
jmp 0x413935
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x413949
mov al, 1
jmp 0x413b7c
cmp dword [esi + 0x14], 8
jb 0x413953
mov eax, dword [esi]
jmp 0x413955
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
call fcn.004016c8
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x30]
call fcn.00413170
mov ebx, eax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x4139b4
push dword [esp + 0x30]
call fcn.004368cb
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp ebx, 0xffffffff
jne 0x4139d7
xor al, al
jmp 0x413b7c
cmp dword [esi + 0x14], 8
jb 0x4139e1
mov eax, dword [esi]
jmp 0x4139e3
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
call fcn.004016c8
mov dword [esp + 0x58], 1
xor edx, edx
lea ecx, [esp + 0x30]
call fcn.00413060
test al, al
sete al
mov byte [esp + 0x17], al
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x413a4f
push dword [esp + 0x30]
call fcn.004368cb
mov al, byte [esp + 0x1b]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
test al, al
jne 0x4139d0
cmp dword [esi + 0x14], 8
jb 0x413a78
mov eax, dword [esi]
jmp 0x413a7a
mov eax, esi
push eax
call edi
test eax, eax
jne 0x413942
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x58], 2
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.004142f0
test al, al
je 0x413ace
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
call edi
test eax, eax
je 0x413ace
mov bl, 1
jmp 0x413b48
cmp dword [esi + 0x14], 8
jb 0x413ad6
mov esi, dword [esi]
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004016c8
mov byte [esp + 0x58], 3
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.00413060
mov byte [esp + 0x58], 2
cmp dword [esp + 0x2c], 8
jb 0x413b2f
push dword [esp + 0x18]
call fcn.004368cb
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
xor bl, bl
mov word [esp + 0x18], ax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x413b63
push dword [esp + 0x30]
call fcn.004368cb
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
mov al, bl
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00435a0a
mov esp, ebp
pop ebp
ret