Function at 0x411880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495ded
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x1a8]
call fcn.0041f2f0
push str.data.json
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00410850
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x194], 8
jb 0x4118f2
push dword [ebp - 0x1a8]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [ebp - 0x194], 7
cmp dword [ebp - 0x54], 8
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
mov dword [ebp - 0x198], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411e49
push 0xb8
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.00462c70
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x150]
call fcn.00416e40
mov byte [ebp - 4], 3
cmp dword [ebp - 0xf0], 0
jne 0x411991
mov ecx, dword [0x4c7560]
test ecx, ecx
je 0x411dd3
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push str.failed_to_open_the_data_configure_file_:__s
push 3
push 0x95
push str.DataManager.cpp
push ecx
call fcn.0041fb10
add esp, 0x18
jmp 0x411dd3
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
mov edi, edi
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [ebp - 0x160]
push eax
call fcn.00401e00
push eax
mov byte [ebp - 4], 6
call fcn.004097c0
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x160]
mov esi, eax
test ecx, ecx
je 0x411a0d
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x411a0d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 0xa
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp - 0x158], al
lea edx, [ebp - 0x98]
push dword [ebp - 0x158]
lea ecx, [ebp - 0x150]
call fcn.00417c20
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x411a5c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x38]
call fcn.004067a0
jmp 0x4119c0
lea ecx, [ebp - 0x140]
call fcn.0040c400
test eax, eax
jne 0x411a93
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x411a8b
or eax, 4
push 0
push eax
call fcn.00401d40
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x40], 0
and dword [ebp - 0x40], 0xfffffeff
mov dword [ebp - 0x50], vtable.Json::CharReaderBuilder.0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.0045b6c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.0045b4e0
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x38]
mov edx, dword [eax]
lea esi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x80]
push eax
cmovae esi, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
cmovae edi, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x28]
add eax, edi
push eax
mov eax, dword [edx + 4]
push esi
mov esi, dword [ebp - 0x158]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ecx, esi
push 1
mov byte [ebp - 0x151], al
call dword [edx]
cmp byte [ebp - 0x151], 0
jne 0x411b80
mov eax, dword [0x4c7560]
test eax, eax
je 0x411d50
push str.failed_to_parse_the_basic_configure
push 3
push 0xa9
push str.DataManager.cpp
push eax
call fcn.0041fb10
add esp, 0x14
jmp 0x411d50
push 0x4a9ccf
push str.has_pay
lea ecx, [ebp - 0x20]
call fcn.00456dd0
test eax, eax
je 0x411bba
push 0x4a9ccf
push str.has_pay
lea ecx, [ebp - 0x20]
call fcn.00456bc0
mov ecx, eax
call fcn.00456780
mov esi, dword [ebp - 0x15c]
mov byte [esi + 0x2c], al
jmp 0x411bc0
mov esi, dword [ebp - 0x15c]
push 0x4a9ce4
push str.use_discounted_price
lea ecx, [ebp - 0x20]
call fcn.00456dd0
test eax, eax
je 0x411bf5
push 0x4a9ce4
push str.use_discounted_price
lea ecx, [ebp - 0x20]
call fcn.00456bc0
mov ecx, eax
call fcn.00456780
mov byte [esi + 0x90], al
push 0x4a9cf1
push str.device_id
lea ecx, [ebp - 0x20]
call fcn.00456dd0
test eax, eax
je 0x411c6a
push 0x4a9cf1
push str.device_id
lea ecx, [ebp - 0x20]
call fcn.00456bc0
lea ecx, [ebp - 0x178]
push ecx
mov ecx, eax
call fcn.00456070
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x411c37
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0041e950
push eax
lea ecx, [esi + 0xe8]
call fcn.00410730
lea ecx, [ebp - 0x190]
call fcn.0040b5d0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xd
call fcn.00405290
push 0x4a9d05
push str.install_file_path
lea ecx, [ebp - 0x20]
call fcn.00456dd0
test eax, eax
je 0x411cdf
push 0x4a9d05
push str.install_file_path
lea ecx, [ebp - 0x20]
call fcn.00456bc0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.00456070
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 0x10
jb 0x411cac
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.0041e950
push eax
lea ecx, [esi + 0xac]
call fcn.00410730
lea ecx, [ebp - 0x178]
call fcn.0040b5d0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xd
call fcn.00405290
push 0x4a9d18
push str.software_version
lea ecx, [ebp - 0x20]
call fcn.00456dd0
test eax, eax
je 0x411d50
push 0x4a9d18
push str.software_version
lea ecx, [ebp - 0x20]
call fcn.00456bc0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.00456070
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x411d21
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.0041e950
push eax
lea ecx, [esi + 0x94]
call fcn.00410730
lea ecx, [ebp - 0x178]
call fcn.0040b5d0
lea ecx, [ebp - 0x190]
call fcn.00405290
cmp dword [ebp - 0x6c], 0x10
jb 0x411d61
push dword [ebp - 0x80]
call fcn.0046080a
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x50], vtable.Json::CharReaderBuilder.0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.00455ea0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x50], vtable.Json::CharReader::Factory.0
mov byte [ebp - 4], 5
call fcn.00455ea0
cmp dword [ebp - 0x84], 0x10
jb 0x411db0
push dword [ebp - 0x98]
call fcn.0046080a
add esp, 4
cmp dword [ebp - 0x24], 0x10
jb 0x411dc1
push dword [ebp - 0x38]
call fcn.0046080a
add esp, 4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x154], eax
lea ecx, [ebp - 0x140]
call fcn.0040b920
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x154], eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0xe0], vtable.std::ios_base.0
call fcn.0045eb47
add esp, 4
cmp dword [ebp - 0x54], 8
jb 0x411e5a
push dword [ebp - 0x68]
call fcn.0046080a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret