Function at 0x1e36f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov ebx, dword [0x1f9bcc]
mov ebp, dword [0x1f9bc8]
mov eax, ebp
or eax, ebx
jne 0x1e37e1
mov dword [esp + 0x94], 0x37ba39ca
mov dword [esp + 0x98], 0x33c635c8
mov dword [esp + 0x9c], 0xcffc31c4
mov dword [esp + 0xa0], 0xcb3ecd30
mov dword [esp + 0xa4], 0xc7c6c93c
mov word [esp + 0xa8], 0
mov byte [esp + 0xaa], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
cmp eax, 0x16
ja 0x1e37ba
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
movzx ecx, byte [esp + ecx + 0x94]
mov edx, eax
xor edx, 0xf11dd276
and eax, 0xf11dd276
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x19c]
add al, 0xb2
mov ecx, dword [esp + 0x54]
mov byte [esp + ecx + 0x94], al
inc dword [esp + 0x54]
mov eax, dword [esp + 0x54]
cmp eax, 0x17
jb 0x1e3770
lea eax, [esp + 0x94]
push eax
call fcn.001e33b0
add esp, 4
mov ebp, eax
mov dword [0x1f9bcc], edx
mov dword [0x1f9bc8], eax
or eax, edx
je 0x1e38b2
mov ebx, edx
lea eax, [esp + 0x54]
push 0x40
push eax
push ebx
push ebp
call fcn.001e3180
add esp, 0x10
test eax, eax
js 0x1e38b2
mov eax, dword [esp + 0x90]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x94]
push 0x108
push edx
push ecx
push eax
call fcn.001e3180
add esp, 0x10
xor edi, edi
test eax, eax
js 0x1e38b4
cmp dword [esp + 0x120], 0
je 0x1e38b4
mov eax, dword [esp + 0x11c]
mov esi, 0
test eax, eax
je 0x1e38b6
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.001e3180
add esp, 0x10
test eax, eax
js 0x1e38b2
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x1e387b
mov eax, esi
push eax
call fcn.001ac630
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.001e3180
add esp, 0x10
test eax, eax
js 0x1e38c5
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x1e38ce
mov eax, 0xffffffff
jmp 0x1e38d0
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x1e3b17
add eax, eax
push eax
call fcn.001ac630
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
mov ecx, dword [esp + 0x50]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.001e3180
add esp, 0x10
test eax, eax
js 0x1e3b07
mov esi, dword [esp + 0x44]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x1e391a
lea eax, [esi*4]
push eax
call fcn.001ac630
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
mov edx, dword [esp + 0x4c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.001e3180
add esp, 0x10
test eax, eax
js 0x1e3af5
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x1e396c
mov esi, eax
test esi, esi
je 0x1e3af5
lea eax, [esp + 0x19c]
not eax
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x1e39b8
mov esi, 0xb14a5e2
cmp esi, dword [esp + 0x2b0]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x1e3b28
inc edi
cmp edi, esi
je 0x1e3af5
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x1a0]
push edx
push ecx
push eax
call fcn.001e3180
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x1e39af
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [esp + esi + 0x19c], 0
lea esi, [esi + 1]
jne 0x1e39f0
mov dword [esp + 0x10], 0x7e7e78cf
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x1e3a59
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, eax
xor edx, 0x1d61c76a
and eax, 0x1d61c76a
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0xee
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x1e3a20
lea eax, [esp + 0x19b]
add esi, eax
mov edx, esi
and edx, dword [esp + 0x18]
add edx, edx
lea ebx, [esp + 0x19c]
xor esi, ebx
mov eax, edx
sub eax, esi
je 0x1e3991
mov ecx, dword [esp + 0x10]
sub esi, edx
mov ebp, 0xb14a5e2
mov edx, ebx
cmp esi, 0xfffffffc
ja 0x1e3acb
mov esi, eax
and esi, 0xfffffffc
lea edx, [esp + 0x19c]
nop
nop
nop
nop
nop
movsx ebx, byte [edx]
xor ebx, ebp
imul ebx, ecx
movsx ebp, byte [edx + 1]
xor ebp, ebx
imul ebp, ecx
movsx ebx, byte [edx + 2]
xor ebx, ebp
imul ebx, ecx
movsx ebp, byte [edx + 3]
add edx, 4
xor ebp, ebx
imul ebp, ecx
add esi, 0xfffffffc
jne 0x1e3aa0
mov esi, ebp
and eax, 3
je 0x1e3996
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movsx esi, byte [edx + ebx]
xor esi, ebp
imul esi, ecx
inc ebx
mov ebp, esi
cmp eax, ebx
jne 0x1e3ae0
jmp 0x1e3996
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.001ac640
add esp, 4
jmp 0x1e3b0b
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.001ac640
add esp, 4
push dword [esp + 8]
call fcn.001ac640
add esp, 4
jmp 0x1e38b6
mov eax, dword [esp + 4]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x1e3af9