Function at 0x56f9f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73f04d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x56fb85
push str.Reading_configuration_from_command_line_for_ESD_mode_uninstallation
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 8]
add esp, 0x18
push esi
call fcn.00574e70
test al, al
je 0x57055c
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x248]
push 0x15
push str.deleteUserPreferences
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00426ce0
push 0x15
xor eax, eax
mov dword [ebp - 0x238], 0
push str.deleteUserPreferences
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x18]
push eax
call fcn.005540a0
lea ecx, [ebp - 0x230]
cmp eax, ecx
je 0x56fb3c
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00426ce0
push str.Uninstall_configuration_read_from_command_line.
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00426ce0
jmp 0x57033e
test eax, eax
jne 0x56fddf
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
push str.Reading_configuration_from_driver_XML_for_ESD_mode_installation
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
mov byte [ebp - 4], 4
call fcn.0056c500
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x56fdd5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x56fdd5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56fc23
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00426d40
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
call fcn.00426d40
push 8
xor eax, eax
mov dword [ebp - 0x220], 0
push str.products
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00426ce0
push 0xa
xor eax, eax
mov dword [ebp - 0x220], 0
push str.driver.xml
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00426ce0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56fda1
mov ecx, dword [edi + 0x1c]
lea eax, [ebp - 0x260]
push eax
call fcn.00575060
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.Install_configuration_read_from_driver_xml_at_path:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x260]
call fcn.00426ce0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00426ce0
jmp 0x57033e
lea ecx, [ebp - 0x260]
call fcn.0046a0d0
push eax
push str.Driver_XML_does_not_exist_at:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
jmp 0x57057f
push str.Failed_to_get_current_application_directory_path.
jmp 0x570561
cmp eax, 4
jne 0x570036
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], 7
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
push str.Reading_configuration_from_driver_XML_for_ESD_mode_installation
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
mov byte [ebp - 4], 8
call fcn.0056c500
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x56fdd5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x56fdd5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56fe84
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00426d40
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x278]
push eax
call fcn.00426d40
push 8
xor eax, eax
mov dword [ebp - 0x220], 0
push str.products
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.00426ce0
push 0xd
xor eax, eax
mov dword [ebp - 0x220], 0
push str.SuiteInfo.xml
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x278]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.00426ce0
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x570002
mov ecx, dword [edi + 0x1c]
lea eax, [ebp - 0x278]
push eax
call fcn.005756b0
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str.Install_configuration_read_from_suite_xml_at_path:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x278]
call fcn.00426ce0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00426ce0
jmp 0x57033e
lea ecx, [ebp - 0x278]
call fcn.0046a0d0
push eax
push str.Suite_XML_does_not_exist_at:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
jmp 0x57057f
cmp eax, 2
jne 0x5701a2
push str.Reading_configuration_from_command_line_for_ESD_update_mode
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 8]
add esp, 0x18
push esi
call fcn.00574e70
test al, al
je 0x57055c
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x248]
push 0xe
push str.skipUpdateInfo
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xb
mov bl, al
call fcn.00426ce0
test bl, bl
je 0x570168
push 0xe
xor eax, eax
mov dword [ebp - 0x238], 0
push str.skipUpdateInfo
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 0x18]
push eax
call fcn.005540a0
lea ecx, [ebp - 0x230]
cmp eax, ecx
je 0x570159
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xb
call fcn.00426ce0
push str.Update_configuration_read_from_command_line.
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00426ce0
jmp 0x57033e
cmp eax, 5
jne 0x570301
xor eax, eax
mov dword [ebp - 0x280], 0
push eax
push 0x799430
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00426d40
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x2a8]
push 0xa
xor eax, eax
mov dword [ebp - 0x298], 0
push str.Driver.xml
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
call fcn.00426d40
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x2a8]
mov edx, 0xc8
push eax
push str.CONFIG
lea ecx, [ebp - 0x248]
call fcn.00562540
add esp, 0xc
lea ecx, [ebp - 0x2a8]
call fcn.00426ce0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x12
call fcn.00426ce0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5702cd
mov ecx, dword [edi + 0x1c]
lea eax, [ebp - 0x248]
push eax
call fcn.00575060
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.WAM_Install_configuration_read_from_driver_xml_at_path:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00426ce0
jmp 0x57033e
lea ecx, [ebp - 0x248]
call fcn.0046a0d0
push eax
push str.WAM_Driver_XML_does_not_exist_at:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
jmp 0x57057f
cmp eax, 6
jne 0x57033e
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0x20]
push esi
call fcn.0057a770
cmp dword [esi + 0x14], 8
jb 0x57031a
mov esi, dword [esi]
push esi
push str.TRON_package_download_configuration_read_from_embedded_JSON_:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
add esp, 0x1c
push dword [edi + 4]
mov ecx, dword [edi + 0x1c]
call fcn.00575d60
test al, al
jne 0x570357
push str.Sanity_failed_on_configuration_files.
jmp 0x570561
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x290]
push 0xd
push str.proxyUserName
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00426d40
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [edi + 8]
call fcn.0066a4b0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x14
call fcn.00426ce0
push 0xd
xor eax, eax
mov dword [ebp - 0x280], 0
push str.proxyPassword
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00426d40
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [edi + 8]
call fcn.0066a4b0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x14
call fcn.00426ce0
push 0xd
xor eax, eax
mov dword [ebp - 0x280], 0
push str.proxyUserName
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00426d40
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x17
mov ecx, dword [edi + 0x18]
push eax
call fcn.005540a0
lea ecx, [ebp - 0x230]
cmp eax, ecx
je 0x5704a8
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x14
call fcn.00426ce0
push 0xd
xor eax, eax
mov dword [ebp - 0x2b0], 0
push str.proxyPassword
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
call fcn.00426d40
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x18
mov ecx, dword [edi + 0x18]
push eax
call fcn.005540a0
lea ecx, [ebp - 0x248]
cmp eax, ecx
je 0x57051f
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
push ecx
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x2c0]
call fcn.00426ce0
lea ecx, [ebp - 0x248]
call fcn.00426ce0
lea ecx, [ebp - 0x230]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret
push str.Failed_to_initialize_with_command_line_arguments.
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
lea ecx, [ebp - 0x224]
call fcn.004a3120
push 0x853b78
lea eax, [ebp - 0x224]
push eax
call fcn.006e8e84
int3