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

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 0x48365b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
push esi
push edi
mov eax, dword [0x4a5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4acd94]
cmp eax, dword [ecx + 4]
jle 0x40289a
push 0x4acd94
call fcn.00481cdd
add esp, 4
cmp dword [0x4acd94], 0xffffffff
jne 0x40289a
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [0x4acd50], xmm0
push 0x28
movups xmmword [0x4acd60], xmm0
mov dword [0x4acd50], 0
mov dword [0x4acd54], 0
mov dword [0x4acd58], 0
call fcn.00481d41
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x4acd54], eax
mov dword [0x4acd5c], 0
mov dword [0x4acd60], 0
mov dword [0x4acd64], 0
mov byte [ebp - 4], 3
mov ecx, 0x4acd5c
push eax
push 0x10
mov dword [0x4acd68], 7
mov dword [0x4acd6c], 8
mov dword [0x4acd50], 0x3f800000
call fcn.00403900
push 0x488600
call fcn.00481fad
add esp, 4
mov byte [ebp - 4], 0
push 0x4acd94
call fcn.00481c8c
add esp, 4
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.tab_area
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.00403dd0
cmp dword [ebp - 0x1c], 0xf
lea esi, [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov edx, 0x811c9dc5
cmova esi, dword [ebp - 0x30]
xor ecx, ecx
test edi, edi
je 0x4028e8
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4028d7
push edx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00404620
mov ecx, dword [0x4acd54]
mov esi, ecx
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x402948
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x30]
mov edx, eax
cmp ecx, 0x1000
jb 0x402938
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x14], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x402ac6
mov eax, dword [ebp - 0x14]
push ecx
push eax
call fcn.00481fc2
mov ecx, dword [0x4acd54]
add esp, 8
cmp esi, ecx
jne 0x402ad6
movss xmm0, dword [ebx + 0xc]
lea ecx, [ebp - 0x68]
movss dword [ebp - 0x14], xmm0
xorps xmm0, xmm0
push 0xa
push str.tab_area
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00403dd0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x90]
call fcn.004041f0
mov ax, word [ebp - 0x6e]
movss xmm0, dword [ebp - 0x14]
mov word [ebp - 0x78], 0
mov word [ebp - 0x76], ax
movss dword [ebp - 0x74], xmm0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403a20
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x4029f8
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.00481fc2
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x402a30
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.00481fc2
add esp, 8
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.tab_area
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.00403dd0
cmp dword [ebp - 0x1c], 0xf
lea esi, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
cmova esi, edi
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
jbe 0x402a82
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x20]
jb 0x402a70
push edx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00404620
mov esi, dword [0x4acd54]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x402ad6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x402acc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402acc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00481fc2
add esp, 8
mov cl, byte [esi + 0x21]
test cl, cl
je 0x402b09
cmp byte [esi + 0x20], 0
je 0x402b09
movss xmm1, dword [ebx + 0xc]
lea edi, [esi + 0x24]
addss xmm1, dword [0x497314]
subss xmm1, dword [edi]
mulss xmm1, dword [0x4970a8]
addss xmm1, dword [edi]
movss dword [edi], xmm1
jmp 0x402b2d
movss xmm1, dword [ebx + 0xc]
lea edi, [esi + 0x24]
subss xmm1, dword [edi]
mulss xmm1, dword [0x4970a8]
addss xmm1, dword [edi]
movss dword [edi], xmm1
test cl, cl
je 0x402bc0
cmp byte [esi + 0x20], 0
je 0x402bc0
mov eax, dword [0x4ac6b0]
mov edx, 1
push str.Foreground
mov eax, dword [eax + 0x47c4]
mov ecx, dword [eax]
call fcn.00409e10
mov ecx, dword [0x4ac6b0]
add esp, 4
movss xmm4, dword [ecx + 0x37b4]
mov ecx, dword [ecx + 0x3e48]
push 0
push ecx
movss dword [esp], xmm4
movss xmm2, dword [ecx + 0x18]
movss xmm3, dword [ecx + 0x14]
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x20]
movss xmm1, dword [ecx + 0x1c]
lea ecx, [ebp - 0x50]
addss xmm1, xmm3
addss xmm3, dword [edi]
push 0x33000000
movss dword [ebp - 0x4c], xmm0
xorps xmm0, xmm0
push ecx
addss xmm2, xmm0
movss dword [ebp - 0x50], xmm1
lea ecx, [ebp - 0x18]
movss dword [ebp - 0x18], xmm3
push ecx
mov ecx, eax
movss dword [ebp - 0x14], xmm2
call fcn.00427370
mov edi, dword [0x4ac6b0]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0xe
movss xmm1, dword [edi + 0x37f0]
lea ecx, [edi + 0x4764]
movss xmm0, dword [edi + 0x37f4]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
call fcn.0041bd10
mov dword [edi + 0x37f0], 0
lea ecx, [ebp - 0x48]
mov dword [edi + 0x37f4], 0
movss xmm0, dword [esi + 0x24]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebx + 0x10]
movss dword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
push 0xa
push str.tab_area
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.00403dd0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x34]
mov eax, edx
mov ecx, dword [ebp - 0x38]
sub eax, ecx
push 6
push str..child
cmp eax, 6
jb 0x402c80
cmp edx, 0xf
lea edi, [ebp - 0x48]
lea eax, [ecx + 6]
cmova edi, dword [ebp - 0x48]
add edi, ecx
mov dword [ebp - 0x38], eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + 6], 0
lea eax, [ebp - 0x48]
jmp 0x402c91
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x14]
push 6
call fcn.00403f30
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x14], eax
jbe 0x402c9f
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4ac6b0]
xor edx, edx
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov edi, dword [ecx + 0x3e48]
mov ecx, dword [edi + 0xe4]
mov eax, dword [edi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x14]
call fcn.00406c10
mov ecx, dword [edi]
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 0x3e7c], eax
jne 0x402cf8
push ecx
push dword [ebp - 0x14]
mov edx, 0xb
mov ecx, eax
call fcn.0041b6c0
mov eax, dword [ebp - 0x4c]
add esp, 8
push 0
push ecx
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ca80
mov byte [ebp - 4], 0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x402d46
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00481fc2
add esp, 8
mov edi, dword [0x4ac6b0]
movss xmm0, dword [esi + 0x24]
movss xmm3, dword [ebx + 0x10]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
addss xmm0, dword [eax + 0x14]
addss xmm3, dword [eax + 0x18]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
movss xmm1, dword [edi + 0x3808]
movaps xmm6, xmm1
movss xmm2, dword [eax + 0x14]
maxss xmm2, dword [eax + 0x210]
minss xmm0, dword [eax + 0x218]
movss xmm4, dword [eax + 0x18]
maxss xmm4, dword [eax + 0x214]
minss xmm3, dword [eax + 0x21c]
subss xmm2, xmm1
movss xmm1, dword [edi + 0xdc0]
addss xmm6, xmm0
movss xmm0, dword [edi + 0x380c]
movaps xmm5, xmm0
subss xmm4, xmm0
addss xmm5, xmm3
comiss xmm1, xmm2
jb 0x402e0a
movss xmm0, dword [edi + 0xdc4]
comiss xmm0, xmm4
jb 0x402e0a
comiss xmm6, xmm1
jbe 0x402e0a
comiss xmm5, xmm0
jbe 0x402e0a
mov al, 1
jmp 0x402e0c
xor al, al
mov byte [esi + 0x20], al
mov eax, dword [edi + 0x3e48]
push 0x10
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
movss xmm1, dword [edi + 0x37b4]
mov edx, dword [eax + 0x264]
mov byte [eax + 0xac], 1
mov ecx, dword [edi + 0x3e48]
push ecx
movss dword [esp], xmm1
push 0xff241e1c
mov byte [ecx + 0xac], 1
mov eax, dword [edi + 0x3e48]
movss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ecx + 0x20]
mov ecx, edx
addss xmm0, dword [eax + 0x18]
mov byte [eax + 0xac], 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x3e48]
add eax, 0x14
push eax
movss dword [ebp - 0x1c], xmm0
call fcn.00427370
mov cl, byte [esi + 0x21]
mov eax, dword [0x4ac6b0]
push ecx
push ecx
push ecx
movss xmm3, dword [eax + 0x37b4]
call fcn.00401950
test al, al
je 0x402eb7
cmp byte [esi + 0x21], 0
sete al
mov byte [esi + 0x21], al
mov ecx, dword [ebx + 0x38]
test ecx, ecx
jne 0x402ec4
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.0040cc70
mov ecx, 1
call fcn.00407450
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x402ef0
mov edx, dword [ecx]
lea eax, [ebx + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 0x34