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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, edx
mov dword [esp + 0x1c], edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042050
sub ecx, esi
mov dword [esp + 0x30], 0
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push edx
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
call fcn.10003790
cmp dword [esp + 0x34], 0xf
lea eax, [edi + 0x18]
mov esi, dword [edi + 4]
mov edx, 0x811c9dc5
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], eax
test eax, eax
je 0x100420ce
mov edi, dword [esp + 0x44]
mov esi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100420b5
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [edi + 0x18]
call fcn.10030b70
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10042130
cmp ecx, dword [edi + 0x1c]
je 0x10042130
mov eax, dword [ecx + 0x18]
mov edi, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov esi, dword [esi]
cmp esi, edi
je 0x1004211d
mov dword [esp + 0x44], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [esp + 0x58], eax
je 0x10042119
add esi, 4
cmp esi, edi
jne 0x10042104
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
call fcn.10030c10
mov edi, dword [esp + 0x1c]
push 8
call fcn.10176cb7
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax], vtable.._AU__binding___BY0M_DPQc_usercmd__MV1__u_detail_sol__.0
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x10042159
mov ecx, dword [esi]
mov dword [esi], eax
jmp 0x10042183
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 8]
je 0x10042172
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x1004217f
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.10036b00
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1004218e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
call fcn.10024980
mov edx, dword [eax + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x100421a1
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.10011f10
add esp, 8
mov byte [esp + 0x17], al
call fcn.10024980
mov edx, dword [eax + 0x40]
add eax, 0x30
cmp dword [eax + 0x14], 0xf
jbe 0x100421d4
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.10011f10
add esp, 8
mov byte [esp + 0x1a], al
call fcn.10024980
mov edx, dword [eax + 0x358]
add eax, 0x348
cmp dword [eax + 0x14], 0xf
jbe 0x1004220c
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.10011f10
add esp, 8
mov byte [esp + 0x16], al
call fcn.10024980
mov edx, dword [eax + 0x370]
add eax, 0x360
cmp dword [eax + 0x14], 0xf
jbe 0x10042244
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.10011f10
add esp, 8
mov byte [esp + 0x18], al
call fcn.10024980
mov edx, dword [eax + 0x1d8]
add eax, 0x1c8
cmp dword [eax + 0x14], 0xf
jbe 0x1004227c
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.10011f10
add esp, 8
mov byte [esp + 0x1b], al
cmp byte [edi + 0xc0], 0
je 0x100422b3
cmp byte [edi + 0xc1], 0
mov byte [esp + 0x19], 0
jne 0x100422b8
mov byte [esp + 0x19], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [esp + 0x17], 0
mov edx, eax
mov dword [esp + 0x54], edx
jne 0x100422db
cmp byte [esp + 0x16], 0
mov ecx, 0x10048d50
je 0x100422e0
mov ecx, 0x10048d50
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x4c], ecx
test dh, dh
jne 0x100422f7
mov eax, 0x10048d60
cmp byte [esp + 0x18], dh
je 0x100422fc
mov eax, 0x10048d60
cmp byte [esp + 0x17], 0
mov dl, byte [esp + 0x1b]
mov byte [esp + 0x60], dl
mov dl, byte [esp + 0x17]
mov byte [esp + 0x61], dl
mov dl, byte [esp + 0x16]
mov byte [esp + 0x63], dl
mov dl, byte [esp + 0x18]
mov byte [esp + 0x64], dl
mov dl, byte [esp + 0x19]
mov byte [esp + 0x62], dh
mov byte [esp + 0x65], dl
lea edx, [esp + 0x20]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov word [esp + 0x66], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x10048db0
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x10030cd0
mov dword [esp + 0x84], 0x10030ce0
mov dword [esp + 0x88], 0x10030cf0
mov dword [esp + 0x8c], 0x10030d00
mov dword [esp + 0x90], 0x100261e0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
je 0x100423ca
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
cmp byte [esp + 0x1a], 0
je 0x100423dd
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], edx
cmp byte [esp + 0x16], 0
je 0x100423f0
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb8], edx
cmp byte [esp + 0x18], 0
je 0x10042403
mov dword [edi + 0xb4], eax
mov dword [edi + 0xbc], edx
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10030d10
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
push dword [esp + 0x30]
cmova eax, dword [esp + 0x24]
movq xmm0, qword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.10025ba0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1004247a
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042470
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10042470
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10177006
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc