Function at 0x414b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446530
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 0x414bc3
mov eax, dword [esi]
jmp 0x414bc5
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
je 0x414bd9
mov al, 1
jmp 0x414dfd
cmp dword [esi + 0x14], 8
jb 0x414be3
mov edi, dword [esi]
jmp 0x414be5
mov edi, esi
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp word [edi], ax
je 0x414c1a
push edi
call fcn.004370ab
add esp, 4
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00402102
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x30]
call fcn.00414400
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x414c57
push dword [esp + 0x30]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp edi, 0xffffffff
jne 0x414c7a
xor al, al
jmp 0x414dfd
cmp dword [esi + 0x14], 8
jb 0x414c84
mov edi, dword [esi]
jmp 0x414c86
mov edi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp word [edi], ax
je 0x414caf
push edi
call fcn.004370ab
add esp, 4
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00402102
mov dword [esp + 0x58], 1
xor edx, edx
lea ecx, [esp + 0x30]
call fcn.004142f0
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x414cf5
push dword [esp + 0x30]
call fcn.0043722b
mov al, byte [esp + 0x17]
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 0x414c73
cmp dword [esi + 0x14], 8
jb 0x414d1e
mov eax, dword [esi]
jmp 0x414d20
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x414bd2
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.00415690
test al, al
je 0x414d74
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
call ebx
test eax, eax
je 0x414d74
mov bl, 1
jmp 0x414dc9
cmp dword [esi + 0x14], 8
jb 0x414d7c
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.00401b1d
mov byte [esp + 0x58], 3
lea ecx, [esp + 0x18]
mov edx, dword [esp + 0x14]
call fcn.004142f0
mov byte [esp + 0x58], 2
cmp dword [esp + 0x2c], 8
jb 0x414db0
push dword [esp + 0x18]
call fcn.0043722b
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 0x414de4
push dword [esp + 0x30]
call fcn.0043722b
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.00436362
mov esp, ebp
pop ebp
ret