Function at 0x1400012f0
Capabilities:
Access peb ldr_data
Hash data using djb2
Resolve function by djb2 hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov r15, qword [rdx + 0x18]
add r15, 0x20
xor r13d, r13d
mov r14, qword [r15]
mov rsi, qword [r14 + 0x40]
test rsi, rsi
je 0x140001389
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x140001334
inc ebx
lea ebp, [rbx + rbx]
mov ecx, ebp
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
je 0x14000138c
mov qword [rsp + 0x38], r13
mov r9d, ebx
mov qword [rsp + 0x30], r13
mov r8, rsi
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14000138c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, r13
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
mov ecx, 0x1505
lea rdx, [rax + 1]
cmove rdx, rdi
movzx eax, byte [rdx]
test al, al
je 0x1400013d0
imul ecx, ecx, 0x21
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1400013b1
cmp ecx, 0x6ddb9555
je 0x140001569
mov r14, qword [r14]
cmp r14, r15
jne 0x140001324
mov rbx, r13
movsxd rax, dword [rbx + 0x3c]
mov r8d, r13d
mov ecx, dword [rax + rbx + 0x88]
add rcx, rbx
mov r12d, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x20]
add r12, rbx
mov ebp, dword [rcx + 0x24]
add rsi, rbx
mov r15d, dword [rcx + 0x18]
add rbp, rbx
test r15d, r15d
je 0x140001472
mov r9, rsi
mov r10, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r10]
mov ecx, 0x1505
mov edx, dword [r9]
add rdx, rbx
mov r13d, dword [r12 + rax*4]
add r13, rbx
movzx eax, byte [rdx]
test al, al
je 0x14000145f
nop dword [rax]
imul ecx, ecx, 0x21
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x140001440
cmp ecx, 0xaeb52e19
je 0x140001572
inc r8d
add r10, 2
add r9, 4
cmp r8d, r15d
jb 0x140001420
xor r13d, r13d
mov rdi, r12
mov r9, rsi
mov r10, rbp
mov r8d, r13d
mov r11d, r15d
test r15d, r15d
je 0x1400014df
nop word [rax + rax]
movzx eax, word [r10]
mov ecx, 0x1505
mov edx, dword [r9]
add rdx, rbx
mov r14d, dword [rdi + rax*4]
add r14, rbx
movzx eax, byte [rdx]
test al, al
je 0x1400014cf
nop dword [rax]
imul ecx, ecx, 0x21
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1400014b0
cmp ecx, 0xaa63bfb6
je 0x140001586
inc r8d
add r10, 2
add r9, 4
cmp r8d, r11d
jb 0x140001490
xor r8d, r8d
xor r14d, r14d
test r15d, r15d
je 0x14000153b
nop word [rax + rax]
movzx eax, word [rbp]
mov ecx, 0x1505
mov edx, dword [rsi]
add rdx, rbx
mov r9d, dword [r12 + rax*4]
add r9, rbx
movzx eax, byte [rdx]
test al, al
je 0x14000152b
nop dword [rax]
imul ecx, ecx, 0x21
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x140001510
cmp ecx, 0x382c0f97
je 0x14000153e
inc r8d
add rbp, 2
add rsi, 4
cmp r8d, r15d
jb 0x1400014f0
xor r9d, r9d
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
mov qword [rax], r13
mov qword [rax + 8], r14
mov qword [rax + 0x10], r9
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [r14 + 0x20]
jmp 0x1400013df
mov rdi, r12
mov r9, rsi
mov r10, rbp
xor r8d, r8d
mov r11d, r15d
jmp 0x140001490
xor r8d, r8d
jmp 0x1400014f0