Function at 0x10040a40
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, dword [eax]
mov dword [esp + 0x1c], edi
call fcn.10024980
lea edx, [esi + esi*2]
cmp dword [eax + edx*8 + 0x14], 0xf
lea eax, [eax + edx*8]
mov ecx, eax
jbe 0x10040a6f
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
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 0x10040ae9
mov edi, dword [esp + 0x44]
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10040ad0
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 0x10040b4c
cmp ecx, dword [edi + 0x1c]
je 0x10040b4c
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 0x10040b39
mov dword [esp + 0x44], ecx
nop
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [esp + 0x58], eax
je 0x10040b35
add esi, 4
cmp esi, edi
jne 0x10040b20
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
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax], vtable.sol::u_detail::binding_enum_sol::meta_function__struct_sol::constructor_list_class_c_usercmd____cdecl___void____class_c_usercmd_.0
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x10040b6d
mov ecx, dword [esi]
mov dword [esi], eax
jmp 0x10040b97
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 8]
je 0x10040b86
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10040b93
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.10036b00
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10040ba2
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 0x10040bb5
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 + 0x19], al
call fcn.10024980
mov edx, dword [eax + 0x40]
add eax, 0x30
cmp dword [eax + 0x14], 0xf
jbe 0x10040be8
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 + 0x358]
add eax, 0x348
cmp dword [eax + 0x14], 0xf
jbe 0x10040c20
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 + 0x370]
add eax, 0x360
cmp dword [eax + 0x14], 0xf
jbe 0x10040c58
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 0x10040c90
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 0x10040cc2
cmp byte [edi + 0xc1], 0
jne 0x10040cd0
cmp byte [esp + 0x19], 0
jne 0x10040cd7
cmp byte [esp + 0x16], 0
jne 0x10040cd7
mov byte [esp + 0x1a], 0
jmp 0x10040cdc
mov byte [esp + 0x1a], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [esp + 0x54], edx
mov dh, byte [esp + 0x19]
test dh, dh
jne 0x10040cff
mov ecx, 0x10048c70
cmp byte [esp + 0x17], dh
je 0x10040d04
mov ecx, fcn.10048b60
cmp byte [esp + 0x16], 0
mov dword [esp + 0x4c], ecx
jne 0x10040d1b
cmp byte [esp + 0x18], 0
mov eax, 0x10048c70
je 0x10040d20
mov eax, fcn.10048b60
mov dl, byte [esp + 0x1b]
lea esi, [esp + 0x20]
mov byte [esp + 0x60], dl
test dh, dh
mov dl, byte [esp + 0x16]
mov byte [esp + 0x62], dl
mov dl, byte [esp + 0x17]
mov byte [esp + 0x63], dl
mov dl, byte [esp + 0x18]
mov byte [esp + 0x64], dl
mov dl, byte [esp + 0x1a]
mov dword [esp + 0x68], esi
lea esi, [esp + 0x4c]
mov byte [esp + 0x61], dh
mov byte [esp + 0x65], dl
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov word [esp + 0x66], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], 0x10048cc0
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 0x10040deb
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
cmp byte [esp + 0x16], 0
je 0x10040dfe
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], edx
cmp byte [esp + 0x17], 0
je 0x10040e11
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb8], edx
cmp byte [esp + 0x18], 0
je 0x10040e24
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 0x10040e9b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040e91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10040e91
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