Function at 0x419a70
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5f2670
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x665ebc]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebx, ecx
test byte [esp + 0x58], 1
je 0x419b08
mov eax, ebx
lea esi, [esp + 0x20]
call fcn.00418ad0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ad6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x419b08
mov eax, dword [0x667c60]
test eax, eax
jne 0x419af0
push 0xdc
xor ebx, ebx
call fcn.00402970
push 1
push esi
call eax
add esp, 8
test al, 1
je 0x419b08
push 0x20
mov eax, ebx
call fcn.00419340
add esp, 4
test byte [esp + 0x58], 4
jne 0x419b63
mov eax, ebx
lea esi, [esp + 0x20]
call fcn.00418ad0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x419c99
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push ebx
lea ecx, [esp + 0x5c]
call fcn.00401de0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x58]
mov ebp, dword [ecx - 0xc]
lea edi, [ebp + 2]
xor esi, esi
test edi, edi
je 0x419ba1
jbe 0x419b9d
push edi
call fcn.00564e4a
push edi
mov esi, eax
push 0
push esi
call fcn.0059cb30
add esp, 0x10
jmp 0x419baf
xor esi, esi
jmp 0x419baf
push 0
push 0
push 0
call fcn.0059cb30
add esp, 0xc
mov edx, dword [esp + 0x58]
push ebp
push edx
push esi
call fcn.0059d730
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
lea ecx, [esp + 0x24]
mov eax, 0x454
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 3
mov word [esp + 0x38], ax
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x419c5f
cmp dword [esp + 0x36], eax
jne 0x419c5f
mov byte [esp + 0x4c], al
test esi, esi
je 0x419c21
push esi
call fcn.00564e55
add esp, 4
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419c49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov byte [esp + 0x4c], 0
test esi, esi
je 0x419c71
push esi
call fcn.00564e55
add esp, 4
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x54], 0
je 0x419caa
push 0xda
call fcn.00402970
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret