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

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov r11, qword [0x1400396c8]
test r11, r11
jne 0x140004928
cmp dword [0x140037018], 2
mov r8d, r11d
movups xmm0, xmmword [str.p_MyWUMP_3_a_1G]
movzx eax, byte [0x140031bf8]
mov qword [rsp + 0xb0], rbx
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 7], al
jl 0x140004728
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x140031c70]
mov eax, 4
movdqa xmm4, xmmword [0x140031cc0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x140031c90]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140031ca0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140031ca0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140004610
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x11
jge 0x140004771
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140004740
movzx eax, word [0x1400319c0]
movsd xmm0, qword [str.BKH_b]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x38
xor byte [rbp - 0x27], 0x39
xor byte [rbp - 0x26], 0x3a
xor byte [rbp - 0x25], 0x3b
xor byte [rbp - 0x24], 0x3c
xor byte [rbp - 0x23], 0x3d
xor byte [rbp - 0x22], 0x3e
mov word [rbp - 0x21], ax
movzx eax, byte [0x1400319c2]
xor byte [rbp - 0x21], 0x3f
xor al, 0x41
xor byte [rbp - 0x20], 0x40
mov byte [rbp - 0x1f], al
mov rax, qword gs:[0x30]
mov byte [rbp - 0x29], 0x75
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r10, qword [rbx]
cmp r10, rbx
je 0x140004830
nop word [rax + rax]
mov r8, qword [r10 + 0x50]
lea r9, [rbp - 0x29]
test r8, r8
je 0x140004828
nop dword [rax]
movsx eax, byte [r9]
lea r9, [r9 + 1]
movzx edx, word [r8]
lea r8, [r8 + 2]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000480d
add ax, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
ja 0x14000481a
add dx, 0x20
test ax, ax
je 0x1400048da
cmp ax, dx
je 0x1400047f0
mov r10, qword [r10]
cmp r10, rbx
jne 0x1400047e0
mov r8, r11
movsxd rax, dword [r8 + 0x3c]
mov r9d, r11d
mov r10d, dword [rax + r8 + 0x88]
add r10, r8
mov ebx, dword [r10 + 0x18]
test ebx, ebx
je 0x140004919
mov qword [rsp + 0xb8], rsi
mov esi, dword [r10 + 0x24]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x98], r14
mov r14d, dword [r10 + 0x20]
mov qword [rsp + 0x90], r15
movzx r15d, byte [rbp - 9]
mov qword [rsp + 0xc8], r12
nop word [rax + rax]
mov ecx, r9d
lea rax, [rsi + rcx*2]
movzx edi, word [rax + r8]
lea rax, [r14 + rcx*4]
mov edx, dword [rax + r8]
add rdx, r8
movzx ecx, byte [rdx]
cmp cl, r15b
jne 0x1400048d0
lea r12, [rbp - 9]
sub rdx, r12
lea rax, [rbp - 9]
nop word [rax + rax]
test cl, cl
je 0x1400048e3
movzx ecx, byte [rdx + rax + 1]
inc rax
cmp cl, byte [rax]
je 0x1400048c0
inc r9d
cmp r9d, ebx
jb 0x140004890
jmp 0x1400048f1
mov r8, qword [r10 + 0x20]
jmp 0x140004833
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov r11d, dword [rcx + rdi*4]
add r11, r8
mov r12, qword [rsp + 0xc8]
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov qword [0x1400396c8], r11
mov ecx, 1
add rsp, 0xa0
pop rbp
jmp r11