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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor edx, edx
mov dword [rbp - 0x50], edx
mov r15, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x13
jb 0x1400454a7
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400451c0
mov r13, qword [rsi]
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rdx
lea r12, [r15 + 0x13]
mov ebx, 0xf
lea rdi, [rbp - 0x28]
lea eax, [rbx + 7]
movabs r14, 0x8000000000000027
cmp r12, rbx
jbe 0x140045255
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x14004521c
mov rbx, rcx
mov rax, r14
mov rcx, rax
call fcn.1400528a8
test rax, rax
je 0x140045495
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140045251
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004523f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004549b
jmp 0x1400451fd
test rcx, rcx
je 0x14004524e
call fcn.1400528a8
mov rdi, rax
jmp 0x140045251
mov rdi, rdx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.140054b10
movups xmm0, xmmword [str._bin_serverjvm.dll]
movups xmmword [rdi + r15], xmm0
movzx eax, word [0x140087c90]
mov word [rdi + r15 + 0x10], ax
movzx eax, byte [0x140087c92]
mov byte [rdi + r15 + 0x12], al
mov byte [rdi + r12], 0
mov ebx, 5
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400453d2
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x13
jb 0x1400454ad
cmp qword [rsi + 0x18], 0x10
jb 0x1400452e2
mov rsi, qword [rsi]
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
lea r12, [r15 + 0x13]
mov ebx, 0xf
lea rdi, [rbp - 0x48]
cmp r12, rbx
jbe 0x140045370
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140045331
mov rbx, rcx
mov rcx, r14
call fcn.1400528a8
test rax, rax
je 0x1400454b3
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004536c
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004535a
lea r14, [rcx + 0x27]
cmp r14, rcx
jbe 0x1400454a1
jmp 0x140045312
test rcx, rcx
je 0x140045369
call fcn.1400528a8
mov rdi, rax
jmp 0x14004536c
mov rdi, r13
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.140054b10
movups xmm0, xmmword [str._binclientjvm.dll]
movups xmmword [rdi + r15], xmm0
movzx eax, word [0x140087ca8]
mov word [rdi + r15 + 0x10], ax
movzx eax, byte [0x140087caa]
mov byte [rdi + r15 + 0x12], al
mov byte [rdi + r12], r13b
mov ebx, 0xf
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400453d5
xor dil, dil
jmp 0x1400453d8
xor r13d, r13d
mov dil, 1
test bl, 2
je 0x14004542b
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004541b
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400454b3
call fcn.1400528a0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
test bl, 1
je 0x140045467
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140045467
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045495
call fcn.1400528a0
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140052880
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005cf9c
int3
call fcn.140044130
nop
call fcn.140044130
nop
call fcn.1400441d0
nop
call fcn.1400441d0
int3
call fcn.14005cf9c
int3