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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7540
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x51a3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov ebx, 7
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00449800
mov edi, dword [ebp - 0x28]
test al, al
je 0x418d29
mov dword [ebp - 0x8c], edi
nop word [eax + eax]
inc dword [ebp - 0x90]
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x5c]
mov ecx, str.name
cmp esi, 8
cmovae eax, dword [ebp - 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418b4e
test dx, dx
je 0x418b4a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418b4e
add eax, 4
add ecx, 4
test dx, dx
jne 0x418b28
xor eax, eax
jmp 0x418b53
sbb eax, eax
or eax, 1
test eax, eax
jne 0x418c7e
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x98], eax
cmp esi, ebx
ja 0x418ba7
cmp ebx, 8
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x8c]
add esi, esi
push esi
push eax
push edi
call fcn.004a88a0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x8c], edi
jmp 0x418d04
cmp esi, 0x7ffffffe
ja 0x419000
mov ecx, ebx
mov ebx, esi
or ebx, 7
mov dword [ebp - 0x9c], ecx
cmp ebx, 0x7ffffffe
jbe 0x418bcf
mov ebx, 0x7ffffffe
jmp 0x418bed
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x418be5
mov ebx, 0x7ffffffe
jmp 0x418bed
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408cb0
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
push eax
mov dword [ebp - 0x14], ebx
call fcn.004a88a0
mov ecx, dword [ebp - 0x8c]
xor eax, eax
add esp, 0xc
mov word [esi + ecx], ax
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x418c6e
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418c53
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41900a
push ecx
push edi
call fcn.004a42a7
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x28], edi
jmp 0x418d01
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x28], edi
jmp 0x418d04
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x58]
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push str.__s__s_
push eax
call fcn.00413140
add esp, 0x10
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x418cb7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040b1d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x418d04
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419005
push edx
push ecx
call fcn.004a42a7
add esp, 8
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x90]
push eax
call fcn.00449800
test al, al
jne 0x418b10
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
xor edx, edx
cmp eax, 8
cmovae ecx, dword [ebp - 0x40]
test esi, esi
je 0x418d60
mov dword [ebp - 0x94], 0x1d
movzx eax, word [ecx + edx*2]
cmp eax, 0x20
je 0x418d58
cmp word [ebp - 0x94], ax
jb 0x418d5d
inc edx
cmp edx, esi
jb 0x418d46
mov eax, dword [ebp - 0x2c]
cmp esi, edx
lea ecx, [ebp - 0x40]
cmovb edx, esi
cmp eax, 8
cmovae ecx, dword [ebp - 0x40]
sub esi, edx
mov dword [ebp - 0x30], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.004a88a0
add esp, 0xc
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0x94], ecx
cmp ebx, 8
jb 0x418db0
mov edx, edi
test edx, edx
jne 0x418db0
lea esi, [edi + 1]
jmp 0x418ee0
test ecx, ecx
jne 0x418dbc
lea esi, [ecx + 1]
jmp 0x418ee0
mov ecx, edx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418de0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00408d10
mov eax, dword [ebp - 0x78]
lea edi, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x88]
cmovae edi, edx
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x418e31
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x418e20
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], esi
cmp eax, 8
jb 0x418e74
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418e64
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419005
push ecx
push edx
call fcn.004a42a7
mov esi, dword [ebp - 0x90]
add esp, 8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00419180
mov eax, dword [ebp - 0x74]
cmp byte [eax + 0xd], 0
jne 0x418ea1
cmp esi, dword [eax + 0x10]
jb 0x418ea1
cmp eax, dword [0x524078]
je 0x418ea1
mov esi, 2
jmp 0x418eda
lea eax, [ebp - 0x90]
push eax
call fcn.00419010
mov esi, dword [ebp - 0x94]
mov edx, esi
lea edi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x418ec0
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00408d10
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x418f1a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418f10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41900a
push edx
push ecx
call fcn.004a42a7
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x418f68
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418f5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41900a
push edx
push ecx
call fcn.004a42a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], 7
cmp eax, 8
jb 0x418fb2
mov edx, dword [ebp - 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418fa8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41900a
push ecx
push edx
call fcn.004a42a7
add esp, 8
cmp ebx, 8
jb 0x418fe2
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x418fd8
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41900a
push ebx
push edi
call fcn.004a42a7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44be
mov esp, ebp
pop ebp
ret
call fcn.00408b50
call fcn.004aba7f
call fcn.004aba7f
int3