Function at 0x47f481
Capabilities:
Check if file exists

Disassembly:
push 0x70
mov eax, 0x5cf54b
call fcn.00506dc7
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 1
call fcn.0042ca82
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0042ca82
mov eax, dword [ebp + 0x10]
neg eax
mov byte [ebp - 4], 3
sbb eax, eax
xor ebx, ebx
and eax, 0x100
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push ebx
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x34], esi
call fcn.00412393
pop ecx
push dword [ebp + 8]
add eax, 0x10
lea ecx, [ebp - 0x64]
mov dword [esi], eax
call fcn.0043fb03
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x64]
call fcn.0048f12d
push ecx
mov esi, esp
mov dword [ebp + 8], esi
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x10]
push eax
call fcn.004843c9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0043193c
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x48], ebx
jle 0x47f76e
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0042def1
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00412393
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x34], eax
call fcn.00412393
pop ecx
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0043193c
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push esi
call fcn.0042e677
test eax, eax
jne 0x47f73b
push eax
push 0x5f1b04
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 8
mov ecx, esp
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
call fcn.0043910d
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00435199
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov ebx, 0x5f1b30
push ebx
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
push ebx
call fcn.00413f09
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x64]
call fcn.00434880
push ecx
mov ebx, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [ebx], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004cd49a
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00411f3a
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp + 8]
call fcn.0043193c
lea ecx, [ebp + 0x14]
call fcn.0043193c
push 0
lea ecx, [ebp + 8]
push dword [eax]
call fcn.0042ea61
test eax, eax
js 0x47f729
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xc
push 0x6191fc
call fcn.00413f09
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x64]
call fcn.00434880
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47f6b3
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
add ecx, 0x10
push eax
call fcn.00411f3a
push dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x61c58c
call fcn.00413f09
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5f1b08
mov byte [ebp - 4], 0xe
call fcn.00413f09
push 0x5f1b04
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, esp
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
call fcn.0043910d
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.0045f14d
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ebx, dword [ebp - 0x24]
call fcn.00472ad9
cmp dword [0x683574], 0
lea ecx, [esi - 0x10]
jne 0x47f7d7
call fcn.00412ac4
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00412ac4
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x48]
jl 0x47f539
mov eax, dword [ebp - 0x60]
mov ecx, 0x200
cmp dword [ebp + 0x10], 0
cmovne eax, ecx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x4c]
call fcn.00434a10
lea ecx, [ebp - 0x64]
call fcn.0042e60b
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x7c]
call fcn.0042e60b
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 0x10
call fcn.00412ac4
lea ecx, [edi - 0x10]
call fcn.00412ac4
jmp 0x47f780