Function at 0x444c1a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x234], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test ebx, ebx
je 0x445383
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445383
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x230], 0
jne 0x444cd7
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
pop ecx
pop ecx
test eax, eax
je 0x444cd7
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x22c], eax
xor ebx, ebx
mov dword [edi], 1
push ebx
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], ebx
push eax
push dword [ebp + 8]
push 0x615610
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x445376
cmp dword [ebp - 0x24c], ebx
je 0x445376
push eax
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], 7
call fcn.004078d0
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
cmp ecx, eax
je 0x444d68
cmp dword [ebp - 0x210], 8
push dword [ebp - 0x214]
cmovae eax, dword [ebp - 0x224]
push eax
call fcn.004078d0
lea eax, [ebp - 0x270]
mov dword [edi], 2
push eax
push 0x61b848
push 0x17
push ebx
push 0x62a200
mov dword [ebp - 0x270], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jns 0x444d9f
mov dword [esi], 0xe
jmp 0x44530d
push 3
pop ecx
xor eax, eax
mov dword [edi], ecx
lea edx, [ebp - 0x228]
mov dword [ebp - 0x29c], eax
push edx
push 1
lea edx, [ebp - 0x274]
mov dword [ebp - 0x28c], eax
push edx
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x294]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x270]
push 8
push edx
mov word [ebp - 0x2a4], cx
lea edx, [ebp - 0x2a4]
mov word [ebp - 0x294], cx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov ebx, eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x23c], eax
test ebx, ebx
jns 0x444e14
mov dword [esi], 1
jmp 0x4452e5
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x26c]
and dword [ebp - 0x26c], 0
push edx
mov dword [edi], 4
mov ecx, dword [eax]
push 0x62a1f0
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jns 0x444e49
mov dword [esi], 2
jmp 0x4452d5
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
and dword [ebp - 0x268], 0
push edx
mov dword [edi], 5
mov ecx, dword [eax]
push 0x62a1e0
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jns 0x444e7d
push 3
pop eax
mov dword [esi], eax
jmp 0x4452c5
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
and dword [ebp - 0x264], 0
push edx
push 0x62a100
mov dword [edi], 6
mov ecx, dword [eax]
push 0x62a140
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jns 0x444eb8
mov dword [esi], 4
jmp 0x4452b5
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
and dword [ebp - 0x260], 0
mov dword [edi], 7
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov ebx, eax
test ebx, ebx
jns 0x444ee2
push 5
jmp 0x444f21
mov ecx, dword [ebp - 0x228]
mov dword [edi], 8
test ecx, ecx
je 0x444eff
and dword [ebp - 0x228], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x228]
push edx
push 0x62a1d0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov ebx, eax
test ebx, ebx
jns 0x444f29
push 6
pop eax
mov dword [esi], eax
jmp 0x4452a5
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x25c]
and dword [ebp - 0x25c], 0
push edx
mov dword [edi], 9
mov ecx, dword [eax]
push 0x62a160
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jns 0x444f57
push 7
jmp 0x444f8f
mov ecx, dword [ebp - 0x228]
mov dword [edi], 0xa
test ecx, ecx
je 0x444f74
and dword [ebp - 0x228], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x228]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
jns 0x444f97
push 8
pop eax
mov dword [esi], eax
jmp 0x445295
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x258]
and dword [ebp - 0x258], 0
push edx
mov dword [edi], 0xb
mov ecx, dword [eax]
push 0x62a170
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jns 0x444fcc
mov dword [esi], 9
jmp 0x445285
push dword [ebp - 0x22c]
and dword [ebp - 0x254], 0
lea ecx, [ebp - 0x284]
xor eax, eax
mov dword [edi], 0xc
mov word [ebp - 0x284], ax
call fcn.0044474b
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
push edx
sub esp, 0x10
lea esi, [ebp - 0x284]
mov edi, esp
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov ebx, eax
lea eax, [ebp - 0x284]
push eax
call dword [ebp - 0x23c]
test ebx, ebx
jns 0x445039
mov esi, dword [ebp - 0x238]
mov dword [esi], 0xa
jmp 0x445275
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x234]
mov esi, dword [ebp - 0x254]
and dword [ebp - 0x248], 0
push dword [ebp - 0x230]
mov dword [eax], 0xd
mov edi, dword [esi]
call fcn.004446f4
lea ecx, [ebp - 0x248]
push ecx
push dword [eax]
push esi
call dword [edi + 0x30]
push dword [ebp - 0x234]
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x248]
test ebx, ebx
js 0x44525f
test eax, eax
je 0x44525f
mov esi, dword [ebp - 0x250]
lea edx, [ebp - 0x240]
and dword [ebp - 0x240], 0
push edx
push eax
mov dword [esi], 0xe
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ebx, eax
test ebx, ebx
jns 0x4450c3
push 0xc
jmp 0x44523e
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x244]
mov dword [esi], 0xf
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x44523c
mov ecx, dword [ebp - 0x244]
test ecx, ecx
jle 0x44523c
xor eax, eax
mov dword [esi], 0x10
mov dword [ebp - 0x234], eax
mov ebx, 0x80004005
test ecx, ecx
jle 0x4451c5
and dword [ebp - 0x22c], 0
lea edx, [ebp - 0x22c]
push 3
pop ecx
push edx
sub esp, 0x10
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x240]
lea esi, [ebp - 0x284]
mov edi, esp
mov word [ebp - 0x284], cx
push eax
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, eax
lea eax, [ebp - 0x284]
push eax
call dword [ebp - 0x23c]
mov eax, dword [ebp - 0x22c]
test esi, esi
js 0x4451a0
and dword [ebp - 0x230], 0
lea edx, [ebp - 0x230]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
push dword [ebp - 0x230]
test eax, eax
js 0x445194
lea ecx, [ebp - 0x224]
call fcn.00414bd6
test al, al
jne 0x4451fe
push dword [ebp - 0x230]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4451aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x234], eax
cmp eax, ecx
jl 0x44510f
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x250]
mov dword [eax], 0x11
cmp dword [esi], 0x10
je 0x445247
push eax
mov eax, dword [ebp - 0x240]
push esi
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4451f4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.004457ea
add esp, 0x10
jmp 0x445247
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov esi, dword [ebp - 0x238]
mov ebx, eax
push dword [ebp - 0x230]
mov dword [esi], 0x10
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x445234
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x244]
jmp 0x4451cb
push 0xd
mov esi, dword [ebp - 0x238]
pop eax
mov dword [esi], eax
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x445257
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x248]
jmp 0x44526b
mov esi, dword [ebp - 0x238]
mov dword [esi], 0xb
test eax, eax
je 0x445275
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x445285
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x445295
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4452a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4452b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4452c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4452d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x4452e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x4452f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x23c]
lea eax, [ebp - 0x294]
push eax
call esi
lea eax, [ebp - 0x2a4]
push eax
call esi
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x44531d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
cmp eax, 8
jb 0x445372
mov ecx, dword [ebp - 0x224]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x23c], ecx
cmp eax, 0x1000
jb 0x445369
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00402840
mov eax, dword [ebp - 0x234]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x23c]
push eax
push ecx
call fcn.004b2fe8
pop ecx
pop ecx
mov eax, ebx
jmp 0x445386
mov dword [esi], 0xf
mov eax, 0x80004005
jmp 0x445386
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret