Function at 0x14003c590
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14014adf8]
xor ebp, ebp
mov rsi, rcx
test rbx, rbx
je 0x14003c35e
mov rdi, qword [rbx + 0x98]
jmp 0x14003c361
mov rdi, rbp
call fcn.140089d50
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003c375
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003c383
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003c392
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x14014adf8]
mov qword [rbx + 0x88], rbp
mov qword [rbx + 0x98], rbp
test r8, r8
je 0x14003c40f
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003c404
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14014adf8]
test rax, rax
je 0x14003c42d
mov rdi, qword [rax + 0x90]
jmp 0x14003c430
mov rdi, rbp
mov rcx, qword [rdi + 0x38]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003c44a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14014adf8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x14003c4bb
mov r9d, dword [rax + 0x3f90]
lea r8, [rax + 0x6070]
movsx rdx, word [r8 + 8]
lea rcx, [rdx*8 + 0xc]
add rcx, r8
cmp dword [rcx], r9d
je 0x14003c4b3
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 8], cx
movsx rax, cx
lea rcx, [rax*8 + 0xc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14014adf8]
mov qword [0x14014adf8], rbx
call fcn.140041710
mov qword [0x14014adf8], rbp
test rbx, rbx
je 0x14003c560
mov rcx, rbx
call fcn.1400582a0
mov r8, qword [0x14014adf8]
test r8, r8
je 0x14003c557
movsx r10, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je case.default.0x14003c57b
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x607c]
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], ebp
inc word [rdx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0xa8]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_DestroyWindow]
push rsi
sub rsp, 0x50
cmp dword [rcx + 0xb8], 0x12
mov rsi, rcx
je 0x14003c88d
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r14
nop word [rax + rax]
mov rax, qword [0x14014ad40]
lea rcx, [rsi + 0xb0]
mov rdx, qword [rsi + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 1
call rax
test eax, eax
je 0x14003c603
lea rcx, [rsi + 0xb0]
call qword [0x14014ad00]
lea rcx, [rsi + 0xb0]
call qword [0x14014ad48]
mov rax, qword [0x14014adf8]
test rax, rax
je 0x14003c618
mov rcx, qword [rax + 0x98]
jmp 0x14003c61a
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14003c626
call fcn.140089990
lea rcx, [rsp + 0x60]
call qword [0x14014ace0]
mov rbx, qword [0x14014adf8]
mov ecx, 1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x60]
vmovss dword [rbx + 0xe48], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x64]
vmovss dword [rbx + 0xe4c], xmm0
mov rax, qword [0x14014acf8]
call rax
test ax, ax
je 0x14003c68b
mov byte [rbx + 0xe50], 1
mov eax, dword [rbx + 0xe4c]
mov dword [rbx + 0x3818], eax
mov byte [rbx + 0x3868], 1
jmp 0x14003c692
mov byte [rbx + 0xe50], 0
call fcn.14008a8a0
call fcn.140043a80
mov rcx, rsi
call fcn.140038cb0
cmp byte [0x14014af30], 0
je 0x14003c6b5
mov rcx, rsi
call fcn.140011f80
cmp byte [0x14014addc], 0
jne 0x14003c6d3
cmp byte [0x14014adde], 0
je 0x14003c6e8
call fcn.14000fed0
mov byte [0x14014addc], 1
cmp byte [0x14014adde], 0
jne 0x14003c6e8
call fcn.140010120
mov byte [0x14014addc], 0
mov rax, qword [0x14014acf8]
mov ecx, 0x2d
call rax
test al, 1
je 0x14003c708
cmp byte [0x14014af30], 0
sete byte [0x14014af30]
mov rax, qword [0x14014acf8]
mov ecx, 0x75
call rax
test al, 1
je 0x14003c728
cmp byte [0x1400a535c], 0
sete byte [0x1400a535c]
mov rax, qword [0x14014acf8]
mov ecx, 0x73
call rax
test al, 1
je 0x14003c7f0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14003c7c7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14003c7c7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14003c7c2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14003c7a0
cmp r8d, 0xcded1a85
je 0x14003c7cc
test r9d, r9d
jne 0x14003c780
mov rax, qword [rax]
jmp 0x14003c750
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
nop word [rax + rax]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
call fcn.1400459d0
mov rcx, qword [rsi + 0x78]
lea r8, [rsi + 0x88]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rsi + 0x78]
lea r8, [rsp + 0x30]
mov rdx, qword [rsi + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14014adf8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
xor ecx, ecx
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140088c20
mov rcx, qword [rsi + 0x80]
xor r8d, r8d
movzx edx, byte [0x1400a5210]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp dword [rsi + 0xb8], 0x12
jne 0x14003c5c0
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rcx, rsi
add rsp, 0x50
pop rsi
jmp 0x14003c330
add eax, 0x595fe06
invalid
adc eax, 0x1109030a
add eax, 0x12c0217
add eax, 0xe03030e
invalid
or ecx, dword [rbx]
add edx, dword [rdx]
invalid