Function at 0x4b4680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526988
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
push 0x44
push 0
push eax
call fcn.005001b0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.004ea050
push 0x44
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005001b0
add esp, 0x18
lea ecx, [ebp - 0x98]
mov edx, ebx
call fcn.004ea050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x54]
call dword [eax + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b47ae
sub esp, 0x44
mov esi, esp
mov dword [ebp - 0x128], esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b473a
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0041a900
sub esp, 0x44
mov byte [ebp - 4], 3
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x12c], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b4784
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0041a900
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.004b4b30
lea ecx, [ebp - 0x98]
call fcn.0041c2a0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005001b0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.004ea210
push 0x44
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 5
push 0
push eax
call fcn.005001b0
add esp, 0x18
lea ecx, [ebp - 0x98]
mov edx, ebx
call fcn.004ea210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x54]
call dword [eax + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b48c2
sub esp, 0x44
mov esi, esp
mov dword [ebp - 0x12c], esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b484e
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.0041a900
sub esp, 0x44
mov byte [ebp - 4], 8
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b4898
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.0041a900
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
call fcn.004b4b30
lea ecx, [ebp - 0x98]
call fcn.0041c2a0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005001b0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.004ea2f0
push 0x44
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0xa
push 0
push eax
call fcn.005001b0
add esp, 0x18
lea ecx, [ebp - 0x98]
mov edx, ebx
call fcn.004ea2f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x54]
call dword [eax + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b49d6
sub esp, 0x44
mov esi, esp
mov dword [ebp - 0x12c], esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b4962
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.0041a900
sub esp, 0x44
mov byte [ebp - 4], 0xd
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b49ac
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.0041a900
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xb
call fcn.004b4b30
lea ecx, [ebp - 0x98]
call fcn.0041c2a0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.005001b0
mov edx, edi
lea ecx, [ebp - 0xdc]
call fcn.004ea3d0
push 0x44
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0xf
push 0
push eax
call fcn.005001b0
add esp, 0x18
lea ecx, [ebp - 0x120]
mov edx, ebx
call fcn.004ea3d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
call dword [eax + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b4af9
sub esp, 0x44
mov esi, esp
mov dword [ebp - 0x12c], esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b4a82
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x11
push eax
mov ecx, esi
call fcn.0041a900
sub esp, 0x44
mov byte [ebp - 4], 0x12
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x124], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4b4acc
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x13
push eax
mov ecx, esi
call fcn.0041a900
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
call fcn.004b4b30
lea ecx, [ebp - 0x120]
call fcn.0041c2a0
lea ecx, [ebp - 0xdc]
call fcn.0041c2a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 8