Function at 0x14004c5e8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor r15d, r15d
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
or r9d, 0xffffffff
xor edx, edx
mov r13d, 0xfde9
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
test eax, eax
jle 0x14004c6aa
mov rdx, rbx
lea rcx, [rbp + 0x370]
call fcn.140041018
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rax, qword [rbp + 0x370]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
or r13d, 0xffffffff
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x14004c725
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x14004c725
mov edi, dword [r10 + 0x20]
add r8d, r13d
lea rcx, [rdi + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14004c720
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14004c701
cmp r11d, 0x185776b5
je 0x14004c72a
test r8d, r8d
jne 0x14004c6e4
mov rax, qword [rax]
jmp 0x14004c6bf
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [r10 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r8d, dword [rcx + rax*4]
add r8, r9
mov edx, dword [rsi]
mov ecx, 8
call r8
mov rsi, rax
xor edx, edx
mov r8d, 0x434
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x438
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x14004c7e2
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x14004c7e2
mov ebx, dword [r10 + 0x20]
add r8d, r13d
lea rcx, [rbx + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14004c7dd
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14004c7be
cmp r11d, 0x28976ce8
je 0x14004c7e7
test r8d, r8d
jne 0x14004c7a1
mov rax, qword [rax]
jmp 0x14004c77c
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [r10 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r8d, dword [rcx + rax*4]
add r8, r9
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rdx, qword [rbp + 0x370]
lea rcx, [rsp + 0x60]
call r8
mov rcx, qword gs:[0x60]
test eax, eax
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x10]
je 0x14004c979
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x14004c8a1
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14004c8a1
mov edi, dword [r10 + 0x20]
add r9d, r13d
lea rcx, [rdi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, 0x811c9dc5
mov cl, byte [r8]
inc r8
test cl, cl
je 0x14004c89c
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x14004c87c
cmp r11d, 0x7b29f74a
je 0x14004c8a6
test r9d, r9d
jne 0x14004c85e
mov rax, qword [rax]
jmp 0x14004c839
mov ecx, dword [r10 + 0x1c]
add rcx, rdx
mov eax, dword [r10 + 0x24]
add rax, rdx
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, rdx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call r8
test eax, eax
jne 0x14004c76b
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14004c94a
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x14004c94a
mov edi, dword [r9 + 0x20]
add r10d, r13d
lea rcx, [rdi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14004c945
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14004c926
cmp r11d, 0xfaba0065
je 0x14004c94f
test r10d, r10d
jne 0x14004c909
mov rax, qword [rax]
jmp 0x14004c8e4
mov edx, dword [r9 + 0x1c]
add rdx, r8
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx ecx, word [rcx + r10*2]
mov edx, dword [rdx + rcx*4]
add rdx, r8
mov rcx, rsi
call rdx
mov qword [r14], r15
mov qword [r14 + 8], r15
jmp 0x14004ca12
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14004c9df
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x14004c9df
mov edi, dword [r9 + 0x20]
add r10d, r13d
lea rcx, [rdi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, 0x811c9dc5
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14004c9da
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14004c9bb
cmp r11d, 0xfaba0065
je 0x14004c9e4
test r10d, r10d
jne 0x14004c99e
mov rax, qword [rax]
jmp 0x14004c979
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [r9 + 0x24]
add rax, r8
movzx eax, word [rax + r10*2]
mov edx, dword [rcx + rax*4]
add rdx, r8
mov rcx, rsi
call rdx
mov rax, qword [rsp + 0x48]
mov qword [r14], rax
mov eax, dword [rsp + 0x30]
mov qword [r14 + 8], rax
lea rcx, [rbp + 0x370]
call fcn.14004108c
mov rax, r14
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140061e40
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret