Function at 0x402eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
push ebx
push esi
push edi
push 4
mov ebx, ecx
push 0x3000
push 0x400000
push 0
mov dword [esp + 0x28], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword fs:[0x2c]
mov edi, eax
mov eax, dword [ecx]
mov ecx, dword [0x50a110]
mov dword [esp + 0x10], eax
cmp ecx, dword [eax + 4]
jle 0x402fec
push 0x50a110
call fcn.0040fcde
add esp, 4
cmp dword [0x50a110], 0xffffffff
jne 0x402fec
mov ecx, 0x811c9dc5
xor edx, edx
nop dword [eax]
movzx eax, byte [edx + str.NtQuerySystemInformation]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x412ac5]
xor ecx, eax
movzx eax, byte [edx + 0x412ac6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x412ac7]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x412ac8]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x412ac9]
imul ecx, ecx, 0x1000193
add edx, 6
xor ecx, eax
imul ecx, ecx, 0x1000193
cmp edx, 0x18
jb 0x402f30
lea eax, [esp + 0x60]
push eax
call fcn.0040c4f0
push 0x50a110
movups xmm0, xmmword [eax]
movups xmmword [0x50a2e8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [0x50a2f8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [0x50a308], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [0x50a318], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [0x50a328], xmm0
movq xmm0, qword [eax + 0x50]
movq qword [0x50a338], xmm0
call fcn.0040fc94
add esp, 4
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
lea eax, [esp + 0x1c]
cdq
push edx
push eax
push 0
push 0x400000
push ecx
push esi
push 0
push 5
push dword [0x50a338]
call fcn.0040d440
add esp, 0x24
or eax, edx
jne 0x403202
nop dword [eax]
mov edx, dword [edi + 0x40]
mov eax, edx
mov ecx, dword [edi + 0x44]
or eax, ecx
je 0x4030b9
push ecx
push 0x100
push ecx
push edx
lea edx, [esp + 0xf0]
or ecx, 0xffffffff
call fcn.0040ca50
push 0x80
lea eax, [esp + 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dx, word [esp + 0xec]
add esp, 0xc
xor ecx, ecx
test dx, dx
je 0x403086
nop word [eax + eax]
mov byte [esp + ecx + 0x60], dl
lea ecx, [ecx + 1]
movzx eax, word [esp + ecx*2 + 0xe0]
mov dl, al
test ax, ax
jne 0x403070
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x60]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4030b0
test dl, dl
je 0x4030ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4030b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x403090
xor eax, eax
jmp 0x4030b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4030c6
add edi, dword [edi]
cmp dword [edi], 0
jne 0x403020
jmp 0x4030d2
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
push 0x10000
push 0x400000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 8]
add esp, 0xc
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
cdq
mov dword [esp + 0x20], eax
mov eax, dword [0x50a280]
mov dword [esp + 0x24], edx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0x30
cmp eax, dword [ecx + 4]
jle 0x4031b2
push 0x50a280
call fcn.0040fcde
add esp, 4
cmp dword [0x50a280], 0xffffffff
jne 0x4031b2
mov ecx, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.NtOpenProcess]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, 0xd
jb 0x403143
lea eax, [esp + 0x60]
push eax
call fcn.0040c4f0
push 0x50a280
movups xmm0, xmmword [eax]
movups xmmword [0x50a348], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [0x50a358], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [0x50a368], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [0x50a378], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [0x50a388], xmm0
movq xmm0, qword [eax + 0x50]
movq qword [0x50a398], xmm0
call fcn.0040fc94
add esp, 4
lea eax, [esp + 0x20]
xorps xmm0, xmm0
cdq
push edx
mov edi, eax
movlpd qword [esp + 0x14], xmm0
push edi
lea eax, [esp + 0x38]
cdq
mov esi, edx
mov ebx, eax
push esi
push ebx
push 0
lea eax, [esp + 0x24]
cdq
push 0x1fffff
push edx
push eax
push dword [0x50a398]
call fcn.0040d440
mov esi, dword [esp + 0x3c]
add esp, 0x24
or eax, edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
jne 0x403202
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret