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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6705
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100e5040]
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 0x100500d6
cmp dword [esi + 0x18], 0
je 0x100500d6
mov eax, dword [edx + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x94], esi
mov eax, dword [eax + 0x78]
test eax, eax
je 0x100500d6
mov ecx, esi
add eax, esi
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x9c], ecx
je 0x100500d6
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
add eax, esi
mov edx, dword [ecx + 0x20]
add edi, esi
mov dword [ebp - 0x7c], edi
add edx, esi
je 0x100500d6
test eax, eax
je 0x100500d6
test edi, edi
je 0x100500d6
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x10050059
nop dword [eax]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], edx
mov edx, dword [edx + edi*4]
add edx, esi
mov dword [ebp - 0x90], ecx
mov ecx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fac5
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10031290
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1004fb88
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0x84]
mov edx, 0x811c9dc5
cmova ecx, dword [ebp - 0x58]
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x98], esi
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0xb8], ecx
xor ecx, ecx
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x94]
test eax, eax
je 0x1004fb7d
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x1004fb65
mov esi, dword [ebp - 0x94]
cmp edx, dword [ebp + 8]
je 0x1004fba0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
inc edi
cmp edi, dword [eax + 0x18]
jae 0x10050059
mov eax, dword [ebp - 0x80]
jmp 0x1004faa0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
movzx eax, word [eax + edi*2]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x9c]
add edx, esi
cmp edx, ecx
jb 0x1004ffd1
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x1004ffd1
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 0x1004fbe0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10031290
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edx, esi
test eax, eax
je 0x1004fc98
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x1004fc2a
nop dword [eax + eax]
cmp ecx, edx
je 0x1004fc98
dec ecx
cmp byte [ecx], 0x2e
jne 0x1004fc20
sub ecx, edx
lea edi, [ecx + 1]
mov edx, edi
mov ecx, edi
cmp edi, 0xffffffff
jne 0x1004fc9e
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x14]
mov dword [edi], 0
cmp eax, 0xf
jbe 0x1004fc74
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004fc6a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push esi
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10050052
inc ecx
jmp 0x10050027
xor edi, edi
xor edx, edx
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], 0xf
push ecx
cmova eax, esi
mov dword [ebp - 0xa0], 0
push eax
lea ecx, [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm0
call fcn.10031d50
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004eff0
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x1004fd23
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fd19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x1004fd45
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x64
jmp 0x1004fd57
push 0x64
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10031eb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x1004fd79
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x6c
jmp 0x1004fd8b
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10031eb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
jae 0x1004fdad
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x6c
jmp 0x1004fdbf
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10031eb0
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb4], xmm0
cmp eax, edi
jb 0x100500fc
sub eax, edi
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, edi
lea ecx, [ebp - 0xb4]
push eax
call fcn.10031d50
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x70]
call fcn.1004eff0
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x1004fe58
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fe4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.10030df0
lea ecx, [ebp - 0xa8]
call fcn.1004f130
add esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, eax
call fcn.10050110
mov edi, dword [ebp - 0x78]
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
test eax, eax
jne 0x1004ff31
mov dword [edi], eax
cmp ecx, 0xf
jbe 0x1004fec8
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004febe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004fefc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fef2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004fc74
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ff2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
jmp 0x1004fc6c
mov dword [edi], eax
cmp ecx, 0xf
jbe 0x1004ff64
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ff5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004ff98
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ff8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004fc74
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ff2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
jmp 0x1004fc6c
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov dword [edi], edx
cmp ecx, 0xf
jbe 0x1005000a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050000
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
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, 0xf
jbe 0x10050052
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x58]
mov eax, edx
cmp ecx, 0x1000
jb 0x10050048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov eax, edi
jmp 0x100500e1
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov dword [edi], 0
cmp ecx, 0xf
jbe 0x10050092
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050088
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500d0
push ecx
push edx
call fcn.100c2b66
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, 0xf
jbe 0x10050052
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10050048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050048
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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.100c26e6
mov esp, ebp
pop ebp
ret
call fcn.100314c0
int3