Function at 0x47f48b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx + 0xc]
push ebx
push esi
xor edx, edx
xor esi, esi
xor ebx, ebx
cmp dword [eax + 0x5c4], edx
push edi
mov dword [ebp - 8], ecx
jle 0x47f4fe
mov eax, dword [eax + 0x5c0]
mov esi, dword [eax + ebx*4]
cmp esi, edx
je 0x47f4ef
test byte [esi + 0xb], 4
jne 0x47f4ef
test byte [esi + 0x20], 0x20
jne 0x47f4ef
cmp dword [esi + 0xb0], edx
jle 0x47f4ef
mov eax, dword [esi + 0xcc]
lea edi, [esi + 0xcc]
cmp dword [eax - 8], edx
je 0x47f4ef
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47f4ed
push dword [edi]
call fcn.0041e783
pop ecx
xor edx, edx
mov eax, dword [ebp - 8]
inc ebx
mov eax, dword [eax + 0xc]
cmp ebx, dword [eax + 0x5c4]
jl 0x47f4a8
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 8], edx
jle 0x47f54e
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x47f52a
mov ecx, dword [ecx + 0x74]
cmp ecx, edx
je 0x47f548
mov dword [ecx + 0x94], edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x74]
jmp 0x47f542
mov ecx, dword [esi + 0x114]
lea eax, [esi + 0x114]
cmp ecx, edx
je 0x47f548
mov dword [ecx + 0x94], edx
mov eax, dword [eax]
mov dword [eax + 0x98], edx
inc edi
cmp edi, dword [ebx + 8]
jl 0x47f508
mov ecx, dword [0x655780]
mov eax, dword [ebx + 8]
push 1
cmp ecx, edx
mov dword [ebp - 0x10], ecx
pop edi
jg 0x47f564
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x10]
cmp esi, eax
jl 0x47f56d
mov esi, eax
cmp esi, edx
jg 0x47f573
mov esi, edi
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0xc0]
xor ebx, ebx
cmp eax, ebx
jg 0x47f586
mov eax, edi
cdq
idiv esi
cmp eax, ebx
mov dword [ebp - 0x18], eax
jg 0x47f593
mov dword [ebp - 0x18], edi
mov eax, dword [0x65578c]
push 5
mov dword [ebp - 0x14], eax
mov eax, dword [0x655794]
mov dword [ebp - 0x1c], eax
call fcn.0042850a
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x47f5bd
cmp dword [eax], ebx
jne 0x47f76f
mov ecx, dword [ebp + 8]
xor edi, edi
cmp dword [ecx + 8], ebx
jle 0x47f656
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x47f5d9
cmp dword [eax], ebx
jne 0x47f656
mov eax, dword [ecx + 4]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47f614
mov eax, dword [eax + 0x78]
cmp eax, ebx
je 0x47f649
push ebx
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47f649
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x78]
cmp ecx, ebx
je 0x47f60c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [eax + 0x78], ebx
jmp 0x47f649
mov eax, dword [esi]
mov eax, dword [eax + 0x118]
cmp eax, ebx
je 0x47f649
push ebx
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47f649
mov eax, dword [esi]
mov ecx, dword [eax + 0x118]
cmp ecx, ebx
je 0x47f641
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi]
mov dword [eax + 0x118], ebx
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ecx + 8]
jl 0x47f5cb
mov eax, dword [ebp - 8]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x47f668
cmp dword [edi], ebx
jne 0x47f76f
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov esi, dword [eax + 8]
cmp esi, edx
jle 0x47f76f
test edi, edi
je 0x47f687
cmp dword [edi], 0
jne 0x47f6f3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x47f6c0
cmp dword [eax + 0x10], 0x64
jne 0x47f6a3
cmp dword [eax + 0x18], 0x64
je 0x47f6ee
mov ecx, dword [eax + 0x74]
inc ebx
test ecx, ecx
je 0x47f6eb
cmp dword [eax + 0x78], 0
je 0x47f6b4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
inc eax
cmp dword [ecx + 0x94], eax
jmp 0x47f6e9
mov ecx, dword [ecx]
test byte [ecx + 0x20], 0x20
jne 0x47f6ee
mov eax, dword [ecx + 0x114]
inc ebx
test eax, eax
je 0x47f6eb
cmp dword [ecx + 0x118], 0
je 0x47f6df
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
inc ecx
cmp dword [eax + 0x94], ecx
jge 0x47f6ee
inc dword [ebp - 4]
inc edx
cmp edx, esi
jl 0x47f67e
xor eax, eax
cmp ebx, eax
je 0x47f76f
cmp edi, eax
je 0x47f701
cmp dword [edi], eax
jne 0x47f76f
mov esi, dword [ebp - 0xc]
cmp esi, eax
jne 0x47f70d
cmp dword [ebp - 4], eax
je 0x47f76f
mov edi, dword [ebp - 8]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0xcc], 0xa
jne 0x47f74f
cmp esi, dword [ebp - 0x10]
jge 0x47f74f
cmp dword [ebp - 4], eax
jle 0x47f74f
inc esi
cmp esi, dword [ebp - 0x10]
jg 0x47f74f
mov eax, dword [edi + 8]
test eax, eax
je 0x47f738
cmp dword [eax], 0
jne 0x47f74f
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0047f780
test eax, eax
je 0x47f726
mov eax, dword [edi + 8]
test eax, eax
je 0x47f75b
cmp dword [eax], 0
jne 0x47f76f
push eax
push 0x1f4
call fcn.00420d3a
pop ecx
xor ebx, ebx
pop ecx
jmp 0x47f5ab
mov ecx, dword [ebp - 8]
call fcn.0047f923
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4