Function at 0x140002140
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 [0x140045020]
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 0x140002487
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400021a0
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 0x140002235
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400021fc
mov rbx, rcx
mov rax, r14
mov rcx, rax
call fcn.14000ee58
test rax, rax
je 0x140002475
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002231
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000221f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000247b
jmp 0x1400021dd
test rcx, rcx
je 0x14000222e
call fcn.14000ee58
mov rdi, rax
jmp 0x140002231
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.140011020
movups xmm0, xmmword [str._bin_serverjvm.dll]
movups xmmword [rdi + r15], xmm0
movzx eax, word [0x14003e1f8]
mov word [rdi + r15 + 0x10], ax
movzx eax, byte [0x14003e1fa]
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 0x1400023b2
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x13
jb 0x14000248d
cmp qword [rsi + 0x18], 0x10
jb 0x1400022c2
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 0x140002350
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002311
mov rbx, rcx
mov rcx, r14
call fcn.14000ee58
test rax, rax
je 0x140002493
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000234c
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000233a
lea r14, [rcx + 0x27]
cmp r14, rcx
jbe 0x140002481
jmp 0x1400022f2
test rcx, rcx
je 0x140002349
call fcn.14000ee58
mov rdi, rax
jmp 0x14000234c
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.140011020
movups xmm0, xmmword [str._binclientjvm.dll]
movups xmmword [rdi + r15], xmm0
movzx eax, word [0x14003e210]
mov word [rdi + r15 + 0x10], ax
movzx eax, byte [0x14003e212]
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 0x1400023b5
xor dil, dil
jmp 0x1400023b8
xor r13d, r13d
mov dil, 1
test bl, 2
je 0x14000240b
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400023fb
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002493
call fcn.14000ee50
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
test bl, 1
je 0x140002447
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140002447
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002475
call fcn.14000ee50
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000ee30
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.140017d80
int3
call fcn.140001180
nop
call fcn.140001180
nop
call fcn.140001220
nop
call fcn.140001220
int3
call fcn.140017d80
int3