Function at 0x1400513e0
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov r12, rcx
xor r13d, r13d
lea rcx, [r11 - 0x38]
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov qword [r11 - 0x30], rax
mov dword [rdi], r13d
mov dword [r11 - 0x38], r13d
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [0x1400d7ea0]
test eax, eax
jne 0x1400514c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [rdi], eax
je 0x14005149d
cmp eax, 8
je 0x14005148e
cmp eax, 0x2ee4
lea rdx, str..IECfgHlp.cpp
lea ecx, [r13 + 2]
je 0x140051475
lea r9, str.WinHttpGetIEProxyConfigForCurrentUser___failed._GetLastError:__u_
lea r8d, [r13 + 0x45]
mov dword [rsp + 0x20], eax
call fcn.1400580a0
xor eax, eax
jmp 0x14005162c
lea r9, str.WinHttpGetIEProxyConfigForCurrentUser___failed._ERROR_WINHTTP_INTERNAL_ERROR
mov r8d, 0x3f
call fcn.1400580a0
xor eax, eax
jmp 0x14005162c
lea r9, str.WinHttpGetIEProxyConfigForCurrentUser___failed._ERROR_NOT_ENOUGH_MEMORY
mov r8d, 0x42
jmp 0x1400514aa
lea r9, str.WinHttpGetIEProxyConfigForCurrentUser___failed._ERROR_FILE_NOT_FOUND
mov r8d, 0x3c
lea rdx, str..IECfgHlp.cpp
mov ecx, 2
call fcn.1400580a0
xor eax, eax
jmp 0x14005162c
mov rdx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
test rdx, rdx
mov dword [r12], eax
je 0x1400514ff
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbp
call fcn.14000f160
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x38], r13
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140051534
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call fcn.14000f160
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x40], r13
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140051569
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.14000f160
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x48], r13
mov eax, dword [r12]
mov r8d, 0x61
lea r9, str.IE_Proxy_Auto_Detect:_u
lea ecx, [r8 - 0x59]
lea rdx, str..IECfgHlp.cpp
mov dword [rsp + 0x20], eax
call fcn.1400580a0
cmp qword [rbp + 0x20], 8
jb 0x14005159b
mov rax, qword [rbp + 8]
jmp 0x14005159f
lea rax, [rbp + 8]
mov r8d, 0x62
lea r9, str.IE_Proxy_Auto_Config:_s
lea rdx, str..IECfgHlp.cpp
lea ecx, [r8 - 0x5a]
mov qword [rsp + 0x20], rax
call fcn.1400580a0
cmp qword [rsi + 0x20], 8
jb 0x1400515ce
mov rax, qword [rsi + 8]
jmp 0x1400515d2
lea rax, [rsi + 8]
mov r8d, 0x63
lea r9, str.IE_Proxy_Server:_s
lea rdx, str..IECfgHlp.cpp
lea ecx, [r8 - 0x5b]
mov qword [rsp + 0x20], rax
call fcn.1400580a0
cmp qword [rbx + 0x20], 8
jb 0x140051601
mov rax, qword [rbx + 8]
jmp 0x140051605
lea rax, [rbx + 8]
mov r8d, 0x64
lea r9, str.IE_Proxy_By_Pass:_s
lea rdx, str..IECfgHlp.cpp
lea ecx, [r8 - 0x5c]
mov qword [rsp + 0x20], rax
call fcn.1400580a0
mov eax, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
ret