Function at 0x463d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7461
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x134]
mov edi, dword [ebp + 8]
mov edx, esi
push str..dat
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x170], 0
call fcn.0043e880
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp - 0x134]
push eax
call ebx
test eax, eax
setne al
test al, al
je 0x463feb
cmp byte [ebp + 0x10], 0
jne 0x463feb
push str.__d_.dat
mov edx, esi
lea ecx, [ebp - 0x14c]
call fcn.0043e880
add esp, 4
push 0x104
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a3440
add esp, 0xc
mov esi, 1
jmp 0x463de0
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
push esi
cmovae eax, dword [ebp - 0x14c]
push eax
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004d8e95
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call ebx
test eax, eax
setne al
test al, al
je 0x463f87
inc esi
cmp esi, 0x3e7
jl 0x463de0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x150]
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
call fcn.004374f0
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp - 0x16c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
mov ecx, esi
call fcn.0044d8c0
add esp, 0x18
mov edx, 0x64
mov ecx, 0xbb8
call fcn.00444610
add esp, 0x18
cmp dword [ebp - 0x158], 0x10
jb 0x463ebb
push dword [ebp - 0x16c]
call fcn.0048c32c
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jae 0x463ef9
mov eax, dword [ebp - 0x124]
inc eax
je 0x463f0b
push eax
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.004a1700
mov ecx, dword [ebp - 0x120]
add esp, 0xc
jmp 0x463f0b
mov eax, dword [ebp - 0x134]
mov dword [edi], eax
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x138], 0x10
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x10], eax
mov eax, 0xf
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jb 0x463f50
push dword [ebp - 0x14c]
call fcn.0048c32c
mov eax, dword [ebp - 0x120]
add esp, 4
cmp eax, 0x10
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
jb 0x46403d
push dword [ebp - 0x134]
call fcn.0048c32c
add esp, 4
jmp 0x46403d
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [ebp - 0x11c], 0
jne 0x463fa5
xor ecx, ecx
jmp 0x463fb9
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463fb0
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
mov ecx, edi
push eax
call fcn.00437370
cmp dword [ebp - 0x138], 0x10
jb 0x463fdf
push dword [ebp - 0x14c]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x120], 0x10
jmp 0x463f53
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jae 0x464029
mov eax, dword [ebp - 0x124]
inc eax
je 0x464031
push eax
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.004a1700
mov ecx, dword [ebp - 0x120]
add esp, 0xc
jmp 0x464031
mov eax, dword [ebp - 0x134]
mov dword [edi], eax
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret 0xc