Function at 0x47cbd0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bd3ee
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebp, ebp
test eax, eax
jne 0x47cc10
push esi
push ebp
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x4eab18]
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x47cc5a
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x14]
push ecx
push 0x4c8c38
push 0x4c8cb8
mov dword [esp + 0x48], ebp
call eax
test eax, eax
je 0x47cc71
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebp
je 0x47cc5a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x10
call fcn.0047b100
add esp, 4
cmp eax, ebp
je 0x47cca0
mov dword [eax + 4], vtable.IStreamGetSize.0
mov dword [eax + 8], ebp
or esi, 0xffffffff
mov dword [eax], vtable.CInFileStream.1.0
mov dword [eax + 4], vtable.CInFileStream.0
mov dword [eax + 0xc], esi
mov ebx, eax
jmp 0x47cca5
xor ebx, ebx
or esi, 0xffffffff
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
je 0x47ccb5
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [esp + 0x44]
push eax
mov ecx, ebx
mov byte [esp + 0x40], 1
call fcn.0047f0e0
test al, al
jne 0x47cd04
mov byte [esp + 0x3c], al
cmp ebx, ebp
je 0x47ccda
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
cmp eax, ebp
je 0x47ccee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x1c
call fcn.0047b100
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 2
cmp eax, ebp
je 0x47cd26
mov ecx, eax
call fcn.0047bd20
mov edi, eax
jmp 0x47cd28
xor edi, edi
mov byte [esp + 0x3c], 1
mov dword [esp + 0x20], edi
cmp edi, ebp
je 0x47cd3d
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
push edi
mov byte [edi + 0xc], 0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebp
push ebx
push eax
mov eax, dword [edx + 0xc]
mov byte [esp + 0x4c], 3
call eax
test eax, eax
je 0x47cda1
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
mov byte [esp + 0x40], 1
call edx
mov byte [esp + 0x3c], 0
cmp ebx, ebp
je 0x47cd77
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
cmp eax, ebp
je 0x47cd8b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x78
call fcn.0047b100
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 4
cmp eax, ebp
je 0x47cdc3
mov ecx, eax
call fcn.0047bec0
mov esi, eax
jmp 0x47cdc5
xor esi, esi
mov byte [esp + 0x3c], 3
mov dword [esp + 0x24], esi
cmp esi, ebp
je 0x47cdda
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 5
call fcn.0047b9f0
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 6
call fcn.0047c0f0
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0x40], 5
call fcn.0047b130
add esp, 4
mov byte [esi + 0x58], 0
test ebp, ebp
je 0x47ce34
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp]
mov ecx, dword [ecx]
push edx
push eax
push ebp
call ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push esi
push 0
push 0xffffffffffffffff
push 0
push eax
mov eax, dword [edx + 0x1c]
call eax
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x47ce64
mov ecx, dword [ebp]
xor edx, edx
test eax, eax
mov eax, dword [ecx + 0xc]
sete dl
push edx
push ebp
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], 3
push esi
test eax, eax
je 0x47cec2
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
mov byte [esp + 0x40], 1
call ecx
mov byte [esp + 0x3c], 0
test ebx, ebx
je 0x47ce93
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
je 0x47ceab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
mov byte [esp + 0x40], 1
call eax
mov byte [esp + 0x3c], 0
test ebx, ebx
je 0x47cee7
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
je 0x47ceff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret