Function at 0x407750
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 [0x646040]
xor eax, ebp
mov dword [esp + 0xc8], eax
mov bl, 1
push 0x6480fc
call fcn.00509060
add esp, 4
test al, al
je 0x407c9b
mov ebx, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
jne 0x407b4a
push 4
call fcn.00564055
add esp, 4
mov esi, 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.00457eb0
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esi]
lea ebx, [esp + 0x70]
mov dword [ebx + 8], eax
pxor xmm0, xmm0
movq qword [ebx], xmm0
push ebx
push ecx
call fcn.0043f560
add esp, 8
test al, al
je 0x40783a
mov edi, esi
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jae 0x407828
test esi, esi
je 0x407e02
cmp byte [esp + 0x7b], 0
jns 0x407815
mov ecx, esi
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.005421d0
add esi, 0xc
jmp 0x407834
mov eax, dword [esp + 0x78]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x70]
movq qword [esi], xmm0
jmp 0x407810
lea ecx, [esp + 0x18]
push ebx
call fcn.00458030
mov esi, eax
mov dword [esp + 0x1c], esi
mov esi, edi
cmp byte [esp + 0x7b], 0
jns 0x40784d
push dword [esp + 0x70]
call fcn.00564050
add esp, 4
pxor xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov dword [esp + 4], esi
je 0x407a44
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push 0x2da
push str.file_util_win.cc
push str.GetSecureSystemTemp
push ebx
call fcn.00509c60
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0xb4], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x407e05
pxor xmm0, xmm0
lea eax, [esp + 0x30]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push eax
push 0x65
call fcn.0043f560
add esp, 8
test al, al
je 0x407d13
lea edi, [esp + 0x30]
mov ecx, edi
push 0xa
push str.SystemTemp
push ebx
call fcn.00414df0
cmp byte [edi + 0xb], 0
jns 0x40790d
push dword [esp + 0x30]
call fcn.00564050
add esp, 4
lea esi, [esp + 0x70]
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
movq xmm0, qword [esi]
movq qword [esp + 0x30], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0xb8]
push 0x22c
push str.file_util_win.cc
push str.PathExists
push ebx
call fcn.00509c60
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0xac], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x407e31
cmp byte [esp + 0x3b], 0
jns 0x407981
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.00540880
cmp esi, 0xffffffff
je 0x407d13
lea ecx, [esp + 0x30]
call fcn.00457d10
test al, al
je 0x407d13
cmp byte [esp + 0x13], 0
movzx eax, byte [esp + 0x3b]
js 0x407ce1
test al, al
jns 0x407a1b
lea ecx, [esp + 8]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0052a7d0
cmp byte [esp + 0x3b], 0
jns 0x4079e5
push dword [esp + 0x30]
call fcn.00564050
add esp, 4
lea ecx, [esp + 0x40]
call fcn.00540880
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
jae 0x407a4a
test edi, edi
je 0x407dff
cmp byte [esp + 0x13], 0
jns 0x407a31
mov ecx, edi
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.005421d0
add edi, 0xc
jmp 0x407a5a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 8], xmm0
jmp 0x4079e5
mov ecx, dword [esp + 0x10]
mov dword [edi + 8], ecx
movq xmm0, qword [esp + 8]
movq qword [edi], xmm0
jmp 0x407a16
mov edi, dword [esp + 0x1c]
jmp 0x407a5e
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.00458030
mov edi, eax
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x18]
cmp esi, edi
jne 0x407a85
mov bl, 1
jmp 0x407abd
push dword [esp + 0x70]
call fcn.00564050
add esp, 4
add esi, 0xc
cmp esi, edi
sete cl
or cl, bl
cmp cl, 1
je 0x407aba
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, esi
call fcn.00457eb0
mov ecx, ebx
push 0
lea eax, [esp + 0x28]
push eax
call fcn.0041ca10
mov ebx, eax
cmp byte [esp + 0x7b], 0
js 0x407a6a
jmp 0x407a76
xor bl, 1
cmp byte [esp + 0x13], 0
jns 0x407ad0
push dword [esp + 8]
call fcn.00564050
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x407b1b
mov edi, dword [esp + 0x1c]
mov eax, esi
cmp edi, esi
je 0x407b0e
add edi, 0xfffffff4
jmp 0x407afa
push dword [edi]
call fcn.00564050
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x407b0a
test edi, edi
je 0x407d01
cmp byte [edi + 0xb], 0
js 0x407ae7
jmp 0x407af1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
push eax
call fcn.00564050
add esp, 4
cmp byte [esp + 0x2f], 0
jns 0x407b2e
push dword [esp + 0x24]
call fcn.00564050
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
je 0x407b3f
push eax
call fcn.00564050
add esp, 4
test bl, bl
mov ebx, dword [ebp + 8]
jne 0x407c99
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
lea eax, [esp + 0xbc]
mov byte [eax + 7], 2
mov ecx, 0x63049c
lea edx, [esp + 0xb8]
cmp edx, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x407d0a
mov dword [esp + 0xb8], 0x440057
mov word [esp + 0xbc], 0
push 0xc
call fcn.00564055
add esp, 4
mov dword [esp + 0x40], eax
lea ecx, [eax + 0xc]
mov dword [esp + 0x48], ecx
test eax, eax
je 0x407d0d
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.00447ca0
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x407c20
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x407c13
add edi, 0xfffffff4
test edi, edi
je 0x407d07
cmp byte [edi + 0xb], 0
jns 0x407c06
push dword [edi]
call fcn.00564050
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x407bee
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00564050
add esp, 4
cmp byte [esp + 0xc3], 0
jns 0x407c39
push dword [esp + 0xb8]
call fcn.00564050
add esp, 4
cmp byte [esp + 0x7c], 0
je 0x407d10
sub esp, 0x10
movdqa xmm0, xmmword [0x6303b0]
movdqu xmmword [esp], xmm0
lea esi, [esp + 0x80]
mov ecx, ebx
mov edx, esi
call fcn.0042aa00
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xc], 1
jne 0x407c9b
mov esi, dword [esp + 0x70]
test esi, esi
je 0x407c9b
mov edi, dword [esp + 0x74]
mov eax, esi
cmp edi, esi
je 0x407c8a
add edi, 0xfffffff4
jmp 0x407cc8
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], esi
push eax
call fcn.00564050
add esp, 4
jmp 0x407c9b
xor ebx, ebx
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00567335
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi + 4], eax
push eax
call fcn.00564050
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x407c86
test edi, edi
je 0x407d04
mov eax, dword [edi]
test eax, eax
je 0x407cbf
mov ecx, dword [edi + 4]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
jbe 0x407cb3
int3
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.00407e90
jmp 0x4079d2
int3
int3
int3
int3
int3
int3
cmp byte [esp + 0x3b], 0
jns 0x407d26
push dword [esp + 0x30]
call fcn.00564050
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.0043f560
add esp, 8
test al, al
je 0x407dde
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 0x22c
push str.file_util_win.cc
push str.PathExists
push edi
call fcn.00509c60
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0xac], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x407e60
cmp byte [esp + 0x3b], 0
lea eax, [esp + 0x30]
jns 0x407db6
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.00540880
cmp esi, 0xffffffff
je 0x407dde
lea ecx, [esp + 0x30]
call fcn.00457d10
test al, al
jne 0x4079ad
cmp byte [esp + 0x3b], 0
jns 0x407df1
push dword [esp + 0x30]
call fcn.00564050
add esp, 4
lea ecx, [esp + 0x40]
call fcn.00540880
jmp 0x407a44
int3
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.005b7340
add esp, 8
jmp 0x4078c2
movzx ecx, al
lea eax, [esp + 0xb4]
mov dword [eax], ebx
lea esi, [esp + 0xb0]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0xac]
push eax
push esi
call fcn.005b7340
add esp, 8
jmp 0x407976
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.005b7340
add esp, 8
jmp 0x407da7