Function at 0x4019f9
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x46aa55
call fcn.00443747
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401a1c
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x487d38]
xor edi, edi
cmp eax, edi
jne 0x401a2f
or eax, 0xffffffff
jmp 0x401c12
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x401a27
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x10]
push ecx
push 0x474bd0
push 0x474c50
mov dword [ebp - 4], edi
call eax
test eax, eax
je 0x401a6c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x401a27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401a27
push 0x10
call fcn.0043dd75
pop ecx
cmp eax, edi
je 0x401a84
call fcn.00401c18
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x401a89
mov dword [ebp - 0x14], edi
mov ebx, edi
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
je 0x401a96
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 1
call fcn.00414fda
test al, al
jne 0x401ab7
mov byte [ebp - 4], al
cmp ebx, edi
je 0x401a59
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x401a59
push 0x1c
call fcn.0043dd75
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x401ad3
mov esi, eax
call fcn.004012c0
mov edi, eax
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x401ae6
mov eax, dword [edi]
push edi
call dword [eax + 4]
push edi
mov byte [ebp - 4], 3
push esi
mov byte [edi + 0xc], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x401b24
mov byte [ebp - 4], 1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0
cmp ebx, esi
je 0x401b16
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
jmp 0x401a62
push 0x78
call fcn.0043dd75
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
cmp eax, esi
je 0x401b3f
push eax
call fcn.004013c5
mov esi, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], esi
test esi, esi
je 0x401b50
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00401c8a
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x10]
mov ebx, esi
call fcn.004014ad
mov byte [ebp - 4], 5
push dword [ebp - 0x30]
call fcn.0043e082
mov ebx, dword [ebp + 0x10]
pop ecx
mov byte [esi + 0x58], 0
test ebx, ebx
je 0x401b97
push dword [ebp + 0xc]
mov eax, dword [ebx]
push dword [ebp + 8]
push ebx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push 0
push 0xffffffffffffffff
push 0
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x401bbc
mov ecx, dword [ebx]
xor edx, edx
test eax, eax
sete dl
push edx
push ebx
call dword [ecx + 0xc]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x401bf5
test eax, eax
je 0x401be7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x401a62
test eax, eax
je 0x401bff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401c10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.0044381f
ret