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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], edi
lea edx, [edi + 0x20]
mov ecx, edx
mov dword [ebp - 0x74], edx
call fcn.00466e90
lea eax, [ebp - 0x40]
mov ecx, edx
push eax
call fcn.00466ed0
nop dword [eax]
cmp byte [ebp - 0x30], 0
mov esi, dword [ebp - 0x34]
je 0x50c46e
mov al, byte [ebp - 0x3c]
jmp 0x50c474
cmp esi, dword [ebp - 0x40]
sete al
test al, al
jne 0x50c645
cmp byte [esi + 0x20], 7
jne 0x50c638
push 0x7207d1
lea ebx, [esi + 0x18]
push str.value
mov ecx, ebx
call fcn.00466230
test eax, eax
je 0x50c638
mov eax, dword [esi + 0x10]
mov edx, 0x720774
test eax, eax
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
cmovne edx, eax
mov ecx, edx
movups xmmword [ebp - 0x20], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50c4d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00414570
lea eax, [ebp - 0x20]
push eax
call fcn.0040e570
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [edi + 0x54]
call fcn.004100f0
mov esi, dword [ebp - 0x24]
mov edi, dword [eax + 4]
test edi, edi
jne 0x50c50a
mov edi, dword [esi + 0x58]
mov eax, dword [ebp - 0xc]
cmp eax, 0xf
jbe 0x50c522
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
call fcn.00414390
add esp, 0xc
cmp edi, dword [esi + 0x58]
je 0x50c635
push 0x7207d1
push str.value
mov ecx, ebx
call fcn.00465fd0
mov ecx, eax
mov eax, dword [edi + 0x24]
mov edi, dword [edi + 0x20]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x50c635
mov esi, dword [edi]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xac], 0
cmp dword [esi + 0x38], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0xb0], eax
push ecx
jne 0x50c58c
mov eax, dword [esi + 8]
lea ecx, [ebp - 0xb4]
push eax
push ecx
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x50c626
call fcn.004657c0
test al, al
je 0x50c629
lea eax, [ebp - 0x70]
push eax
call fcn.00465130
lea ecx, [esi + 0x28]
cmp dword [eax + 0x14], 0xf
mov ebx, dword [eax + 0x10]
jbe 0x50c5b0
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x50c5bb
mov ecx, dword [ecx]
push ebx
push eax
call fcn.004108e0
add esp, 8
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.004143d0
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
push ecx
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x18], 5
and dword [ebp - 0x18], 0xfffffeff
push ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x20], bl
call eax
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00465f40
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test eax, eax
je 0x50c626
push eax
call fcn.004672a0
mov ecx, dword [ebp - 8]
add edi, 4
cmp edi, dword [ebp - 0x38]
jne 0x50c552
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
call fcn.00428d00
jmp 0x50c460
mov eax, dword [edi + 0x74]
xorps xmm0, xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
je 0x50ce02
nop word [eax + eax]
mov ebx, dword [eax + 8]
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x50cdf5
cmp dword [ebx + 0x2c], 2
jne 0x50cdf5
xor eax, eax
mov byte [ebp - 0xa0], 7
and dword [ebp - 0xa0], 0xfffffeff
push 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
call fcn.005ab82c
mov esi, eax
add esp, 4
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab82c
mov edx, dword [ebp - 0x74]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [edx + 8]
and ecx, 0xff
mov dword [ebp - 0xa8], esi
mov eax, ecx
sub eax, 6
je 0x50c711
sub eax, 1
jne 0x50c71f
mov esi, dword [edx]
test esi, esi
je 0x50c71f
mov esi, dword [esi]
xor al, al
mov esi, dword [esi]
jmp 0x50c723
xor esi, esi
mov al, 1
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x40], esi
sub ecx, 6
je 0x50c733
sub ecx, 1
jne 0x50c73f
mov edi, dword [edx]
test edi, edi
je 0x50c73f
mov edi, dword [edi]
xor cl, cl
jmp 0x50c743
xor edi, edi
mov cl, 1
mov byte [ebp - 1], cl
mov dword [ebp - 0x38], edi
nop dword [eax]
test al, al
je 0x50c758
mov al, cl
jmp 0x50c75d
cmp esi, edi
sete al
test al, al
jne 0x50ca00
mov eax, dword [esi + 0x10]
mov edx, 0x720774
test eax, eax
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
cmovne edx, eax
mov ecx, edx
movups xmmword [ebp - 0x20], xmm0
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50c790
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00414570
cmp dword [ebp - 0xc], 0xf
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, 0x811c9dc5
cmova ebx, eax
mov dword [ebp - 0x2c], eax
xor ecx, ecx
cmp dword [ebp - 0x10], ecx
jbe 0x50c7d2
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x10]
jb 0x50c7c0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ecx + 0x68]
call fcn.004100f0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x50c7fc
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x6c]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0xc]
cmp eax, 0xf
jbe 0x50c832
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x50c828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ce3c
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 0x6c]
je 0x50c9e7
lea eax, [esi + 0x18]
push 0x7207d1
push str.value
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.00466230
test eax, eax
je 0x50c9e7
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebx + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x50], eax
cmp ebx, eax
je 0x50c9e7
mov edi, dword [ebp - 0x2c]
lea esi, [ebx + 0x2c]
mov dword [ebp - 0x28], esi
nop word [eax + eax]
cmp dword [esi - 4], 0
je 0x50c966
push 0x7207d1
push str.value
mov ecx, edi
call fcn.00465fd0
mov ecx, eax
call fcn.00466cb0
test al, al
jne 0x50c8bc
movzx eax, byte [ecx + 8]
cmp eax, 5
je 0x50c8bc
cmp eax, 4
je 0x50c8bc
test eax, eax
jne 0x50c966
push 0x7207d1
push str.value
mov ecx, edi
call fcn.00465fd0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00465130
cmp dword [esi], 0xf
lea ecx, [esi - 0x14]
jbe 0x50c8e2
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x50c8ed
mov eax, dword [eax]
push dword [esi - 4]
push ecx
mov ecx, eax
call fcn.004108e0
mov byte [ebp - 0x18], 5
add esp, 8
and dword [ebp - 0x18], 0xfffffeff
cmp dword [esi - 0x18], 0xf
mov byte [ebp - 0x20], al
mov eax, dword [esi - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jbe 0x50c92d
add eax, dword [ebx]
mov ecx, dword [ebx]
jmp 0x50c931
add eax, ebx
mov ecx, ebx
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00465fd0
push eax
lea ecx, [ebp - 0x20]
call fcn.00464cb0
lea ecx, [ebp - 0x20]
call fcn.00465f40
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x50c95c
push eax
call fcn.004672a0
lea ecx, [ebp - 0x70]
call fcn.004143d0
jmp 0x50c9cf
push 0x7207d1
push str.value
mov ecx, edi
call fcn.00465fd0
cmp dword [esi - 0x18], 0xf
mov ecx, dword [esi - 0x1c]
mov dword [ebp - 0x2c], eax
jbe 0x50c989
add ecx, dword [ebx]
mov edx, dword [ebx]
jmp 0x50c98d
add ecx, ebx
mov edx, ebx
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00465fd0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00464b00
push esi
mov ecx, eax
call fcn.00464cb0
lea ecx, [ebp - 0x20]
call fcn.00465f40
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test eax, eax
je 0x50c9cc
push eax
call fcn.004672a0
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x44]
add ebx, 0x30
add esi, 0x30
mov dword [ebp - 0x28], esi
cmp ebx, dword [ebp - 0x50]
jne 0x50c880
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
call fcn.00428d00
mov al, byte [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ebp - 1]
mov ebx, dword [ebp - 8]
jmp 0x50c750
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x50ca6c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xa8]
push 0
lea ecx, [ebp - 0x70]
mov esi, dword [eax + 0x9c]
mov eax, dword [esi]
mov edi, dword [eax + 0x50]
call fcn.00404630
add esp, 4
cmp dword [eax + 0x14], 0xf
jbe 0x50ca30
mov eax, dword [eax]
push eax
push dword [ebx + 0x24]
mov ecx, esi
call edi
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x50ca6c
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x50ca62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ce3c
push ecx
push edx
call fcn.005ab85c
add esp, 8
test byte [ebx + 0x28], 0x10
je 0x50cdc9
cmp dword [ebp - 0x7c], 0
jne 0x50cd9d
mov byte [ebp - 0x18], 7
and dword [ebp - 0x18], 0xfffffeff
push 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.005ab82c
mov esi, eax
add esp, 4
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab82c
mov edx, dword [ebp - 0x74]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [edx + 8]
and ecx, 0xff
mov dword [ebp - 0x20], esi
mov eax, ecx
sub eax, 6
je 0x50caee
sub eax, 1
jne 0x50cafc
mov esi, dword [edx]
test esi, esi
je 0x50cafc
mov esi, dword [esi]
xor al, al
mov esi, dword [esi]
jmp 0x50cb00
xor esi, esi
mov al, 1
mov byte [ebp - 0x30], al
mov dword [ebp - 0x34], esi
sub ecx, 6
je 0x50cb10
sub ecx, 1
jne 0x50cb1c
mov edi, dword [edx]
test edi, edi
je 0x50cb1c
mov edi, dword [edi]
xor cl, cl
jmp 0x50cb20
xor edi, edi
mov cl, 1
mov byte [ebp - 1], cl
test al, al
je 0x50cb2b
mov al, cl
jmp 0x50cb30
cmp esi, edi
sete al
test al, al
jne 0x50cd01
push 0x7207d1
lea ecx, [esi + 0x18]
push str.value
call fcn.00466230
test eax, eax
je 0x50cceb
mov byte [ebp - 0xc8], 7
and dword [ebp - 0xc8], 0xfffffeff
push 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
call fcn.005ab82c
mov ebx, eax
add esp, 4
push 0x30
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.005ab82c
add esp, 4
mov dword [ebp - 0xd0], ebx
lea ecx, [esi + 0x18]
mov dword [eax], eax
push 0x7207d1
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push str.value
mov dword [ebx], eax
call fcn.00465fd0
push 0x7207d1
push str.value
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x50], eax
call fcn.00465fd0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.00464b00
push ebx
mov ecx, eax
call fcn.00464cb0
lea ecx, [ebp - 0x70]
call fcn.00465f40
mov eax, dword [ebp - 0x64]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
test eax, eax
je 0x50cc16
push eax
call fcn.004672a0
push 0x721030
push str.type
lea ecx, [esi + 0x18]
call fcn.00465fd0
push 0x721030
push str.type
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x50], eax
call fcn.00465fd0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.00464b00
push ebx
mov ecx, eax
call fcn.00464cb0
lea ecx, [ebp - 0x70]
call fcn.00465f40
mov eax, dword [ebp - 0x64]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
test eax, eax
je 0x50cc72
push eax
call fcn.004672a0
mov eax, dword [esi + 0x10]
mov edx, 0x720774
test eax, eax
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50cc84
sub ecx, esi
lea eax, [edx + ecx]
push eax
push edx
lea ecx, [ebp - 0x20]
call fcn.00465fd0
mov esi, eax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0xd0]
push eax
call fcn.00464b00
push esi
mov ecx, eax
call fcn.00464cb0
lea ecx, [ebp - 0x70]
call fcn.00465f40
mov eax, dword [ebp - 0x64]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
test eax, eax
je 0x50ccd0
push eax
call fcn.004672a0
lea ecx, [ebp - 0xd0]
call fcn.00465f40
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x50cceb
push eax
call fcn.004672a0
lea ecx, [ebp - 0x34]
call fcn.00428d00
mov al, byte [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov cl, byte [ebp - 1]
jmp 0x50cb23
push 0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x70]
call fcn.00404630
mov esi, eax
add esp, 4
lea eax, [ebp - 0x8c]
cmp eax, esi
je 0x50cd49
mov ecx, eax
call fcn.004143d0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x50cd7d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x50cd73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ce3c
push ecx
push edx
call fcn.005ab85c
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00465f40
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test eax, eax
je 0x50cd9a
push eax
call fcn.004672a0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x78], 0xf
push 0
mov ecx, dword [eax + 0x9c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
push eax
push 4
push dword [ebx + 0x30]
push dword [ebx + 0x24]
call edx
lea ecx, [ebp - 0xa8]
call fcn.00465f40
mov eax, dword [ebp - 0x9c]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
test eax, eax
je 0x50cdef
push eax
call fcn.004672a0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jne 0x50c680
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x50ce35
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x50ce2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ce3c
push ecx
push edx
call fcn.005ab85c
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005c695f
int3