Function at 0x4063b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0xc8], eax
mov bl, 1
push 0x6460f0
call fcn.00505cb0
add esp, 4
test al, al
je 0x4064a2
mov ebx, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
jne 0x4064ba
push 4
call fcn.00564ea5
add esp, 4
mov edi, eax
mov dword [eax], 6
xor eax, eax
dec eax
lea ecx, [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov edx, ebx
call fcn.00434930
xor esi, esi
lea eax, [esp + 0x18]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ebx, [esp + 0x70]
mov dword [esp + 4], edi
jmp 0x406664
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
push eax
call fcn.00564ea0
add esp, 4
mov edi, dword [esp + 4]
mov edx, ebx
cmp byte [esp + 0x2f], 0
jns 0x406460
push dword [esp + 0x24]
call fcn.00564ea0
mov edx, ebx
add esp, 4
test edi, edi
je 0x406486
mov eax, 4
test eax, eax
je 0x40647b
add eax, 0xfffffffc
mov ecx, edi
add ecx, eax
jne 0x406469
jmp 0x4069ba
push edi
call fcn.00564ea0
mov edx, ebx
add esp, 4
test dl, dl
mov ebx, dword [ebp + 8]
je 0x4064ba
xor ebx, ebx
jmp 0x4064a2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], esi
push eax
call fcn.00564ea0
add esp, 4
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
lea eax, [esp + 0xb8]
mov byte [eax + 0xb], 2
cmp eax, 0x62f2ac
ja 0x4064e8
lea eax, [esp + 0xbc]
cmp eax, 0x62f2ac
ja 0x4069cc
mov dword [esp + 0xb8], 0x440057
mov word [esp + 0xbc], 0
push 0xc
call fcn.00564ea5
add esp, 4
mov dword [esp + 0x40], eax
lea ecx, [eax + 0xc]
mov dword [esp + 0x48], ecx
test eax, eax
je 0x4069c6
mov edx, dword [esp + 0xc0]
mov dword [eax + 8], edx
movsd xmm0, qword [esp + 0xb8]
movsd qword [eax], xmm0
lea esi, [esp + 0x40]
mov dword [esi + 4], ecx
lea eax, [esp + 0x70]
push esi
push eax
call fcn.00442040
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x40658b
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x40657e
add edi, 0xfffffff4
test edi, edi
je 0x4069c0
cmp byte [edi + 0xb], 0
jns 0x406571
push dword [edi]
call fcn.00564ea0
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x406559
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00564ea0
add esp, 4
cmp byte [esp + 0xc3], 0
jns 0x4065a4
push dword [esp + 0xb8]
call fcn.00564ea0
add esp, 4
cmp byte [esp + 0x7c], 0
je 0x4069c9
sub esp, 0x10
movdqa xmm0, xmmword [0x62f1c0]
movdqu xmmword [esp], xmm0
lea esi, [esp + 0x80]
mov ecx, ebx
mov edx, esi
call fcn.00432630
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xc], 0
je 0x4064a2
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4064a2
mov edi, dword [esp + 0x74]
mov eax, esi
cmp edi, esi
je 0x406495
add edi, 0xfffffff4
jmp 0x406616
mov dword [edi + 4], eax
push eax
call fcn.00564ea0
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x406491
test edi, edi
je 0x4069b7
mov eax, dword [edi]
test eax, eax
je 0x406609
mov ecx, dword [edi + 4]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
jbe 0x4065fd
jmp 0x4069c3
lea ecx, [esp + 0x18]
push ebx
call fcn.00453c50
mov edi, eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 4]
cmp byte [esp + 0x7b], 0
jns 0x40665c
push dword [esp + 0x70]
call fcn.00564ea0
add esp, 4
add esi, 4
cmp esi, 4
je 0x4066c7
mov eax, dword [edi + esi]
pxor xmm0, xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
push ebx
push eax
call fcn.0054fa10
add esp, 8
test al, al
je 0x406649
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
jae 0x406635
test edi, edi
je 0x4069bd
cmp byte [esp + 0x7b], 0
jns 0x4066b4
mov ecx, edi
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00506680
add edi, 0xc
jmp 0x406641
mov eax, dword [esp + 0x78]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x70]
movq qword [edi], xmm0
jmp 0x4066af
pxor xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4068ba
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push 0x2d5
push str.file_util_win.cc
push str.GetSecureSystemTemp
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0xb4], 0xa
mov al, byte [0x649446]
test al, al
jne 0x406abe
pxor xmm0, xmm0
lea eax, [esp + 0x30]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push eax
push 0x65
call fcn.0054fa10
add esp, 8
test al, al
je 0x4069cf
lea esi, [esp + 0x30]
mov ecx, esi
push 0xa
push str.SystemTemp
push ebx
call fcn.00444fc0
cmp byte [esi + 0xb], 0
jns 0x406783
push dword [esp + 0x30]
call fcn.00564ea0
add esp, 4
lea edi, [esp + 0x70]
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
movq xmm0, qword [edi]
movq qword [esp + 0x30], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0xb8]
push 0x227
push str.file_util_win.cc
push str.PathExists
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00520200
mov dword [esp + 0xac], 0xa
mov al, byte [0x649446]
test al, al
jne 0x406aea
cmp byte [esp + 0x3b], 0
jns 0x4067f7
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.0053b480
cmp esi, 0xffffffff
je 0x4069cf
lea ecx, [esp + 0x30]
call fcn.004539e0
test al, al
je 0x4069cf
cmp byte [esp + 0x13], 0
movzx eax, byte [esp + 0x3b]
js 0x406994
test al, al
jns 0x406891
lea ecx, [esp + 8]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.005236b0
cmp byte [esp + 0x3b], 0
jns 0x40685b
push dword [esp + 0x30]
call fcn.00564ea0
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0053b480
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jae 0x4068c0
test esi, esi
je 0x406abb
cmp byte [esp + 0x13], 0
jns 0x4068a7
mov ecx, esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00506680
add esi, 0xc
jmp 0x4068d0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 8], xmm0
jmp 0x40685b
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], ecx
movq xmm0, qword [esp + 8]
movq qword [esi], xmm0
jmp 0x40688c
mov esi, dword [esp + 0x1c]
jmp 0x4068d4
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.00453c50
mov esi, eax
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x18]
cmp edi, esi
jne 0x4068ff
mov dl, 1
jmp 0x406937
push dword [esp + 0x70]
mov ebx, edx
call fcn.00564ea0
mov edx, ebx
add esp, 4
add edi, 0xc
cmp edi, esi
sete cl
or cl, dl
cmp cl, 1
je 0x406934
xor eax, eax
dec eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea ebx, [esp + 0x70]
mov ecx, ebx
mov edx, edi
call fcn.00434930
mov ecx, ebx
push 0
lea eax, [esp + 0x28]
push eax
call fcn.00410220
mov edx, eax
cmp byte [esp + 0x7b], 0
js 0x4068e0
jmp 0x4068f0
xor dl, 1
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 4]
mov ebx, edx
jns 0x406952
push dword [esp + 8]
call fcn.00564ea0
mov edx, ebx
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40644b
mov edi, dword [esp + 0x1c]
mov eax, esi
cmp edi, esi
je 0x406438
add edi, 0xfffffff4
jmp 0x406988
push dword [edi]
call fcn.00564ea0
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x406434
test edi, edi
je 0x4069b4
cmp byte [edi + 0xb], 0
js 0x406971
jmp 0x40697b
test al, al
cmovs eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmovs edx, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
push edx
call fcn.00406b50
jmp 0x406848
int3
int3
int3
int3
int3
int3
int3
int3
int3
cmp byte [esp + 0x3b], 0
jns 0x4069e2
push dword [esp + 0x30]
call fcn.00564ea0
add esp, 4
pxor xmm0, xmm0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x30]
push eax
push 0x67
call fcn.0054fa10
add esp, 8
test al, al
je 0x406a9a
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x70]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0xb8]
push 0x227
push str.file_util_win.cc
push str.PathExists
push edi
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0xac], 0xa
mov al, byte [0x649446]
test al, al
jne 0x406b19
cmp byte [esp + 0x3b], 0
lea eax, [esp + 0x30]
jns 0x406a72
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.0053b480
cmp esi, 0xffffffff
je 0x406a9a
lea ecx, [esp + 0x30]
call fcn.004539e0
test al, al
jne 0x406823
cmp byte [esp + 0x3b], 0
jns 0x406aad
push dword [esp + 0x30]
call fcn.00564ea0
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0053b480
jmp 0x4068ba
int3
movzx ecx, al
lea eax, [esp + 0xb8]
mov dword [eax], ebx
lea esi, [esp + 0x30]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0xb4]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x406738
movzx ecx, al
lea eax, [esp + 0xb4]
mov dword [eax], ebx
lea edi, [esp + 0xb0]
mov dword [edi], str.ScopedBlockingCall
lea edx, [esp + 0xac]
push eax
push edi
call fcn.005b8bd0
add esp, 8
jmp 0x4067ec
movzx ecx, al
lea eax, [esp + 0xb4]
mov dword [eax], edi
lea esi, [esp + 0xb0]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0xac]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x406a63