Function at 0x419d80
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6393d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x419dfd
mov eax, dword [ebp + 8]
cmp eax, edi
jl 0x419fe8
cmp eax, dword [ecx + 0x58]
jge 0x419fe8
mov ecx, dword [ecx + 0x54]
push edi
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004027e0
lea ecx, [ebp - 0x28]
call fcn.00401f10
push eax
call fcn.00609a4e
xor edx, edx
add esp, 4
cmp edx, eax
sbb eax, eax
neg eax
jmp case.default.0x419e08
mov edx, dword [ebp + 8]
xor eax, eax
dec edx
cmp edx, 3
ja case.default.0x419e08
jmp dword [edx*4 + 0x41a070]
lea eax, [ebp - 0x28]
push eax
call fcn.00419b50
jmp case.default.0x419e08
lea edx, [ebp - 0x28]
push edx
call fcn.004197c0
jmp case.default.0x419e08
lea eax, [ebp - 0x28]
push eax
call fcn.0041a350
jmp case.default.0x419e08
lea edx, [ebp - 0x28]
push edx
call fcn.0041a080
cmp eax, edi
je 0x419fe8
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], di
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp esi, edi
jne 0x419e5b
lea esi, [ebp - 0x24]
mov ecx, 0x6c900c
test ecx, ecx
je 0x419f6d
cmp esi, edi
je 0x419f6d
mov edx, str.NPIDMan1.dll
test edx, edx
je 0x419f6d
lea ecx, [ebp - 0x34]
call fcn.004027c0
push edi
push 0x6c900c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004027e0
push esi
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov bl, 4
push str.NPIDMan1.dll
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401ee0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401070
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x419f45
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp eax, edi
jne 0x419f74
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
jne 0x419f97
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x419f8b
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419fdc
mov eax, dword [ebp - 0x28]
cmp eax, edi
jne 0x419fa1
lea eax, [ebp - 0x24]
push edi
push str.NPIDMan2.dll
push eax
push 0x6c900c
lea ecx, [ebp - 0x1c]
call fcn.00410d70
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x419fbf
lea eax, [ebp - 0x18]
push eax
call esi
test eax, eax
jne 0x41a009
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x419fd0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41a009
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8