Function at 0x119e920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov edi, edx
mov ebx, ecx
call fcn.01184d40
mov dword [esp + 0x24], eax
push eax
call fcn.01184660
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x30]
push 0x120
push 0
push esi
call fcn.0118ca70
add esp, 0xc
mov dword [esp + 0x28], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x34]
call fcn.011bc8b0
test eax, eax
js 0x119eda9
mov dword [esp + 8], 0x61f001e
mov byte [esp + 0xc], 0xe4
mov dword [esp + 0xd], 0
mov word [esp + 0x11], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x119ea02
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
mov edx, ecx
xor edx, 0xea061628
add ecx, ecx
and ecx, 0xd40c2c50
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
add al, 0x38
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x119e9c0
lea edx, [esp + 0x38]
lea eax, [esp + 8]
mov edi, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0119ee50
add esp, 8
mov ebx, eax
mov dword [esp + 8], 0x1ee6f01e
mov dword [esp + 0xc], 0xadd1
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x119ea92
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
mov edx, ecx
xor edx, 0x496fb11c
add ecx, ecx
and ecx, 0x92df6238
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
add al, 0x74
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x119ea50
lea edx, [esp + 0x118]
mov ecx, edi
push dword [esp + 0x18]
lea esi, [esp + 0xc]
push esi
call fcn.0119ee50
add esp, 8
mov byte [esp + 0x20], al
mov dword [esp + 8], 0x5d5b56ac
mov dword [esp + 0xc], 0x56ad56a1
mov byte [esp + 0x10], 0xcc
mov dword [esp + 0x11], 0
mov word [esp + 0x15], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x119eb33
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 + 8]
mov edx, eax
xor edx, 0x6e4f5dd1
and eax, 0xee4f5dd1
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
xor ecx, 0x15
and eax, 0x6a
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x119eaf0
lea edx, [esp + 0x50]
mov ecx, edi
push dword [esp + 0x18]
push esi
call fcn.0119ee50
add esp, 8
mov byte [esp + 0x1f], al
mov dword [esp + 8], 0x91a694ac
mov byte [esp + 0xc], 0x38
mov dword [esp + 0xd], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x119ebba
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x864f274b
and eax, 0x64f274b
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x89
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x119eb70
and bl, byte [esp + 0x20]
lea edx, [esp + 0x68]
mov ecx, edi
push dword [esp + 0x18]
push esi
call fcn.0119ee50
add esp, 8
mov byte [esp + 0x20], al
fild qword [esp + 0x130]
mov dword [esp + 8], 0xaaa299ad
mov dword [esp + 0xc], 0x485d505e
mov dword [esp + 0x10], 0xeb496565
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x119ec49
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 + 8]
mov edx, eax
xor edx, 0xd2ae0c7c
and eax, 0xd2ae0c7c
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x94
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x119ec10
and bl, byte [esp + 0x1f]
sub esp, 0x10
fstp qword [esp + 8]
mov dword [esp + 4], esi
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.01186130
add esp, 0x10
mov esi, eax
movzx eax, byte [esp + 0x88]
mov dword [esp + 8], 0xfce7faef
mov dword [esp + 0xc], 0xfffdeeef
mov word [esp + 0x10], 0xfe3
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xe
ja 0x119eceb
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 + 8]
mov edi, ecx
xor edi, 0xa86025c1
and ecx, 0x286025c1
lea ecx, [edi + ecx*2]
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x3b
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xf
jb 0x119ecb0
and bl, byte [esp + 0x20]
push eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call fcn.011861c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esp + 0x88]
mov dword [esp + 8], 0x818a8b84
mov dword [esp + 0xc], 0x898c8271
mov dword [esp + 0x10], 0x179f
mov byte [esp + 0x14], 0
or edi, esi
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x119ed8e
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov esi, edx
not esi
or esi, 0x5f578885
add esi, edx
xor edx, 0xdf578885
lea edx, [edx + esi*2]
add edx, 2
xor edx, ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 4]
mov edx, ecx
not edx
and edx, 0x99
and ecx, 0x66
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x119ed40
push eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call fcn.011861c0
add esp, 0xc
or edi, eax
sete al
and bl, al
jmp 0x119edab
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
or ecx, edx
mov edi, dword [esp + 0x28]
je 0x119ede9
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x3c]
push esi
push edx
push eax
call fcn.011bc8b0
test eax, eax
js 0x119ede9
lea edx, [esp + 0x30]
mov ecx, edi
push dword [ebp + 8]
call fcn.0119e920
add esp, 4
or bl, al
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
or ecx, edx
je 0x119ee24
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x3c]
push esi
push edx
push eax
call fcn.011bc8b0
test eax, eax
js 0x119ee24
lea edx, [esp + 0x30]
mov ecx, edi
push dword [ebp + 8]
call fcn.0119e920
add esp, 4
or bl, al
test bl, bl
je 0x119ee39
push dword [esp + 0x24]
push dword [ebp + 8]
call fcn.01185ac0
add esp, 8
jmp 0x119ee45
push dword [esp + 0x24]
call fcn.01184c10
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret