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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4b42b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push str.ND41Njs2KiMzPSdgNzEjJQU1Jj4hMiALKyAQDyIIBjctPwENESENAAAAGA
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x40], 0
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 4], 0
sar eax, 1
jne 0x4382cb
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
lea ecx, [ebp - 0x40]
call fcn.00411470
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 2
test eax, eax
je 0x4382fd
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push dword [edi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0
call fcn.00411470
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0043c140
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438339
test al, 0x10
jne 0x438373
lea eax, [ebp - 0x3c]
push eax
call fcn.0042b5d0
add esp, 4
test eax, eax
je 0x438373
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0xb
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x48f01c
push 0x4ad35c
push eax
call fcn.0044449a
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], 0
push eax
mov ecx, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
call fcn.00439960
push dword [eax]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00411470
mov edx, dword [ebp - 0x48]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4383c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push str.EgsRGx8mBDYiFT0GHzAXCy8XJjgHCD8qAC8iCwYVAi02EyICLjwQAAAAJA
push eax
call fcn.00429e10
add esp, 8
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov byte [ebp - 4], 7
sar eax, 1
mov dword [ebp - 0x1c], 1
jne 0x438405
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push edx
call fcn.00411470
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], 8
cmp dword [eax - 0xc], 0
jne 0x438428
mov ecx, ebx
call fcn.00438620
mov eax, dword [ebx + 0x10]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.004251b0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
call fcn.0042ad00
add esp, 0x20
test eax, eax
jne 0x438458
mov byte [ebp - 0x25], 1
cmp dword [ebp - 0x20], eax
ja 0x43845c
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 6
test eax, eax
je 0x438473
push eax
call fcn.0044317c
add esp, 4
cmp byte [ebp - 0x25], 0
je 0x4385ef
lea eax, [ebp - 0x34]
push str.ezQsKggHOh4YAQgVKz4Pj4NHgYKNCQIKCACCRYOJCwTFREcExQVPDM8GisFATQBKBk7LiYUCxcsCS8RGx8yHR8FACUdNAEHORQjPB8SHyUjPwsYIyUwPgA_NjgrPDo2GQAAAF0
push eax
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 9
sar eax, 1
jne 0x4384a7
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
mov ecx, edi
call fcn.0043c2e0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 6
test eax, eax
je 0x4384c3
push eax
call fcn.0044317c
add esp, 4
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4384f9
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4384f9
push dword [ebp - 0x24]
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0xc
jmp 0x438357
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x20]
mov eax, dword [edi]
push dword [ebp - 0x24]
sub eax, 0x10
push 1
push ecx
mov esi, esp
push eax
call fcn.004251b0
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.0042a8d0
add esp, 0x14
test eax, eax
jne 0x4385d0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x4385d0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0044317c
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 0xc]
push edi
call fcn.0042d6a0
add esp, 0x10
test eax, eax
je 0x43856e
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0xd
jmp 0x438357
push dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x438584
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x44]
mov ecx, edi
call fcn.0043c2e0
push dword [edi]
call esi
test eax, eax
je 0x43859a
mov byte [ebx + 0x3c], 1
lea ecx, [ebp - 0x44]
call fcn.00435c70
lea ecx, [ebp - 0x3c]
call fcn.00435c70
lea ecx, [ebp - 0x40]
call fcn.00435c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044448b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0xe
jmp 0x438357
mov dword [ebp - 0x58], 3
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0x48f01c
push 0x4ad35c
jmp 0x43836d