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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10231143
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102d2084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
cmp byte [eax + 7], 0
je 0x10186fed
cmp dword [eax + 0x134], 0
je 0x10186fed
mov edx, dword [0x10355e0c]
lea ecx, [ebp - 0x24]
test edx, edx
mov dword [ebp - 0x28], 0x17
mov eax, 0x10355e0c
mov dword [ebp - 0x24], 0
setg byte [ebp - 0xd]
test edx, edx
cmovns ecx, eax
cmp edx, 0x17
lea eax, [ebp - 0x28]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [0x10355e0c], eax
cmp eax, 0x17
jne 0x10186dd3
mov ebx, 0x10355d8c
jmp 0x10186de7
lea ecx, [eax + eax*2]
mov eax, dword [0x103a5e08]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea ebx, [eax + ecx*8]
jb 0x10186de7
mov ebx, dword [ebx]
cmp byte [ebp - 0xd], 0
lea edi, [esi + 0x14]
je 0x10186e34
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10186df5
sub esi, ecx
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10186e08
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push esi
push ebx
call fcn.10050520
add esp, 8
test al, al
jne 0x10186e88
mov eax, dword [0x107ef944]
mov ecx, ebx
call eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10186e27
sub ecx, edx
push ecx
push ebx
jmp 0x10186e81
mov ebx, dword [esi + 0x40]
add esi, 0x2c
mov eax, esi
cmp ebx, 0x10
jb 0x10186e43
mov eax, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10186e4d
mov ecx, dword [edi]
push dword [esi + 0x10]
mov edx, dword [edi + 0x10]
push eax
call fcn.10050520
add esp, 8
test al, al
jne 0x10186e88
mov eax, dword [0x107ef944]
mov ecx, esi
cmp ebx, 0x10
jb 0x10186e6e
mov ecx, dword [esi]
call eax
cmp edi, esi
je 0x10186e88
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x10186e7f
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.10045fd0
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103aac90]
test al, 1
jne 0x10186fde
or eax, 1
mov dword [0x103aac90], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10186f14
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10186f09
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x10186ee3
xor edx, edx
test eax, eax
je 0x10186f09
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10186ef0
cmp edi, 0x72e242a1
je 0x10186f20
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10186ed0
xor eax, eax
mov dword [0x103aac8c], eax
jmp 0x10186fe3
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x10186fc8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10186f71
cmp dword [ecx + 4], 0
jle 0x10186f71
push 0
mov edx, 0xbed71773
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10186f6e
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10186f80
xor edx, edx
test ecx, ecx
je 0x10186fac
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10186f90
cmp ebx, 0xbed71773
je 0x10186fd1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov ebx, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10186f40
mov eax, ebx
mov dword [0x103aac8c], eax
jmp 0x10186fe3
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103aac8c], eax
jmp 0x10186fe3
mov eax, dword [0x103aac8c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + ecx], 0xff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret