Function at 0x43af90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4af040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov edx, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x40], esi
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
xor ecx, ecx
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], cx
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x10]
lea edi, [ecx + 2]
mov byte [esi + 0x3c], 1
mov dword [esi + 0x38], eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b040
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d6f0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004089b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0043f520
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0040c2a0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x43b0be
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b0b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b13c
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x43b0f8
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b0ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b13c
push ecx
push edx
call fcn.0043ff31
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x43b14c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b142
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b142
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.004089b0
mov edi, eax
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x38], 0x11
mov dword [ebp - 0x34], 0xec00e8
mov dword [ebp - 0x30], 0xd800ea
mov dword [ebp - 0x2c], 0xe700c2
mov dword [ebp - 0x28], 0xed00ea
mov dword [ebp - 0x24], 0xef00da
mov dword [ebp - 0x20], 0xf900ff
mov dword [ebp - 0x1c], 0xa000fd
mov dword [ebp - 0x18], 0xfe00e6
mov dword [ebp - 0x14], 0x9200f8
lea eax, [ecx + 0x81]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x43b1a2
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea ecx, [ebp - 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b1c2
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040cb30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [esi + 0x18]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x58]
push eax
movq qword [ebp - 0x48], xmm0
call fcn.0040c2a0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x43b243
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b239
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b26f
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x43b27f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b275
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b275
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10