Function at 0xe374ac
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xe9de7b
call fcn.00e9cd48
sub esp, 0x98
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
je 0xe375b2
mov eax, dword [ebx]
cmp eax, 8
jne 0xe37507
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00e37f97
inc dword [ebp - 0x44]
jmp 0xe3759a
cmp eax, 6
jne 0xe37518
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00e37f97
jmp 0xe37597
cmp eax, 7
jne 0xe37585
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
je 0xe37560
cmp dword [esi - 0x20], 6
je 0xe3755d
lea ecx, [esi - 0x20]
lea edi, [ebp - 0x58]
call fcn.00e37f97
cmp dword [ebp - 0x28], esi
je 0xe37551
push 0
push 1
lea ecx, [esi - 0x1c]
call fcn.00e14cae
add esi, 0xffffffe0
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0xe37529
mov ebx, dword [ebp - 0x2c]
mov eax, esi
sub eax, dword [ebp - 0x28]
test eax, 0xffffffe0
je 0xe375b9
cmp dword [ebp - 0x28], esi
je 0xe3759a
add esi, 0xffffffe0
push 0
push 1
lea ecx, [esi + 4]
call fcn.00e14cae
mov dword [ebp - 0x24], esi
jmp 0xe3759a
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00e37f97
cmp dword [ebx], 5
je 0xe37597
dec dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add ebx, 0x20
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
jne 0xe374ee
cmp dword [ebp - 0x44], 1
jge 0xe375e2
call fcn.00e3794e
jmp 0xe375be
call fcn.00e378d5
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00e76a75
mov dword [ebp - 0x18], vtable.std::runtime_error.0
push 0xec2d20
lea eax, [ebp - 0x18]
push eax
call fcn.00e80985
jle 0xe37613
call fcn.00e379f9
jmp 0xe375be
lea ebx, [esi - 0x20]
cmp dword [ebx], 6
je 0xe3761f
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00e37f97
cmp dword [ebp - 0x28], esi
je 0xe37613
push 0
push 1
lea ecx, [ebx + 4]
call fcn.00e14cae
mov esi, ebx
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0xe375eb
sub esi, dword [ebp - 0x28]
sar esi, 5
cmp esi, 1
jbe 0xe37631
call fcn.00e37a97
jmp 0xe375be
lea eax, [ebp - 0x28]
push eax
call fcn.00e38016
xor edi, edi
lea eax, [ebp + 8]
push eax
xor eax, eax
lea esi, [ebp - 0x40]
mov dword [ebp + 8], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.00e385ee
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x54]
je 0xe37783
mov eax, dword [esi]
cmp eax, 8
jne 0xe3768f
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0xe37812
mov eax, dword [ecx]
lea edx, [esi + 4]
push edx
call dword [eax + 4]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
jmp 0xe37764
cmp eax, 5
jne 0xe376cd
cmp dword [ebp - 0x30], 1
jb 0xe37817
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x40]
call fcn.00e380a0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.00e38106
test bl, bl
sete al
movzx eax, al
jmp 0xe37763
cmp dword [ebp - 0x30], 2
jb 0xe37821
lea edi, [ebp - 0x6c]
lea eax, [ebp - 0x40]
call fcn.00e380a0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne byte [ebp + 0xb]
call fcn.00e38106
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00e380a0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.00e38106
mov eax, dword [esi]
sub eax, 0
je 0xe37805
dec eax
je 0xe377ee
dec eax
je 0xe37756
dec eax
je 0xe37749
dec eax
jne 0xe3782b
test bl, bl
je 0xe37760
cmp byte [ebp + 0xb], 0
je 0xe37760
xor al, al
jmp 0xe37763
test bl, bl
jne 0xe37745
cmp byte [ebp + 0xb], bl
jne 0xe37745
mov al, 1
jmp 0xe37763
test bl, bl
jne 0xe3773f
cmp byte [ebp + 0xb], 0
je 0xe37745
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00e380d4
add esi, 0x20
cmp esi, dword [ebp - 0x54]
jne 0xe37669
cmp dword [ebp - 0x30], 1
je 0xe3786f
test byte [0xed7d8c], 1
jne 0xe377cb
or dword [0xed7d8c], 1
mov dword [0xed6800], 0xbea9b196
mov dword [0xed6804], 0xffbbb6b3
mov dword [0xed6808], 0xadafa7ba
mov dword [0xed680c], 0xb6acacba
mov word [0xed6810], 0xb1b0
mov byte [0xed6812], 0xdf
xor eax, eax
mov cl, byte [eax + 0xed6800]
xor cl, 0xdf
mov byte [eax + 0xed6950], cl
inc eax
cmp eax, 0x13
jb 0xe377cd
mov dword [ebp + 8], 0xed6950
jmp 0xe375c1
test bl, bl
je 0xe37745
cmp byte [ebp + 0xb], 0
je 0xe37745
jmp 0xe37752
test bl, bl
jne 0xe37760
jmp 0xe3775a
call fcn.00e766cc
call fcn.00e37b0a
jmp 0xe375be
call fcn.00e37baf
jmp 0xe375be
mov eax, dword [esi]
cdq
push edx
push eax
lea esi, [ebp - 0x88]
call fcn.00e3e1e6
pop ecx
pop ecx
push eax
mov byte [ebp - 4], 4
call fcn.00e37c61
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00e16b1f
add esp, 0xc
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00e15c05
push 0xec2d20
mov eax, esi
jmp 0xe375dc
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00e380a0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor esi, esi
inc esi
shl esi, cl
test dword [edx], esi
setne bl
cmp dword [ebp - 0x40], 0
je 0xe37898
push dword [ebp - 0x40]
call fcn.00e77393
pop ecx
lea esi, [ebp - 0x28]
call fcn.00e2b5c5
lea esi, [ebp - 0x58]
call fcn.00e2b5c5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0xe378c4
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret