Function at 0x428240
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x4054]
mov eax, 0x4054
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x5228da
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x4050], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], eax
push 0x535a4c
lea ecx, [ebp - 0x18]
call fcn.00405c00
mov dword [ebp - 4], ebx
push 0x535a4c
lea ecx, [ebp - 0x20]
call fcn.00405c00
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00487b00
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x14460]
cmp ecx, ebx
jne 0x4282ea
mov dword [ebp - 0x44], 6
push 0x5814b0
lea ecx, [ebp - 0x44]
push ecx
call fcn.004fd5a3
xor edx, edx
call fcn.0047f9f0
mov edi, eax
mov edx, 1
call fcn.0047f9f0
mov dword [ebp - 0x30], eax
cmp edi, ebx
je 0x428910
cmp eax, ebx
je 0x428910
lea edi, [esi + 0x335ec]
push 0x800
push ebx
push edi
call fcn.004fd670
add esp, 0xc
push 0x400
push str.STRINGS_GDPR_DESC_FILE
lea edx, [esi + 0x78]
mov ecx, edi
call fcn.00486260
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, ebx
je 0x428365
push str.Get_License_File_Path_fail___
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 0x4c], edi
push 0x5814b0
lea edx, [ebp - 0x4c]
push edx
call fcn.004fd5a3
mov eax, dword [esi + 0x14464]
cmp eax, ebx
jne 0x42837c
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
jmp 0x428917
push 4
push 4
lea ecx, [ebp - 0x38]
push ecx
push str.Sys_Lang_Code
mov edx, dword [eax]
push edx
mov edx, str.InstallingSetupLanguage
call fcn.004920e0
add esp, 0x14
test eax, eax
je 0x4283a0
mov dword [ebp - 0x38], ebx
mov eax, dword [esi + 0x14464]
push 4
push 4
lea ecx, [ebp - 0x3c]
push ecx
push str.Org_Lang_Code
mov edx, dword [eax]
push edx
mov edx, str.InstallingSetupLanguage
call fcn.004920e0
add esp, 0x14
test eax, eax
je 0x4283ca
mov dword [ebp - 0x3c], ebx
mov edx, 5
mov ecx, dword [esi + 0x14460]
call fcn.0047f9f0
mov dword [ebp - 0x48], eax
push 0x200
push ebx
lea eax, [ebp + 0x3c50]
push eax
call fcn.004fd670
mov eax, dword [esi + 0x14464]
push 1
push 0x200
lea ecx, [ebp + 0x3c50]
push ecx
push 0x5356e8
mov edx, dword [eax]
push edx
mov edx, str.InstallingSetupLanguage
call fcn.004920e0
add esp, 0x20
test eax, eax
je 0x428447
push 0x200
push ebx
lea eax, [ebp + 0x3c50]
push eax
call fcn.004fd670
push 0x543f14
push pe_nt_image_headers32
lea ecx, [ebp + 0x3c50]
push ecx
call fcn.004fa94e
add esp, 0x18
lea edx, [ebp - 0x34]
push edx
push 0x400
lea ebx, [ebp + 0x2650]
mov edx, str.LANGUAGES_INFO
mov ecx, dword [ebp - 0x30]
call fcn.004880c0
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x42848f
push str._LicenseLangCombo_Load_Language_List_fail___
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 0x50], edi
push 0x5814b0
lea eax, [ebp - 0x50]
push eax
call fcn.004fd5a3
lea edi, [ebp + 0x2650]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], 0
nop
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x34]
jae 0x428893
push 0x200
push 0
lea edx, [ebp + 0x2050]
push edx
call fcn.004fd670
push 0x200
push 0
lea eax, [ebp + 0x2450]
push eax
call fcn.004fd670
push 0x200
push 0
lea ecx, [ebp + 0x2250]
push ecx
call fcn.004fd670
push 0x200
push 0
lea edx, [ebp + 0x3a50]
push edx
call fcn.004fd670
push edi
push str.LANGUAGES_INFO
push 0x5352d4
lea edx, [ebp + 0x3a50]
call fcn.00418d80
push 0x200
push 0
lea eax, [ebp + 0x3e50]
push eax
call fcn.004fd670
add esp, 0x48
push pe_nt_image_headers32
lea ecx, [ebp + 0x3e50]
push ecx
mov ebx, str.abbr
lea edx, [ebp + 0x3a50]
mov ecx, dword [ebp - 0x30]
call fcn.00487fa0
test eax, eax
jne 0x42886d
add esi, 0x335ec
push esi
push 0x538d3c
lea edx, [ebp - 0x18]
push edx
call fcn.004081a0
push str.LANG_ABBR
push str.__s_
lea eax, [ebp - 0x20]
push eax
call fcn.004081a0
add esp, 0x18
mov ecx, dword [ebp - 0x20]
lea esi, [ebp - 0x18]
call fcn.004160b0
test eax, eax
jl 0x428598
lea ecx, [ebp + 0x3e50]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, esi
push eax
call fcn.00428c40
push 0x800
push 0
lea ecx, [ebp + 0x2e50]
push ecx
call fcn.004fd670
add esp, 0xc
push 0
push 0x400
lea edx, [ebp + 0x2e50]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14460]
call fcn.00480760
test eax, eax
je 0x4285fd
push 0x800
push 0
lea edx, [ebp + 0x2e50]
push edx
call fcn.004fd670
mov eax, dword [ebp - 0x18]
push eax
push 0x400
lea ecx, [ebp + 0x2e50]
push ecx
call fcn.004fa94e
add esp, 0x18
lea edx, [ebp + 0x2e50]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42886a
push 0x200
push 0
lea eax, [ebp + 0x3650]
push eax
call fcn.004fd670
add esp, 0xc
push pe_nt_image_headers32
lea ecx, [ebp + 0x3650]
push ecx
mov ebx, str.display
lea edx, [ebp + 0x3a50]
mov ecx, dword [ebp - 0x30]
call fcn.00487fa0
test eax, eax
jne 0x4287e5
push 0x200
push eax
lea edx, [ebp + 0x3850]
push edx
call fcn.004fd670
add esp, 0xc
push 1
push pe_nt_image_headers32
lea ebx, [ebp + 0x3850]
lea edx, [ebp + 0x3650]
mov ecx, dword [ebp - 0x48]
call fcn.00487e80
test eax, eax
jne 0x428762
lea eax, [ebp + 0x3c50]
push eax
lea ecx, [ebp + 0x3e50]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4286b1
mov eax, dword [ebp - 0x14]
add eax, 0x33e00
call fcn.00428fb0
mov dword [ebp - 0x24], eax
push 0x543f14
lea edx, [ebp + 0x3e50]
push edx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4286d9
mov eax, dword [ebp - 0x14]
add eax, 0x33e00
call fcn.00428fb0
mov dword [ebp - 0x40], eax
push edi
push pe_nt_image_headers32
lea eax, [ebp + 0x2050]
push eax
call fcn.004fa94e
lea ecx, [ebp + 0x3850]
push ecx
push pe_nt_image_headers32
lea edx, [ebp + 0x2450]
push edx
call fcn.004fa94e
lea eax, [ebp + 0x3e50]
push eax
push pe_nt_image_headers32
lea ecx, [ebp + 0x2250]
push ecx
call fcn.004fa94e
sub esp, 0x5dc
mov ecx, 0x180
lea esi, [ebp + 0x2050]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
lea edx, [esi + 0x33dec]
push edx
call fcn.0043f930
lea eax, [ebp + 0x3850]
push eax
push 0
push 0x143
mov ecx, dword [esi + 0x33e20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x1c]
jmp 0x42886d
push edi
push pe_nt_image_headers32
lea edx, [ebp + 0x2050]
push edx
call fcn.004fa94e
push edi
push pe_nt_image_headers32
lea eax, [ebp + 0x2450]
push eax
call fcn.004fa94e
lea ecx, [ebp + 0x3e50]
push ecx
push pe_nt_image_headers32
lea edx, [ebp + 0x2250]
push edx
call fcn.004fa94e
sub esp, 0x5dc
mov ecx, 0x180
lea esi, [ebp + 0x2050]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x33dec]
push eax
call fcn.0043f930
lea ecx, [ebp + 0x3650]
push ecx
push 0
push 0x143
mov edx, dword [esi + 0x33e20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x1c]
jmp 0x42886d
push edi
push pe_nt_image_headers32
lea eax, [ebp + 0x2050]
push eax
call fcn.004fa94e
push edi
push pe_nt_image_headers32
lea ecx, [ebp + 0x2450]
push ecx
call fcn.004fa94e
lea edx, [ebp + 0x3e50]
push edx
push pe_nt_image_headers32
lea eax, [ebp + 0x2250]
push eax
call fcn.004fa94e
sub esp, 0x5dc
mov ecx, 0x180
lea esi, [ebp + 0x2050]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
lea ecx, [esi + 0x33dec]
push ecx
call fcn.0043f930
lea ecx, [esi + 0x33e00]
mov esi, dword [ebp - 0x1c]
mov eax, esi
call fcn.00405ba0
push esi
push str._License_LangCombo_____s___Get_Display_Name_fail___
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov edi, esi
mov esi, dword [ebp - 0x14]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428872
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2 + 2]
mov dword [ebp - 0x1c], edx
add dword [ebp - 0x2c], 1
mov edi, edx
jmp 0x4284a0
cmp dword [ebp - 0x24], 0
jge 0x4288ab
xor ecx, ecx
mov eax, dword [ebp - 0x40]
test eax, eax
setl cl
sub ecx, 1
and ecx, eax
mov dword [ebp - 0x24], ecx
lea ecx, [esi + 0x33e00]
mov eax, dword [ebp - 0x24]
call fcn.00405b80
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00487b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406150
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4050]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x4054
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], dl
lea edx, [ebp]
push edx
call fcn.00487b80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406150
mov eax, 6
jmp 0x4288eb