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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400e80c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
mov qword [rbp - 0x10], rcx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rdx, qword gs:[0x60]
mov rcx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140004d66
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140004d66
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0xda82860e
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140004d61
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140004d40
cmp r8d, 0x46753178
je 0x140004d6b
test r9d, r9d
jne 0x140004d20
mov rcx, qword [rcx]
jmp 0x140004cf0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 7
mov rcx, rsi
call r8
mov eax, dword [0x14009ec84]
mov dword [rbp - 0x1c], eax
movzx eax, word [0x14009ec88]
mov word [rbp - 0x18], ax
mov byte [rbp - 0x1c], 0xa
xor byte [rbp - 0x1b], 0x33
xor byte [rbp - 0x1a], 0x34
xor byte [rbp - 0x19], 0x35
xor al, 0x36
mov byte [rbp - 0x18], al
xor byte [rbp - 0x17], 0x37
lea rcx, [rbp - 0x1c]
call fcn.1400049b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140004e66
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140004e66
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0xd77376cb
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140004e61
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140004e40
cmp r8d, 0xafd486f7
je 0x140004e6b
test r9d, r9d
jne 0x140004e20
mov rcx, qword [rcx]
jmp 0x140004df0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 1
mov rcx, rsi
call r8
movzx eax, word [0x14009eaa4]
mov word [rbp - 0x20], ax
cmp byte [0x14009eaa5], 0
je 0x140004eaa
mov byte [rbp - 0x20], Ordinal_45
xor byte [rbp - 0x1f], 0x33
lea rcx, [rbp - 0x20]
call fcn.1400049b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140004f56
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140004f56
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
mov r8d, 0xe0780224
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140004f51
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax]
lea rax, [rax + 1]
test dl, dl
jne 0x140004f30
cmp r8d, 0x50c8b2fa
je 0x140004f5b
test r9d, r9d
jne 0x140004f10
mov rcx, qword [rcx]
jmp 0x140004ee0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 7
mov rcx, rsi
call r8
movzx eax, word [0x14009f640]
mov word [rbp - 0x14], ax
movzx eax, byte [0x14009f642]
mov byte [rbp - 0x14], 0x5d
xor byte [rbp - 0x13], 0x33
xor al, 0x34
mov byte [rbp - 0x12], al
lea rcx, [rbp - 0x14]
call fcn.1400049b0
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140004fb3
mov rcx, qword [r14]
call fcn.1400049b0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140004fef
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140004fea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005022
mov rcx, r8
call fcn.140082e8c
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140082bf0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3