Function at 0x47c3a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bd349
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esp + 0x40], ebx
je 0x47c4d0
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x47c4d0
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
je 0x47c4d0
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c3fe
push ebp
push ebx
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, ebx
je 0x47c4d0
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
push 0x4c8c38
push 0x4c8cb8
mov dword [esp + 0x44], ebx
call eax
test eax, eax
je 0x47c452
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x47c4d0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x47c4d0
push 0x20
call fcn.0047b100
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x47c474
mov ecx, eax
call fcn.0047f960
mov esi, eax
jmp 0x47c476
xor esi, esi
mov byte [esp + 0x38], 0
cmp esi, ebx
je 0x47c4b8
push esi
lea ecx, [esp + 0x1c]
call fcn.0047b610
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.0047f700
test eax, eax
jne 0x47c4e7
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x47c4b8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x47c4d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x1c
call fcn.0047b100
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 3
cmp eax, ebx
je 0x47c509
mov ecx, eax
call fcn.0047bd20
mov esi, eax
jmp 0x47c50b
xor esi, esi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.0047b650
mov ebx, dword [esp + 0x1c]
push ebx
mov byte [esi + 0xc], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push esi
push eax
mov byte [esp + 0x48], 4
call edx
test eax, eax
je 0x47c574
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x47c550
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [esp + 0x38], 0
test esi, esi
je 0x47c561
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
jmp 0x47c4c6
push 0x78
call fcn.0047b100
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 5
test eax, eax
je 0x47c596
mov ecx, eax
call fcn.0047bec0
mov edi, eax
jmp 0x47c598
xor edi, edi
mov byte [esp + 0x38], 4
test edi, edi
je 0x47c53f
push edi
lea ecx, [esp + 0x24]
call fcn.0047b690
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 6
call fcn.0047b9f0
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x44], 7
call fcn.0047c0f0
mov edx, dword [esp + 0x24]
push edx
mov byte [esp + 0x3c], 6
call fcn.0047b130
add esp, 4
mov byte [edi + 0x58], 0
test esi, esi
je 0x47c5fc
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax]
push ebp
push ecx
push esi
call edx
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push 0
push 0xffffffffffffffff
push 0
push eax
call edx
mov ebp, eax
test esi, esi
je 0x47c629
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
xor ecx, ecx
test ebp, ebp
sete cl
push ecx
push esi
call edx
mov byte [esp + 0x38], 4
test ebp, ebp
je 0x47c67b
test edi, edi
je 0x47c63e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x47c64f
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test eax, eax
je 0x47c561
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
jmp 0x47c4c6
test edi, edi
je 0x47c687
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x47c698
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test eax, eax
je 0x47c6ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x47c6c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret