Function at 0x140049ad0
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 r13
sub rsp, 0x40
mov rax, qword [0x1400dd428]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rax, rax
jne 0x140049cc6
mov rax, qword gs:[0x60]
xor edi, edi
mov r11d, 0x3285501
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test edi, edi
je 0x140049b7c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140049b74
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140049b60
cmp edx, edi
jne 0x140049ca7
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x140049ca7
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140049ca7
mov r14d, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140049bf7
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 0x140049be0
cmp edx, r11d
je 0x140049c06
test r8d, r8d
jne 0x140049bc0
jmp 0x140049ca7
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
cmp rax, r10
jbe 0x140049cbf
lea rcx, [r15 + r10]
cmp rax, rcx
jae 0x140049cbf
movzx ecx, byte [rax]
mov edi, 0x811c9dc5
mov dword [rsp + 0x50], edi
mov edx, edi
mov dword [rsp + 0x54], edx
cmp cl, 0x2e
je 0x140049c6a
nop dword [rax]
movsx ecx, cl
inc rax
xor ecx, edi
imul edi, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140049c50
mov dword [rsp + 0x50], edi
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140049c9a
nop word [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140049c80
mov dword [rsp + 0x54], edx
mov r11, qword [rsp + 0x50]
mov rsi, qword [rbp]
shr r11, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140049cbd
cmp qword [rax + 0x30], 0
jne 0x140049b30
xor eax, eax
mov qword [0x1400dd428], rax
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call rax
mov r13, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [r13 + 0x30], 0x100010
mov rdi, qword [0x1400dd460]
test rdi, rdi
jne 0x140049eb5
mov rcx, qword gs:[0x60]
xor r8d, r8d
mov r11d, 0x85cca27e
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r15, qword [rcx]
mov rsi, r15
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r8d, r8d
je 0x140049d6d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140049d64
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140049d50
cmp edx, r8d
jne 0x140049e96
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x140049e96
mov edi, dword [r10 + 0x18]
test edi, edi
je 0x140049e96
mov ebp, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [r9 + rdi*4]
mov ecx, dword [rax + rbp]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140049de7
nop dword [rax + rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140049dd0
cmp edx, r11d
je 0x140049df5
test edi, edi
jne 0x140049db0
jmp 0x140049e96
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov edi, dword [rcx + rdx*4]
add rdi, r9
cmp rdi, r10
jbe 0x140049eae
lea rax, [r10 + r14]
cmp rdi, rax
jae 0x140049eae
movzx eax, byte [rdi]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x50], r8d
mov ecx, r8d
mov dword [rsp + 0x54], ecx
cmp al, 0x2e
je 0x140049e5c
nop dword [rax]
movsx eax, al
inc rdi
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x140049e40
mov dword [rsp + 0x50], r8d
movzx eax, byte [rdi + 1]
inc rdi
test al, al
je 0x140049e8a
nop word [rax + rax]
movsx eax, al
lea rdi, [rdi + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdi]
test al, al
jne 0x140049e70
mov dword [rsp + 0x54], ecx
mov r11, qword [rsp + 0x50]
mov rsi, qword [r15]
shr r11, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r15
je 0x140049eac
cmp qword [rax + 0x30], 0
jne 0x140049d20
xor edi, edi
mov qword [0x1400dd460], rdi
mov rcx, qword [0x1400dd470]
test rcx, rcx
jne 0x14004a08b
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov ebx, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov r14, r12
nop dword [rax]
movups xmm0, xmmword [r14 + 0x58]
movd eax, xmm0
sub ax, 8
test r8d, r8d
je 0x140049f3d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140049f34
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140049f20
cmp edx, r8d
jne 0x14004a067
mov r10, qword [r14 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x14004a067
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14004a067
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 0x140049fb7
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 0x140049fa0
cmp edx, ebx
je 0x140049fc5
test r9d, r9d
jne 0x140049f80
jmp 0x14004a067
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov ecx, dword [rcx + rdx*4]
add rcx, r10
cmp rcx, r11
jbe 0x14004a07f
lea rax, [r11 + r15]
cmp rcx, rax
jae 0x14004a07f
movzx eax, byte [rcx]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x50], r8d
mov edx, r8d
mov dword [rsp + 0x54], edx
cmp al, 0x2e
je 0x14004a02c
nop dword [rax]
movsx eax, al
inc rcx
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x14004a010
mov dword [rsp + 0x50], r8d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x14004a05a
nop word [rax + rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x14004a040
mov dword [rsp + 0x54], edx
mov rbx, qword [rsp + 0x50]
mov r14, qword [r12]
shr rbx, 0x20
mov rax, qword [r14]
mov r14, rax
cmp rax, r12
je 0x14004a07d
cmp qword [rax + 0x30], 0
jne 0x140049ef0
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x1400dd470], rcx
call rcx
mov rdx, r13
mov rcx, rax
call rdi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x14004a0db
cmp qword [r13 + 0x48], 0
jne 0x14004a0db
cmp qword [r13 + 0x50], 0
jne 0x14004a0db
cmp qword [r13 + 0x58], 0
jne 0x14004a0db
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret