Function at 0x38e700
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 0x38e790
mov eax, dword [esp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x38e790
mov ebx, dword [ebp + 0xc]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38e730
mov eax, dword [esp]
mov esi, dword [0x3a0374]
test esi, esi
je 0x38e7fc
xor edx, edx
mov edi, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x2dedf0b8
je 0x38e7df
inc edx
cmp esi, edx
jne 0x38e780
jmp 0x38e7fc
mov dword [esp], 0x21e6e79c
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0xa78346d9
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x587cb927]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xc3
mov byte [esp + eax + 0x587cb927], cl
inc eax
cmp eax, 0xa78346e0
jne 0x38e7b0
mov eax, dword [esp]
jmp 0x38e9ba
mov edx, dword [edi + edx*8 + 4]
cmp edx, eax
je 0x38e7fc
push dword [ebp + 8]
push ecx
push 2
push dword [0x3a037c]
push edx
call fcn.00390f10
add esp, 0x14
cmp ebx, 1
mov ecx, dword [ebp + 0x10]
sbb ecx, 0
jl 0x38e8ff
cmp eax, 0xc000010a
jne 0x38e8ff
mov ecx, ebx
and ecx, 0x270f
mov edi, ebx
and edi, 0xffffd8f0
mov eax, edi
xor eax, 0xffffd8f0
mov esi, ebx
mov ebx, dword [ebp + 0x10]
not ebx
imul ebx, ecx
mul ecx
mov dword [esp + 0x10], eax
mov ecx, edx
add ecx, ebx
or esi, 0xffffd8f0
mov ebx, dword [ebp + 0x10]
imul ebx, esi
mov eax, esi
mul edi
add edx, ebx
sub edx, edi
add eax, dword [esp + 0x10]
adc edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov dword [esp + 0xc], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x6d44c038]
xor ebx, eax
mov ecx, ebx
not ecx
add ebx, 0x2257c0db
or ecx, ebx
and ecx, 1
or ebx, 1
add ebx, ecx
mov byte [esp + eax + 0x6d44c038], bl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38e880
mov eax, dword [esp + 0xc]
mov esi, dword [0x3a0374]
test esi, esi
je 0x38e8ff
xor edi, edi
mov ecx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x4e66b5a3
je 0x38e8e0
inc edi
cmp esi, edi
jne 0x38e8d0
jmp 0x38e8ff
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x38e8ff
mov eax, esp
push eax
push 0
push edx
push 3
push dword [0x3a037c]
push ecx
call fcn.00390f10
add esp, 0x18
test eax, eax
js 0x38e9ba
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
test edx, edx
je 0x38e9ba
mov dword [esp], 0xf4f5f6f7
mov esi, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi + 0x6d44c02c]
xor ebx, esi
mov ecx, ebx
not ecx
add ebx, 0x2257c0db
or ecx, ebx
and ecx, 1
or ebx, 1
add ebx, ecx
mov byte [esp + esi + 0x6d44c02c], bl
inc esi
cmp esi, 0x92bb3fd8
jne 0x38e930
mov esi, dword [0x3a0374]
test esi, esi
je 0x38e9b0
mov ecx, dword [esp]
xor ebx, ebx
mov edi, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0xb62b8d10
je 0x38e990
inc ebx
cmp esi, ebx
jne 0x38e980
jmp 0x38e9b0
mov esi, ecx
mov ecx, dword [edi + ebx*8 + 4]
cmp ecx, esi
je 0x38e9b0
push edx
push 1
push dword [0x3a037c]
push ecx
mov esi, eax
call fcn.00390f10
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 8]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc