Function at 0x392b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x278
mov ebx, dword [0x3a83ac]
mov ebp, dword [0x3a83a8]
mov eax, ebp
or eax, ebx
jne 0x392bc1
mov dword [esp + 0x48], 0x931e9166
mov dword [esp + 0x4c], 0xaf5aad50
mov dword [esp + 0x50], 0xab9ca95c
mov dword [esp + 0x54], 0xa752a558
mov dword [esp + 0x58], 0xa3a2a154
lea eax, [esp + 0x48]
mov ecx, 0x3a1cc1a3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
mov edx, ecx
or edx, esi
lea edi, [ecx - 0x3a1cc100]
and edi, esi
not edx
or edx, edi
lea esi, [edx + 0x33]
not edx
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x3a1cc18f
jne 0x392b70
lea eax, [esp + 0x48]
push eax
call fcn.00392700
add esp, 4
mov ebp, eax
mov dword [0x3a83ac], edx
mov dword [0x3a83a8], eax
or eax, edx
je 0x392c9b
mov ebx, edx
lea eax, [esp + 0x148]
push 0x40
push eax
push ebx
push ebp
call fcn.003924e0
add esp, 0x10
test eax, eax
js 0x392c9b
mov eax, dword [esp + 0x184]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x188]
push 0xf0
push edx
push ecx
push eax
call fcn.003924e0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x392c9d
cmp dword [esp + 0x1fc], 0
je 0x392c9d
mov eax, dword [esp + 0x1f8]
mov esi, 0
test eax, eax
je 0x392c9f
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x20]
push 0x28
push edx
push ecx
push eax
call fcn.003924e0
add esp, 0x10
test eax, eax
js 0x392c9b
mov ecx, dword [esp + 0x34]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x392c64
mov eax, esi
push eax
call fcn.0035c880
add esp, 4
mov edx, dword [esp + 0x3c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.003924e0
add esp, 0x10
test eax, eax
js 0x392cae
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x392cb7
mov eax, 0xffffffff
jmp 0x392cb9
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x392ea7
add eax, eax
push eax
call fcn.0035c880
add esp, 4
mov esi, dword [esp + 0x38]
add esi, esi
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.003924e0
add esp, 0x10
test eax, eax
js 0x392e97
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x392d03
lea eax, [esi*4]
push eax
call fcn.0035c880
add esp, 4
mov edi, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.003924e0
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x392e85
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x392d57
mov esi, eax
test esi, esi
je 0x392e85
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x392d9a
mov ebx, 0x36c0b43e
cmp ebx, dword [esp + 0x28c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0x392eb8
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x392e85
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
call fcn.003924e0
add esp, 0x10
test eax, eax
jns 0x392dc7
cmp eax, 0x8000000d
jne 0x392d8d
mov ecx, 0xffffffff
xor edx, edx
nop
nop
mov eax, edx
cmp byte [esp + ecx + 0x49], 0
lea ecx, [ecx + 1]
lea edx, [edx + 1]
jne 0x392dd0
mov dword [esp], 0x82828013
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x60
xor bl, byte [esp + edx]
add bl, 0x20
mov byte [esp + edx], bl
inc edx
cmp edx, 4
jne 0x392df0
test ecx, ecx
je 0x392d6f
mov edx, dword [esp]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x48]
cmp ecx, 4
jb 0x392e5f
mov ebx, eax
and ebx, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add ebx, 0xfffffffc
jne 0x392e30
mov edi, dword [esp + 4]
mov ebx, ebp
test cl, 3
je 0x392d74
and eax, 3
xor ecx, ecx
nop
movsx ebx, byte [esi + ecx]
xor ebx, ebp
imul ebx, edx
inc ecx
mov ebp, ebx
cmp eax, ecx
jne 0x392e70
jmp 0x392d74
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0035c890
add esp, 4
jmp 0x392e9b
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0035c890
add esp, 4
push dword [esp + 0xc]
call fcn.0035c890
add esp, 4
jmp 0x392c9f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x392e89