Function at 0x100be350
Capabilities:
Check if file exists

Disassembly:
push 0x200
mov eax, 0x10130509
call fcn.1011094a
mov esi, ecx
mov dword [ebp - 0x154], esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x168], 0
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], eax
call fcn.100c21e2
pop ecx
test al, al
je 0x100bef34
push ebx
call fcn.100c209f
pop ecx
test al, al
je 0x100bef34
xor ebx, ebx
mov dword [ebp - 0x150], ebx
call fcn.100e4662
test al, al
je 0x100be506
mov ebx, 0x101e2a68
push ebx
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.10063887
pop ecx
pop ecx
call fcn.100e1984
mov edi, 0x1014a0f1
lea ecx, [ebp - 0x5c]
push edi
call fcn.10063887
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push edi
call fcn.10063887
push dword [esi + 4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10063887
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x44]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1001524d
test esi, esi
je 0x100be4cf
call fcn.100e1984
push edi
lea ecx, [ebp - 0x5c]
call fcn.10063887
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
call fcn.10063887
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
push dword [eax + 4]
call fcn.10063887
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100e1c13
add esp, 0xc
mov ecx, dword [eax]
push str.GetFromUserStorage
push str._s:_Routed_to_NGLU
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1014488c]
call esi
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.1001524d
lea ecx, [ebp - 0x44]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1001524d
push ebx
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
push dword [ebp - 0x164]
push dword [ebp - 0x170]
push dword [ebp - 0x160]
push dword [ebp - 0x16c]
call fcn.100e1984
mov ecx, eax
call fcn.100e29a8
mov ecx, eax
call fcn.1008f938
jmp 0x100bef37
xor eax, eax
mov dword [ebp - 4], 6
lea edi, [ebp - 0x50]
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
xor eax, eax
mov byte [ebp - 4], 7
inc eax
mov byte [ebp - 0x149], cl
mov dword [ebp - 0x15c], eax
mov edi, 0x1014a0f1
jmp 0x100be53c
xor ecx, ecx
push 0xb0
push ecx
lea eax, [ebp - 0x144]
mov esi, ecx
push eax
mov dword [ebp - 0x158], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x144]
push 1
call fcn.10088667
mov ecx, dword [ebp - 0x15c]
push 8
pop eax
push ecx
inc ecx
mov byte [ebp - 4], al
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______thiscall_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___int_]
and dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x12c]
call fcn.1008979d
or dword [ebp - 0x168], 1
push 8
pop edx
cmp dword [ebp - 0x18], edx
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10063887
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x16c]
call fcn.10063887
lea ecx, [ebp - 0x18c]
call fcn.10015273
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10015273
and dword [ebp - 0x148], 0
lea eax, [ebp - 0x44]
push 8
pop ecx
cmp dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x148]
push ecx
cmovae eax, dword [ebp - 0x44]
push 0
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_CredReadW]
test eax, eax
jne 0x100be799
call dword [sym.imp.kernel32.dll_GetLastError]
push 2
push 0
push eax
push dword [ebp - 0x160]
call fcn.10063887
add esp, 0x10
cmp dword [ebp - 0x15c], 2
push 8
pop eax
cmovle ebx, eax
push 0x101e2a68
mov dword [ebp - 0x150], ebx
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.10063887
pop ecx
push edi
lea ecx, [ebp - 0x1a4]
call fcn.10063887
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.10063887
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xd
push dword [eax + 4]
call fcn.10063887
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x18c]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x2c]
call fcn.1001524d
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.1001524d
test esi, esi
je 0x100be789
push edi
lea ecx, [ebp - 0x2c]
call fcn.10063887
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
call fcn.10063887
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x10
push dword [eax + 4]
call fcn.10063887
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100e1c13
add esp, 0xc
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebx]
push eax
push str.GetFromUserStorage
push str._s_error__lu_data_not_found_in_storage.
mov ecx, dword [esi + 0x24]
push edi
push ebx
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x1a4]
call fcn.1001524d
lea ecx, [ebp - 0x18c]
call fcn.1001524d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1001524d
mov ebx, dword [ebp - 0x150]
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
jmp 0x100be8f1
mov eax, dword [ebp - 0x148]
test eax, eax
jne 0x100be8fc
cmp dword [ebp - 0x15c], 2
jg 0x100becc8
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.10063887
pop ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.10063887
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x12
call fcn.10063887
mov ebx, dword [ebp - 0x154]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x13
push dword [ebx + 4]
call fcn.10063887
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x1a4]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x18c]
call fcn.1001524d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1001524d
test esi, esi
je 0x100be8c9
push edi
lea ecx, [ebp - 0x2c]
call fcn.10063887
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x15
call fcn.10063887
push dword [ebx + 4]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x16
call fcn.10063887
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100e1c13
add esp, 0xc
mov esi, dword [eax]
push str.GetFromUserStorage
push str._s_error_reading_storage.
push edi
mov ecx, dword [esi + 0x1c]
push eax
call dword [0x1014488c]
call dword [esi + 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call fcn.1001524d
lea ecx, [ebp - 0x18c]
call fcn.1001524d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1001524d
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
push 2
push 0
push 0x1e
push dword [ebp - 0x160]
call fcn.10063887
xor ebx, ebx
add esp, 0x10
inc ebx
mov dword [ebp - 0x150], ebx
mov esi, dword [ebp - 0x158]
jmp 0x100becc8
push dword [eax + 0x30]
mov ebx, dword [ebp - 0x160]
mov ecx, ebx
call fcn.10063887
push 2
test eax, eax
je 0x100be954
push 0
push 0x490
push ebx
call fcn.10063887
mov ebx, dword [ebp - 0x4c]
add esp, 0x10
mov esi, dword [ebp - 0x50]
push 8
pop eax
mov dword [ebp - 0x150], eax
cmp esi, ebx
je 0x100be946
mov ecx, esi
call fcn.10015273
add esi, 0x18
cmp esi, ebx
jne 0x100be935
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x158]
jmp 0x100becb6
xor esi, esi
push esi
push esi
push ebx
call fcn.10063887
mov ebx, dword [ebp - 0x164]
add esp, 0x10
test ebx, ebx
je 0x100bec63
cmp byte [ebp - 0x149], 0
jne 0x100bec63
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x24], esi
je 0x100bea26
cmp esi, dword [eax + 0x24]
jae 0x100bea24
mov eax, dword [eax + 0x28]
mov ecx, esi
add ecx, ecx
mov ebx, dword [eax + ecx*8]
push dword [eax + ecx*8 + 0xc]
lea ecx, [ebp - 0x1f4]
call fcn.10063887
mov dword [ebp - 0x158], eax
push ebx
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x18
call fcn.10063887
push dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10063887
add esp, 0xc
mov ebx, dword [ebp - 0x164]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x1a
call fcn.10063887
lea ecx, [ebp - 0x7c]
call fcn.10015273
lea ecx, [ebp - 0x94]
call fcn.10015273
lea ecx, [ebp - 0x1dc]
call fcn.10015273
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 9
call fcn.10015273
mov eax, dword [ebp - 0x148]
inc esi
jmp 0x100be98b
xor esi, esi
lea ecx, [ebp - 0x64]
add eax, 0x10
push ecx
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x64], xmm0
call fcn.10063887
pop ecx
pop ecx
test eax, eax
je 0x100bea4f
xor eax, eax
inc eax
mov dword [ebp - 0x150], eax
jmp 0x100bec5c
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.10063887
pop ecx
push edi
lea ecx, [ebp - 0x1c4]
call fcn.10063887
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1b
call fcn.10063887
push str.AdobeTime
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1c
call fcn.10063887
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x1a4]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x18c]
call fcn.1001524d
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 9
call fcn.1001524d
test esi, esi
je 0x100beba5
push edi
lea ecx, [ebp - 0x18c]
call fcn.10063887
push edi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1e
call fcn.10063887
push str.AdobeTime
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x1f
call fcn.10063887
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.100e1c13
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.10063887
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x21
jb 0x100beb52
mov eax, dword [eax]
mov esi, dword [ebx]
push eax
push str.GetFromUserStorage
push str._s_Credential_Modification_Time:__s
mov ecx, dword [esi + 0xc]
push ebx
call dword [0x1014488c]
call dword [esi + 0xc]
add esp, 0x10
lea ecx, [ebp - 0x1dc]
call fcn.1001524d
lea ecx, [ebp - 0x1c4]
call fcn.1001524d
lea ecx, [ebp - 0x1a4]
call fcn.1001524d
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 9
call fcn.1001524d
mov ebx, dword [ebp - 0x164]
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1ac]
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x1a8], ecx
push eax
call fcn.10099b56
pop ecx
pop ecx
push dword [0x101d9364]
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x22
call fcn.10063887
push eax
lea ecx, [ebp - 0x20c]
call fcn.10063887
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x24
xor esi, esi
lea ecx, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1e0], esi
call fcn.10063887
or dword [ebp - 0x168], 2
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x25
push eax
mov ecx, ebx
call fcn.10063887
lea ecx, [ebp - 0x1f4]
call fcn.10015273
lea ecx, [ebp - 0x20c]
call fcn.10015273
lea ecx, [ebp - 0x1dc]
call fcn.10015273
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 9
call fcn.10015273
mov byte [ebp - 0x149], 1
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 0x18]
shr eax, 1
push eax
push dword [ecx + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.10063887
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
push ecx
cmp eax, dword [ebp - 0x48]
je 0x100bec9d
mov ecx, eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
call fcn.10063887
add dword [ebp - 0x4c], 0x18
jmp 0x100beca6
push eax
lea ecx, [ebp - 0x50]
call fcn.1008d266
movzx esi, word [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10015273
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov ebx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x30]
push 8
pop ecx
cmp eax, ecx
jb 0x100bece4
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x44]
call fcn.10063887
pop ecx
pop ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 7
call fcn.100887d7
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void_]
mov eax, 0x4c4
cmp si, ax
jge 0x100be53a
mov ecx, dword [ebp - 0x170]
mov eax, ecx
push 8
pop edx
and dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], edx
jb 0x100bed34
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x4c]
mov eax, edi
mov esi, dword [ebp - 0x50]
mov ebx, esi
push 0x18
mov dword [ebp - 0x16c], eax
pop ecx
cmp ebx, eax
je 0x100bedb1
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
and dword [ebp - 0x30], 0
push ebx
call fcn.10063887
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x44]
push 8
pop esi
cmp dword [ebp - 0x30], esi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x27
call fcn.10063887
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 7
cmp eax, esi
jb 0x100bed9e
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x44]
call fcn.10063887
pop ecx
pop ecx
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x16c]
push 0x18
pop ecx
add ebx, ecx
jmp 0x100bed4c
test esi, esi
je 0x100bede0
cmp esi, edi
je 0x100bedcc
mov ecx, esi
call fcn.10015273
push 0x18
pop ecx
add esi, ecx
cmp esi, edi
jne 0x100bedb9
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
sub eax, esi
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.10063887
pop ecx
pop ecx
mov eax, dword [ebp - 0x150]
jmp 0x100bef37
push 5
pop eax
call fcn.10110897
ret 0x14