Function at 0x4064d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f533
mov eax, dword fs:[0]
push eax
mov eax, 0x12ec
call fcn.004741b0
mov eax, dword [0x672114]
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 ebx, ecx
mov dword [ebp - 0x12d4], ebx
mov ecx, 0x6d
mov eax, dword [ebp + 8]
mov esi, str.W6sASmKL9rYMpSkkcsOlsCtqccLP6lashwwaZWPc2TZ3eQw4cs2RTpZpaIBybZbE5FVMGrfxCqzy6RENZezFxaHbOa5b1ZZAr0x8CJkIqBafrBCkciLexHoLoz83cJf5dcfQO2y85k2u9eXakQ3iRD2z7zoaF1hZc5s5j7gelvPl6Gm2obnl0MGfEmWNOFicDSTDWgtDDhqrKTyXzvOZjAajZbnbwyP1yTzcR7ERQ1fnSeXrVMhumnGgVCp3qznG5IanIJgLNU63OFRdYfZtetipyZJqCc0XxWYaa8IVc55E4WM3bE0Cc36d02iQbkyseF89ZSrsMZDSliUSxPtFMuCzTcJl06BEtnQQjnOYc2GfdhGs9QjlnyZ1uZxGPsWji9LcSyHIFJZqgPbBkXriD2SZUPWbB6J9un3vwkB7ibH3EeaHbnDS
mov dword [ebp - 0x12d0], eax
lea edi, [ebp - 0x8bc]
mov dword [ebp - 0x12e0], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x5f
mov dword [ebp - 0x12dc], 0
mov dword [ebp - 0x12d8], 0
movsb byte es:[edi], byte [esi]
mov esi, str.gVR469uYomoew8ha9f0bDeqtQYe2A4VAPXoSe5b2Pr8qhRVcr9l37yCU6DTAhyprXDMnzcG3BIMX3gZtjrQ1aTNJu8W2MqjZNKpsdj41w1GxQlzoHFnpxQrCs819YJxpJqdse5XwGOPCumZ70HKu4pqIZRIKQYnsVCt4yDBm4rH0T1nhqDRL8K4P52651rC8jv1c9C3nqQ3RtKyHzStMqd2h4Cn00iY03zzfIungKCwWJY0tkMFamozsskPOJ6u76orqYslFObfbfEqcOv2Ks9YwJJpnVH98OVqQIfbLeY2QZwDRQKcRDoEoe1727o0rwc6nzhrnbsLayywrmpm2XqL6X15RZ2rP4kIsay0Xl963hoDJ3a6MGGF6O4xe
lea edi, [ebp - 0x704]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x8bc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x12a0], 0xf
mov dword [ebp - 0x12a4], 0
mov byte [ebp - 0x12b4], 0
jne 0x406586
xor ecx, ecx
jmp 0x406599
lea ecx, [ebp - 0x8bc]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406590
sub ecx, edx
push ecx
lea eax, [ebp - 0x8bc]
push eax
lea ecx, [ebp - 0x12b4]
call fcn.00407f10
lea eax, [ebp - 0x12b4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x12e0]
call fcn.00408170
mov eax, dword [ebp - 0x12a0]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x4065e4
inc eax
lea ecx, [ebp - 0x12b4]
push eax
push dword [ebp - 0x12b4]
call fcn.00408010
cmp byte [ebp - 0x704], 0
mov dword [ebp - 0x12a0], 0xf
mov dword [ebp - 0x12a4], 0
mov byte [ebp - 0x12b4], 0
jne 0x40660c
xor ecx, ecx
jmp 0x40661e
lea ecx, [ebp - 0x704]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406615
sub ecx, edx
push ecx
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x12b4]
call fcn.00407f10
lea eax, [ebp - 0x12b4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x12e0]
call fcn.00408170
mov eax, dword [ebp - 0x12a0]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x406669
inc eax
lea ecx, [ebp - 0x12b4]
push eax
push dword [ebp - 0x12b4]
call fcn.00408010
push 0x208
xor edi, edi
lea eax, [ebp - 0x129c]
push edi
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0xe8c]
push edi
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0xac4]
push edi
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0x1094]
push edi
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0x584]
push edi
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004f0ae0
add esp, 0x48
lea eax, [ebp - 0x129c]
mov ecx, ebx
push edi
push 0x1a
push eax
push edi
call fcn.00407460
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x129c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x586], ax
test ax, ax
jne 0x4066f0
lea eax, [ebp - 0x584]
push 0x5c
push eax
call fcn.004efdf4
add esp, 8
mov esi, eax
call fcn.00402160
test esi, esi
jne 0x406736
push dword [ebp - 0x12d0]
mov ecx, ebx
call fcn.00405bb0
jmp 0x406b70
xor eax, eax
xor ecx, ecx
mov word [esi], ax
nop dword [eax]
movzx eax, word [ebp + ecx - 0x584]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xe8e], ax
test ax, ax
jne 0x406740
lea ecx, [ebp - 0xe8c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406761
mov eax, dword [str.Local]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x557f6c]
mov dword [ecx + 4], eax
mov eax, dword [0x557f70]
mov dword [ecx + 8], eax
mov ax, word [0x557f74]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0xe8c]
push eax
call ebx
test eax, eax
mov esi, 1
cmovne edi, esi
xor ecx, ecx
mov dword [ebp - 0x12f0], edi
nop
movzx eax, word [ebp + ecx - 0x584]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xac6], ax
test ax, ax
jne 0x4067b0
lea ecx, [ebp - 0xac4]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4067d1
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x557f7c]
mov dword [ecx + 4], eax
mov eax, dword [0x557f80]
mov dword [ecx + 8], eax
mov eax, dword [0x557f84]
mov dword [ecx + 0xc], eax
mov eax, dword [0x557f88]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0xac4]
push eax
call ebx
test eax, eax
mov eax, 0
cmovne eax, esi
mov dword [ebp - 0x12f4], eax
call fcn.00402160
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x584]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1096], ax
test ax, ax
jne 0x406824
lea ecx, [ebp - 0x1094]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406845
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x557f90]
mov dword [ecx + 4], eax
mov eax, dword [0x557f94]
mov dword [ecx + 8], eax
mov eax, dword [0x557f98]
mov dword [ecx + 0xc], eax
mov ax, word [0x557f9c]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x1094]
push eax
call ebx
test eax, eax
mov dword [ebp - 0x12ec], 0
mov eax, 0
mov dword [ebp - 0x12e8], 0
cmovne eax, esi
mov dword [ebp - 0x12e4], 0
mov dword [ebp - 0x12f8], eax
mov ecx, 0x59
mov byte [ebp - 4], 3
mov esi, str.55HeNkFdkxpqmH9VBDTlUmPggoDw80ts9JxZxRPDHn3DuTiwXiAIVMIksxzsWWjrRTH2cAizDC3U3GEDRUR0hK81FrOvYzhkobElZ4fAFKaNK4Hj6L8Wpx3e2oiHzqtaxxcRYt9d8ENpyFQCtCo3KCid6MjBLHJBSgrSgPazoiWPDju1QrDvboCYuFEweNw3YiSu68vruoKEL1ktqwriKGtJp3ExHoEOolscaWvpBHAsQqrJIZ115aScTxXU1S2q0DuCpwYawpjWh9xtJeFUOtEERjwR5hdcRWxKCr7pjkXi0iJZsMLv61VT4lewtUHAurI4CzLBxo5oQ0GTh3DgfberOYFXzNvw9sj
mov dword [ebp - 0x12a0], 0xf
lea edi, [ebp - 0x37c]
mov dword [ebp - 0x12a4], 0
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x37c], 0
mov byte [ebp - 0x12b4], 0
jne 0x4068ef
xor ecx, ecx
jmp 0x406901
lea ecx, [ebp - 0x37c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4068f8
sub ecx, edx
push ecx
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x12b4]
call fcn.00407f10
lea eax, [ebp - 0x12b4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x12ec]
call fcn.00408170
mov eax, dword [ebp - 0x12a0]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x40694c
inc eax
lea ecx, [ebp - 0x12b4]
push eax
push dword [ebp - 0x12b4]
call fcn.00408010
cmp dword [ebp - 0x12f0], 0
je 0x406a87
mov eax, dword [ebp - 0x12f4]
test eax, eax
je 0x406a87
mov eax, dword [ebp - 0x12f8]
test eax, eax
je 0x406a87
push str.BundleBind
lea eax, [ebp - 0xac4]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.004081f0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4069b1
lea eax, [ebp - 0x218]
push eax
call fcn.004cdb36
add esp, 4
mov dword [ebp - 0x12a8], 0
mov dword [ebp - 0x12a4], 0
mov dword [ebp - 0x12a0], 0
mov ecx, 0x4e
mov byte [ebp - 4], 5
mov esi, str.tUg9sQp02l7kYQFneJpxxNxCoIFshEQFaGRa5MiDxCFAgQ43LzT3IbYbbcsROV5zgSp3Aur9O0xG01cdT7kVTpDmkIfgUvfGQAeTn6QaSLKtBDC8kjbRixYyh37HxBPZyIOdQcWwdm3Fl26QZOwFtWiKV9iRAeWioPn91UUlYATb5ONZTcbBCGngBieeyCimALqYt1cI0Z3UWOIFxnBcQ3j3xVnyA0zM9mHd5FvR8RnD8t36iJIUBXGpSDHqntZETXEQPUu4V3SCWhXFarO7wkoQTW9IUvlPrSun0p86XJpAvtLuKL2oCyRgn
lea edi, [ebp - 0xc00]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc00]
push eax
lea ecx, [ebp - 0x12cc]
movsw word es:[edi], word [esi]
call fcn.004057d0
lea eax, [ebp - 0x12cc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x12a8]
call fcn.00408170
mov eax, dword [ebp - 0x12b8]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x406a31
inc eax
lea ecx, [ebp - 0x12cc]
push eax
push dword [ebp - 0x12cc]
call fcn.00408010
cmp word [ebp - 0x218], 0
jne 0x406a55
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x12d0]
push eax
call fcn.00402650
jmp 0x406b19
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406a60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x12d0]
push eax
call fcn.00402650
jmp 0x406b19
mov dword [ebp - 0x12a8], 0
mov dword [ebp - 0x12a4], 0
mov dword [ebp - 0x12a0], 0
mov ecx, 0x6f
mov byte [ebp - 4], 7
mov esi, str.5gmdfHekgltM3OlwV6fYwdExca5FJUaPqqFRzybK4NQGTeQEq18IyWlCIURbOrWjHdwZXQyvN2q6PJTK9CwDF1PHWrB8VlyOy8JdEHn6Z6WDZokryNBfHklgw0vhuGVXiUu1HyVfhEwFTMTxs3qVmAhHOHU1zgEgA8t3VKtgAhaNmqq8aHdECzVMCtoXtYOimuhkzxj9qBgYKO4Bwtog4InzNySUNDE2iFMgCjn0QtwF5X5GQO1zyPAXLVMGWTZhg2MX3xgcBzdRvC6hItMhsANyO0zr0r6hcpQ61VQflP5GarFGGvkG3kw7AXozoY5ZE9QbFGBYqYTFf92lwtv2sa9gNDCTaBXw4peSRvqsVYtFs9D3vndjvYvFUf3iG4VFH8aDpO3Po88ub202FQmwwGgXbnHJqEpjSxEzVkAGh31lRvzS6LE8pOMfV2QITi
lea edi, [ebp - 0xc84]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc84]
push eax
lea ecx, [ebp - 0x12cc]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.004057d0
lea eax, [ebp - 0x12cc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x12a8]
call fcn.00408170
mov eax, dword [ebp - 0x12b8]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x406b08
inc eax
lea ecx, [ebp - 0x12cc]
push eax
push dword [ebp - 0x12cc]
call fcn.00408010
push dword [ebp - 0x12d0]
mov ecx, dword [ebp - 0x12d4]
call fcn.00405bb0
lea ecx, [ebp - 0x12a8]
call fcn.00405a70
mov esi, dword [ebp - 0x12ec]
test esi, esi
je 0x406b70
push dword [ebp - 0x12d4]
lea eax, [ebp - 0x12ec]
push eax
push dword [ebp - 0x12e8]
push esi
call fcn.004056a0
mov ecx, dword [ebp - 0x12e4]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x12ec]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00408070
mov esi, dword [ebp - 0x12e0]
test esi, esi
je 0x406bbc
push dword [ebp - 0x12d4]
lea ecx, [ebp - 0x12e0]
push ecx
push dword [ebp - 0x12dc]
push esi
call fcn.004056a0
mov ecx, dword [ebp - 0x12d8]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x12e0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00408070
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.00474193
mov esp, ebp
pop ebp
ret 4