Function at 0x438fe0
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 + 8], ecx
cmp dword [ecx + 8], 0
je 0x4390a0
mov eax, dword [esp + 8]
mov ebx, dword [eax]
test ebx, ebx
je 0x4390a0
mov dword [esp], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x742a2677]
lea edx, [eax + 0x742a2700]
and edx, edi
mov ecx, edx
and ecx, 0xffffff8d
mov esi, edx
or esi, 0xfffffffd
inc esi
imul esi, ecx
mov ecx, edx
and ecx, 2
or edx, 2
imul edx, ecx
add esi, edi
sub esi, edx
add esi, eax
mov ecx, esi
and ecx, 0x52
xor esi, 0x52
lea ecx, [esi + ecx*2]
lea edx, [eax + edi]
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x742a2677], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x439020
mov eax, dword [esp]
mov edx, dword [0x44ae04]
test edx, edx
je 0x439108
xor esi, esi
mov edi, dword [0x44ae08]
nop
nop
cmp dword [edi + esi*8], 0x2dedf0b8
je 0x4390eb
inc esi
cmp edx, esi
jne 0x439090
jmp 0x439108
mov dword [esp], 0x8146474c
mov byte [esp + 4], 0
mov eax, 0xf1
mov ecx, 0xe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xf1]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x4b
mov byte [esp + eax - 0xf1], dl
inc eax
dec ecx
cmp eax, 0xf6
jne 0x4390c0
mov eax, dword [esp]
jmp 0x439240
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x439108
push dword [ebp + 8]
push ebx
push 2
push edx
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x14
cmp dword [ebp + 0xc], 1
mov ecx, dword [ebp + 0x10]
sbb ecx, 0
jl 0x43922f
cmp eax, 0xc000010a
jne 0x43922f
mov ecx, dword [ebp + 0xc]
mov edx, ecx
and edx, 0x270f
mov esi, ecx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mov edi, dword [ebp + 0x10]
mov ebx, edi
not ebx
imul ebx, edx
mul edx
mov dword [esp + 0x10], eax
add edx, ebx
mov ebx, edx
or ecx, 0xffffd8f0
imul edi, ecx
mov eax, ecx
mul esi
add edx, edi
sub edx, esi
add eax, dword [esp + 0x10]
adc edx, ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov dword [esp + 0xc], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0x742a2683]
lea edi, [eax + 0x742a2700]
and edi, esi
mov ebx, edi
and ebx, 0xffffff8d
mov ecx, edi
or ecx, 0xfffffffd
inc ecx
imul ecx, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
add ecx, esi
sub ecx, edi
add ecx, eax
mov edi, ecx
and edi, 0x52
xor ecx, 0x52
lea ecx, [ecx + edi*2]
add esi, eax
and esi, 1
xor ecx, 1
lea ecx, [ecx + esi*2]
mov byte [esp + eax + 0x742a2683], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x439190
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44ae04]
test ecx, ecx
je 0x43922f
xor esi, esi
mov edi, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x4e66b5a3
je 0x439210
inc esi
cmp ecx, esi
jne 0x439200
jmp 0x43922f
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, eax
je 0x43922f
mov eax, esp
push eax
push 0
push edx
push 3
push ecx
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x18
test eax, eax
js 0x439240
mov ecx, dword [esp + 8]
mov esi, eax
call fcn.00438f00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc