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

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 0x471fd0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x48b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x34], edi
mov eax, dword [0x48d37c]
test eax, eax
jne 0x4388ad
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x24], eax
mov edx, eax
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x43888b
mov edi, dword [eax + 0x18]
test edi, edi
je 0x43888b
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, ecx
mov edx, dword [eax - 4]
sub eax, 4
add edx, ecx
mov dword [ebp - 0x28], eax
dec edi
mov esi, 0xd48d968a
mov al, byte [edx]
inc edx
test al, al
je 0x438881
nop dword [eax]
movsx ecx, al
lea edx, [edx + 1]
sub al, 0x41
mov byte [ebp - 0x19], al
mov eax, ecx
or eax, 0x20
cmp byte [ebp - 0x19], 0x19
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [edx - 1]
test al, al
jne 0x438850
cmp esi, 0xfe7e3e32
je 0x4388e3
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
test edi, edi
jne 0x438835
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp eax, edx
je 0x4388a3
cmp dword [ecx + 0x18], 0
jne 0x438810
xor eax, eax
mov edi, dword [ebp - 0x34]
mov dword [0x48d37c], eax
push 0x40
push 0x1000
push 0x1000
push 0
call eax
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x438901
mov edx, str.failed_to_allocate_mem_for_ntuserspendinout_spoofed
mov ecx, 0x48c778
call fcn.004416d0
push eax
call fcn.00441970
add esp, 4
jmp 0x438b6f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add eax, dword [edx + 0x18]
add ecx, dword [edx + 0x18]
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, dword [edx + 0x18]
jmp 0x4388a5
movups xmm0, xmmword [0x48d384]
push 0x1c
push edi
movups xmmword [esi], xmm0
push 1
movq xmm0, qword [0x48d394]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x48d39c]
mov dword [esi + 0x18], eax
mov ax, word [0x48d3a0]
mov word [esi + 0x1c], ax
mov dword [ebp - 4], 0
call esi
push 0x1000
push 0
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044ed90
mov eax, dword [0x48d378]
add esp, 0xc
test eax, eax
jne 0x438a13
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov edx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x4389f3
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4389f3
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, ecx
nop dword [eax]
mov edx, dword [eax - 4]
sub eax, 4
add edx, ecx
mov dword [ebp - 0x34], eax
dec edi
mov esi, 0xadb9eb9d
mov al, byte [edx]
inc edx
test al, al
je 0x4389e9
movsx ecx, al
lea edx, [edx + 1]
sub al, 0x41
mov byte [ebp - 0x19], al
mov eax, ecx
or eax, 0x20
cmp byte [ebp - 0x19], 0x19
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [edx - 1]
test al, al
jne 0x4389b8
cmp esi, 0xc56b097a
je 0x438a38
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
test edi, edi
jne 0x4389a0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
cmp ecx, edx
je 0x438a09
cmp dword [ecx + 0x18], 0
jne 0x438977
xor eax, eax
mov esi, dword [ebp - 0x24]
mov dword [0x48d378], eax
push 0x8000
push 0
push esi
call eax
cmp dword [ebp - 0x38], 0
setg al
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
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x438a0b
xor al, al
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