Function at 0x438ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0
mov dword [esp], 0xcbcccdce
mov eax, 0x2ef40a89
nop
mov ebp, eax
not ebp
movzx edi, byte [esp + eax - 0x2ef40a89]
mov edx, edi
and edx, 0xffffff84
mov ecx, edi
not ecx
or ecx, 0xa1358e7b
add ecx, edi
inc ecx
and ebp, 4
mov ebx, eax
xor ebx, 0x84
mov esi, eax
or esi, 0xb
and esi, ebx
or esi, ebp
xor edx, ecx
not ecx
xor edx, 0x84
or ecx, edi
not ecx
and ecx, 0x84
or ecx, edx
xor ecx, esi
add cl, 0xb8
mov byte [esp + eax - 0x2ef40a89], cl
inc eax
cmp eax, 0x2ef40a8d
jne 0x438ec0
mov edi, dword [esp]
mov eax, dword [0x4486a8]
test eax, eax
je 0x438f66
xor ecx, ecx
mov edx, dword [0x4486ac]
cmp dword [edx + ecx*8], 0x67f3d776
je 0x438f40
inc ecx
cmp eax, ecx
jne 0x438f30
jmp 0x438f66
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x438f66
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 0x10
push eax
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x1c
mov edi, eax
mov dword [esp], 0x83424144
mov eax, 0x40
mov ecx, 0xbf
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x40]
mov ebx, ecx
xor ebx, eax
and ebx, edx
xor ebx, eax
mov byte [esp + eax - 0x40], bl
inc eax
dec ecx
cmp eax, 0x44
jne 0x438f80
cmp edi, dword [esp]
jne 0x439113
push dword [esp + 8]
call fcn.00438e30
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp], 0xcbcccdce
mov ebp, 0x2ef40a89
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, ebp
not ebx
movzx esi, byte [esp + ebp - 0x2ef40a89]
mov edi, esi
and edi, 0xffffff84
mov ecx, esi
not ecx
or ecx, 0xa1358e7b
add ecx, esi
inc ecx
and ebx, 4
mov eax, ebp
xor eax, 0x84
mov edx, ebp
or edx, 0xb
and edx, eax
or edx, ebx
xor edi, ecx
not ecx
xor edi, 0x84
or ecx, esi
not ecx
and ecx, 0x84
or ecx, edi
xor ecx, edx
add cl, 0xb8
mov byte [esp + ebp - 0x2ef40a89], cl
inc ebp
cmp ebp, 0x2ef40a8d
jne 0x438fd0
mov edi, dword [esp]
mov ecx, dword [0x4486a8]
test ecx, ecx
je 0x439088
xor edx, edx
mov esi, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x67f3d776
je 0x439060
inc edx
cmp ecx, edx
jne 0x439050
jmp 0x439088
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, edi
je 0x439088
push 0
push dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push eax
push 5
push 0x10
push ecx
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x1c
mov edi, eax
test edi, edi
js 0x439107
mov dword [esp], 0xe8d7d430
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
add al, 0x3d
xor al, byte [esp + ecx]
add al, 0x18
mov byte [esp + ecx], al
inc ecx
cmp ecx, 4
jne 0x4390a0
mov edi, dword [esp]
mov ecx, dword [esp + 4]
mov esi, dword [ecx]
mov eax, dword [esp + 0x28]
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [edx + esi]
movzx ebp, word [eax + esi]
test bx, bx
je 0x4390e5
add esi, 2
cmp bx, bp
je 0x4390d0
cmp bx, bp
je 0x4390f2
mov esi, dword [ecx]
test esi, esi
jne 0x4390c0
jmp 0x439107
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 0xc], eax
xor edi, edi
push dword [esp + 4]
call fcn.00438e70
add esp, 4
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4