Function at 0x140022ed0
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 rsi
sub rsp, 0x60
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400232ce
mov rcx, qword gs:[0x60]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140022f97
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140022f97
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140022f92
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140022f70
cmp r8d, 0xbe4d5ef8
je 0x140022f9c
test r9d, r9d
jne 0x140022f50
mov rcx, qword [rcx]
jmp 0x140022f20
mov ecx, dword [rbx + 0x24]
mov r8d, 0x30
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x20]
add rax, r10
mov rcx, rsi
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140023057
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140023057
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023052
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140023030
cmp r8d, 0x820621f3
je 0x14002305c
test r9d, r9d
jne 0x140023010
mov rax, qword [rax]
jmp 0x140022fe0
mov ecx, dword [rbx + 0x24]
mov r8d, 0x40
add rcx, r10
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x44]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, qword [rsp + 0x38]
add rax, r10
mov rcx, qword [rsp + 0x20]
call rax
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14003b0e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140023127
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140023127
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023122
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140023100
cmp r8d, 0x820621f3
je 0x14002312c
test r9d, r9d
jne 0x1400230e0
mov rax, qword [rax]
jmp 0x1400230b0
mov ecx, dword [rbx + 0x24]
mov r8d, dword [rsp + 0x44]
add rcx, r10
movzx edx, word [rcx + r9*2]
xor r9d, r9d
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, qword [rsp + 0x38]
add rax, r10
mov rcx, qword [rsp + 0x20]
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400231e7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400231e7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rdi]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400231e2
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400231c0
cmp r8d, 0x490286b
je 0x1400231ec
test r9d, r9d
jne 0x1400231a0
mov rax, qword [rax]
jmp 0x140023170
mov rax, qword gs:[0x60]
mov ecx, dword [rbx + 0x24]
add rcx, r10
mov rax, qword [rax + 0x18]
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
mov rax, qword [rax + 0x10]
add rcx, r10
mov esi, dword [rcx + rdx*4]
add rsi, r10
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140023297
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140023297
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023292
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140023270
cmp r8d, 0x6dd8a845
je 0x14002329c
test r9d, r9d
jne 0x140023250
mov rax, qword [rax]
jmp 0x140023220
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov r8, qword [rsp + 0x38]
mov rcx, rax
mov rdx, qword [rsp + 0x20]
call rsi
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140038af0
add rsp, 0x60
pop rsi
ret