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

Disassembly:
mov r11, rsp
sub rsp, 0x528
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x30]
mov qword [r11 + 0x10], rbp
xor edx, edx
mov qword [r11 + 0x18], rsi
mov r8d, 0x4d0
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x18], r15
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14011ffa0]
test rax, rax
jne 0x140040e25
mov rax, qword gs:[0x60]
xor r8d, r8d
mov ebx, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r15, qword [rax]
mov rsi, r15
nop dword [rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r8d, r8d
je 0x140040cdd
mov rcx, qword [rsi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140040cd4
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140040cc0
cmp edx, r8d
jne 0x140040e06
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r14, rcx
mov r11d, ecx
shr r14, 0x20
add r11, r10
cmp r11, r10
je 0x140040e06
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140040e06
mov ebp, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r10 + r9*4]
mov ecx, dword [rax + rbp]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140040d57
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140040d40
cmp edx, ebx
je 0x140040d65
test r9d, r9d
jne 0x140040d20
jmp 0x140040e06
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x140040e1e
lea rcx, [r14 + r11]
cmp rax, rcx
jae 0x140040e1e
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x28], r8d
mov edx, r8d
mov dword [rsp + 0x2c], edx
cmp cl, 0x2e
je 0x140040dcd
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140040db0
mov dword [rsp + 0x28], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140040dfa
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140040de0
mov dword [rsp + 0x2c], edx
mov rbx, qword [rsp + 0x28]
mov rsi, qword [r15]
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r15
je 0x140040e1c
cmp qword [rax + 0x30], 0
jne 0x140040c90
xor eax, eax
mov qword [0x14011ffa0], rax
call rax
mov r8, qword [0x14011ff88]
mov r12, rax
mov dword [rsp + 0x60], 0x100010
test r8, r8
jne 0x140040ff7
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov ebx, 0x85cca27e
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r15, qword [rcx]
mov rsi, r15
mov eax, dword [rsi + 0x58]
sub ax, 8
test r9d, r9d
je 0x140040ead
mov rcx, qword [rsi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140040ea4
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140040e90
cmp edx, r9d
jne 0x140040fd7
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r14, rcx
mov r11d, ecx
shr r14, 0x20
add r11, r10
cmp r11, r10
je 0x140040fd7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040fd7
mov ebp, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r10 + r8*4]
mov ecx, dword [rax + rbp]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140040f27
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140040f10
cmp edx, ebx
je 0x140040f35
test r8d, r8d
jne 0x140040ef0
jmp 0x140040fd7
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov r8d, dword [rcx + rdx*4]
add r8, r10
cmp r8, r11
jbe 0x140040ff0
lea rax, [r14 + r11]
cmp r8, rax
jae 0x140040ff0
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x28], r9d
mov ecx, r9d
mov dword [rsp + 0x2c], ecx
cmp al, 0x2e
je 0x140040f9d
nop
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140040f80
mov dword [rsp + 0x28], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x140040fcb
nop dword [rax]
movsx eax, al
lea r8, [r8 + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x140040fb0
mov dword [rsp + 0x2c], ecx
mov rbx, qword [rsp + 0x28]
mov rsi, qword [r15]
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r15
je 0x140040fed
cmp qword [rax + 0x30], 0
jne 0x140040e61
xor r8d, r8d
mov qword [0x14011ff88], r8
lea rdx, [rsp + 0x30]
mov rcx, r12
call r8
mov r15, qword [rsp + 0x510]
mov r14, qword [rsp + 0x518]
mov r12, qword [rsp + 0x520]
mov rdi, qword [rsp + 0x548]
mov rsi, qword [rsp + 0x540]
mov rbp, qword [rsp + 0x538]
mov rbx, qword [rsp + 0x530]
test eax, eax
je 0x1400410a6
cmp qword [rsp + 0x78], 0
jne 0x14004107d
cmp qword [rsp + 0x80], 0
jne 0x14004107d
cmp qword [rsp + 0x88], 0
jne 0x14004107d
cmp qword [rsp + 0x90], 0
jne 0x14004107d
cmp qword [rsp + 0x98], 0
jne 0x14004107d
cmp qword [rsp + 0xa0], 0
je 0x1400410a6
cmp byte [reloc.WS2_32.dll_gethostname], 0
movzx eax, word [0x140104900]
mov word [rsp + 0x20], ax
je 0x14004109c
xor byte [rsp + 0x21], 0x39
mov byte [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
lea rcx, [rsp + 0x20]
call fcn.14003e990
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1400f0970
add rsp, 0x528
ret