Function at 0x1400053f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
lea rcx, [rbp + 0xf0]
call fcn.140010510
nop
mov r8d, 0x15
lea rdx, [0x1401361d8]
lea rcx, [rbp + 0xf0]
call fcn.140007160
mov r8d, 0x28
lea rdx, str.ppagiehdogdjlomggmoejfamedbjggdggnjbilhe
lea rcx, [rbp + 0xf0]
call fcn.140007160
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140005878
shr eax, 4
and al, 1
je 0x140005878
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rcx, qword [rbp + 0xf0]
call fcn.140018b00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007fb0
nop
lea rdx, [rbp + 0x130]
mov rcx, qword [rsp + 0x48]
call fcn.140019020
nop
mov edi, 0xffffffff
cmp qword [rbp + 0x140], 0
jne 0x1400054f7
xor sil, sil
jmp 0x140005830
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rbp + 0xf0]
call fcn.140007160
lea rdx, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rdx, qword [rbp + 0x130]
mov r8, qword [rbp + 0x140]
lea rcx, [rbp + 0xf0]
call fcn.140007160
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rbp + 0xf0]
call fcn.140007160
mov r8d, 0x12
lea rdx, str.hostsblacklist.txt
lea rcx, [rbp + 0xf0]
call fcn.140007160
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rcx, qword [rbp + 0xf0]
call fcn.140017e20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140008010
nop
mov rbx, qword [rsp + 0x38]
add rbx, 8
mov rcx, rbx
call fcn.140002e40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000562d
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0x150]
call fcn.140019940
nop
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm1
call fcn.140002cd0
mov rcx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.cant_find_black_list_file:__s
xor edx, edx
lea r8d, [rdx + 1]
call fcn.140016a90
nop
lea rcx, [rbp + 0x150]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
xor sil, sil
jmp 0x1400057f5
cmp qword [rbx + 0x18], 8
jb 0x140005637
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140005c40
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x140147cd0]
movdqu xmmword [rbp + 0x120], xmm1
mov byte [rbp + 0x110], 0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
mov dl, 0xa
call fcn.1400073f0
movzx r8d, al
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call fcn.140008070
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000570b
nop
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], rax
je 0x1400056c0
lea rdx, [rbp + 0x110]
mov rcx, rax
call fcn.140003050
add qword [rsi + 0x10], 0x20
jmp 0x1400056d3
lea r8, [rbp + 0x110]
mov rdx, rax
lea rcx, [rsi + 8]
call fcn.140007610
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
mov dl, 0xa
call fcn.1400073f0
movzx r8d, al
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call fcn.140008070
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x1400056a0
mov rax, qword [rsi + 0x10]
lea rdx, [rbp + 0xf0]
cmp qword [rsi + 8], rax
jne 0x14000577e
cmp qword [rbp + 0x108], 8
cmovae rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0x170]
call fcn.140019940
nop
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x70], xmm1
call fcn.140002cd0
mov rcx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, str.error_reading_blacklist_host_from_file:__s
xor edx, edx
lea r8d, [rdx + 3]
call fcn.140016a90
nop
lea rcx, [rbp + 0x170]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
xor sil, sil
jmp 0x1400057de
cmp qword [rbp + 0x108], 8
cmovae rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0x190]
call fcn.140019940
nop
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm1
call fcn.140002cd0
mov rcx, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.load_black_list_hots_from_file:__s
xor edx, edx
lea r8d, [rdx + 1]
call fcn.140016a90
nop
lea rcx, [rbp + 0x190]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
mov sil, 1
lea rcx, [rbp + 0x110]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
lea rcx, [rbp - 0x20]
call fcn.140005920
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140005830
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005830
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140005830
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x130]
call fcn.140003cc0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140005876
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005876
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140005876
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400058df
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0x1b0]
call fcn.140019940
nop
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm1
call fcn.140002cd0
mov rcx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.cant_find_configuration_folder:__s
xor edx, edx
lea r8d, [rdx + 1]
call fcn.140016a90
nop
lea rcx, [rbp + 0x1b0]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
xor sil, sil
lea rcx, [rbp + 0xf0]
call fcn.140003cc0
nop
movzx eax, sil
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret