Function at 0x47d2a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a327a
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov edi, ecx
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47d425
mov esi, ebp
call fcn.0047d6b0
test eax, eax
jl 0x47d425
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0x80004005
call fcn.00419660
lea ecx, [esp + 0x48]
push ecx
xor esi, esi
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], esi
call fcn.0045e500
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 1
call fcn.0045dde0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 3
call fcn.00421e20
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
mov word [esp + 0x30], si
call ebx
push edi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x47d3ae
cmp edi, esi
je 0x47d3ae
push 0x8007000e
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], 0x8007000e
call fcn.00401280
mov byte [esp + 0xa8], 4
mov edx, dword [ebp + 0xc]
mov ebp, dword [esp + 0x2c]
mov edi, dword [edx]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebp
mov ebp, dword [esp + 0x44]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x24]
push edx
call ecx
lea edx, [esp + 0x2c]
push edx
mov edi, eax
call ebx
cmp edi, esi
jge 0x47d42f
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x47d407
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x64]
call fcn.00419810
lea ecx, [esp + 0x80]
call fcn.00419810
lea ecx, [esp + 0x48]
call fcn.00419810
mov eax, 0x80004005
jmp 0x47d671
mov dword [esp + 0x24], esi
mov byte [esp + 0xa8], 5
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.00421e20
cmp eax, esi
jne 0x47d498
xor eax, eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xac], 6
mov ecx, dword [edi]
push eax
mov eax, dword [ecx + 0x30]
push edi
call eax
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00401a90
cmp edi, esi
jge 0x47d4b1
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x47d3ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x47d3ef
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x47d452
push 0x8007000e
call fcn.00401280
mov dword [esp + 0x20], esi
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
cmp eax, esi
jge 0x47d4ec
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x47d477
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x47d477
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, esi
jl 0x47d4d2
xor edi, edi
cmp dword [esp + 0x28], esi
jle 0x47d607
mov dword [esp + 0x1c], esi
mov ecx, edi
mov word [esp + 0x2c], 3
mov dword [esp + 0x34], ecx
mov byte [esp + 0xa8], 9
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx]
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
lea eax, [esp + 0x2c]
push eax
setl bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
jne 0x47d5ef
mov dword [esp + 0x14], esi
mov byte [esp + 0xa8], 0xa
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, esi
jl 0x47d5e6
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00482c1c
add esp, 8
test eax, eax
je 0x47d5d6
lea ecx, [esp + 0x14]
call fcn.00401a90
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x47d5c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x28]
jl 0x47d511
jmp 0x47d607
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14]
call fcn.00401a90
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x47d607
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x47d61f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x47d637
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x47d64f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x64]
call fcn.00419810
lea ecx, [esp + 0x80]
call fcn.00419810
lea ecx, [esp + 0x48]
call fcn.00419810
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0047f404
add esp, 0x98
ret 8