Function at 0x438010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x28292e2f
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x4380a8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0xf2ffc5a]
and edx, ecx
add eax, ecx
add eax, 0xf2ffc5a
add edx, edx
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x8a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp], eax
mov eax, dword [esp]
cmp eax, 0xd
jb 0x438060
mov ebx, dword [esp + 0x10]
mov eax, dword [0x448ad4]
test eax, eax
je 0x4380f6
xor ecx, ecx
mov edx, dword [0x448ad8]
nop
nop
nop
cmp dword [edx + ecx*8], 0xe4aa2089
je 0x4380d0
inc ecx
cmp eax, ecx
jne 0x4380c0
jmp 0x4380f6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4380f6
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0x448adc]
push eax
call fcn.00439d10
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x438258
push dword [esp + 8]
call fcn.00437e80
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x28292e2f
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x43819a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + 0xf2ffc5a]
and esi, edx
add ecx, edx
add ecx, 0xf2ffc5a
add esi, esi
sub ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x8a
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
mov ecx, dword [esp]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x438150
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x448ad4]
test ecx, ecx
je 0x4381e4
xor edx, edx
mov esi, dword [0x448ad8]
cmp dword [esi + edx*8], 0xe4aa2089
je 0x4381c0
inc edx
cmp ecx, edx
jne 0x4381b0
jmp 0x4381e4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x4381e4
push 0
push eax
push dword [esp + 0xc]
push 5
push 4
push dword [0x448adc]
push ecx
call fcn.00439d10
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x43824c
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov esi, dword [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0x438225
add ebx, 2
cmp si, di
je 0x438210
cmp si, di
je 0x438237
mov esi, dword [ecx]
test esi, esi
jne 0x438200
mov ebx, 0xc0000225
jmp 0x43824c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x20]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 4]
call fcn.00437f10
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4