Function at 0x437490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x437567
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x437567
mov dword [esp + 8], eax
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
mov ecx, eax
xor ecx, 0xe8669847
lea edi, [ecx + eax*2]
mov ebx, edx
and ebx, edi
mov esi, ebx
and esi, 2
mov ecx, ebx
or ebx, 2
imul ebx, esi
xor esi, 2
and ecx, 0x4d
imul ecx, esi
add ebx, ecx
mov ecx, ebx
xor ecx, edi
not edi
and edi, ebx
add edi, edi
sub ecx, edi
add cl, dl
add cl, 0x79
mov byte [esp + eax], cl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x4374d0
mov eax, dword [esp]
mov edx, dword [0x448e64]
test edx, edx
je 0x4375da
xor ecx, ecx
mov edi, dword [0x448e68]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x2dedf0b8
je 0x4375df
inc ecx
cmp edx, ecx
jne 0x437550
jmp 0x4375ff
mov dword [esp], 0x79babbbc
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
and edx, 5
mov esi, eax
and esi, 2
mov edi, eax
or edi, 2
imul edi, esi
xor esi, 2
imul esi, edx
mov edx, eax
xor edx, 0x987d391f
add edx, edi
add edx, esi
mov esi, edx
and esi, ecx
or edx, ecx
lea ecx, [esi + esi]
not ecx
add ecx, esi
and ecx, edx
mov edx, ecx
neg edx
and edx, 0x9b
dec ecx
and ecx, 0x64
sub ecx, edx
inc cl
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x437580
mov eax, dword [esp]
jmp 0x437713
mov esi, dword [ebp + 0x10]
jmp 0x4375ff
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, eax
je 0x4375ff
push dword [ebp + 8]
push dword [esp + 0xc]
push 2
push ecx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov ecx, esi
sbb ecx, 0
jl 0x437702
cmp eax, 0xc000010a
jne 0x437702
mov ecx, 0xffffd8f0
mov eax, edi
mul ecx
sub edx, edi
imul ecx, esi, 0xffffd8f0
add ecx, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x10]
mov ecx, eax
xor ecx, 0xe8669847
lea esi, [ecx + eax*2]
mov edi, ebx
and edi, esi
mov edx, edi
and edx, 2
mov ecx, edi
or edi, 2
imul edi, edx
xor edx, 2
and ecx, 0x4d
imul ecx, edx
add edi, ecx
mov ecx, edi
xor ecx, esi
not esi
and esi, edi
add esi, esi
sub ecx, esi
add cl, bl
add cl, 0x79
mov byte [esp + eax + 0x10], cl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x437650
mov eax, dword [esp + 0x10]
mov esi, dword [0x448e64]
test esi, esi
je 0x437702
xor ecx, ecx
mov edi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x4e66b5a3
je 0x4376e0
inc ecx
cmp esi, ecx
jne 0x4376d0
jmp 0x437702
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, eax
je 0x437702
mov eax, esp
push eax
push 0
push dword [esp + 0x10]
push 3
push ecx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x18
test eax, eax
js 0x437713
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.004373b0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc