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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0685
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100bc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov esi, dword [edx]
test esi, esi
je 0x10041464
cmp dword [esi + 0x18], 0
je 0x10041464
mov eax, dword [edx + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], esi
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10041464
mov edi, esi
add eax, esi
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp - 0x98], edi
je 0x10041464
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
mov edi, dword [edi + 0x24]
add edx, esi
add edi, esi
add ecx, esi
je 0x10041464
test edx, edx
je 0x10041464
test edi, edi
je 0x10041464
mov esi, dword [ebp - 0x98]
xor eax, eax
cmp dword [esi + 0x18], eax
jbe 0x100413dd
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x8c], edx
mov edx, dword [ecx + eax*4]
add edx, esi
mov dword [ebp - 0x90], ecx
mov ecx, edx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x9c], edi
lea eax, [ecx + 1]
mov dword [ebp - 0x7c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040f15
sub ecx, dword [ebp - 0x7c]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10020af0
cmp dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x88], edi
mov edi, dword [ebp - 0x58]
je 0x10040ff0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x90]
mov edx, 0x811c9dc5
cmovae eax, edi
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], esi
mov esi, dword [ebp - 0x80]
cmp dword [ebp - 0x48], ecx
jbe 0x10040fe2
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x10040fc7
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
cmp edx, dword [ebp + 8]
je 0x1004100e
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x98]
inc eax
cmp eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x80]
jae 0x100413e0
mov edi, dword [ebp - 0x88]
jmp 0x10040ef0
mov ecx, dword [ebp - 0x88]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x98]
add edx, esi
cmp edx, ecx
jb 0x10041357
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x10041357
xor eax, eax
test edx, edx
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041050
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10020af0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, esi
test eax, eax
je 0x100410df
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x10041091
cmp ecx, edx
je 0x100410df
dec ecx
cmp byte [ecx], 0x2e
jne 0x10041087
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x7c], eax
mov edx, eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x100410ea
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x14]
mov dword [ecx], 0
cmp eax, 0x10
jb 0x10041390
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100410d8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push esi
jmp 0x10041388
xor edx, edx
mov dword [ebp - 0x7c], 0
xor ecx, ecx
cmp dword [ebp - 0x18], edx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, esi
mov dword [ebp - 0xa0], 0
push eax
lea ecx, [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm0
call fcn.10021350
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0xa4]
movq qword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x10041160
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x64
jmp 0x10041172
push 0x64
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10021440
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x10041194
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x6c
jmp 0x100411a6
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10021440
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x100411c8
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x6c
jmp 0x100411da
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10021440
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb4], xmm0
cmp eax, ecx
jb 0x1004148a
sub eax, ecx
mov edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add eax, ecx
lea ecx, [ebp - 0xb4]
push edx
push eax
call fcn.10021350
movups xmm0, xmmword [ebp - 0xb4]
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x70], xmm0
mov ecx, esp
movq xmm0, qword [ebp - 0xa4]
push eax
movq qword [ebp - 0x60], xmm0
call fcn.100271f0
lea ecx, [ebp - 0xa8]
call fcn.10040410
add esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, eax
call fcn.10041490
mov ecx, dword [ebp - 0x78]
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x100412eb
mov dword [ecx], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x100412b1
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100412a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1004135c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100412df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
jmp 0x1004135c
mov dword [ecx], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x10041321
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041317
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1004135c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004134b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
jmp 0x1004135c
mov ecx, dword [ebp - 0x78]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10041390
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041386
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x100413d5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100413cb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edi
call fcn.1009cd75
add esp, 8
mov eax, dword [ebp - 0x78]
jmp 0x1004146f
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0
cmp ecx, 0x10
jb 0x10041419
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004140f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041450
push ecx
push edx
call fcn.1009cd75
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10041460
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10041456
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10041456
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1009cd75
add esp, 8
mov eax, esi
jmp 0x1004146f
mov edx, dword [ebp - 0x78]
mov eax, edx
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c816
mov esp, ebp
pop ebp
ret
call fcn.10020c30
int3