Function at 0x38c1a312
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], esi
je 0x38c1a97e
cmp dword [ebp + 0xc], esi
je 0x38c1a97e
cmp dword [ebp + 0x10], esi
je 0x38c1a97e
cmp dword [ebp + 0x14], esi
je 0x38c1a97e
push esi
push 0x104
mov dword [ebp - 0x20], esi
call fcn.38c1a2cc
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 4], ebx
jne 0x38c1a372
mov dword [ebp - 0x20], 0x80000002
jmp 0x38c1a65b
lea edx, [ebx + 0x34]
lea eax, [edx + 0x58]
mov dword [ebp - 0x14], eax
add eax, 0x3c
mov dword [ebp - 0xc], eax
add eax, 0x14
mov dword [ebp - 8], eax
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 4]
mov esi, 0x38c27ec0
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x38c1a3a3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x38c27ec0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x58
mov eax, edi
cld
or ecx, ecx
je 0x38c1a3c4
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x38c1a3e6
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x38c27ec0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x3c
mov eax, edi
cld
or ecx, ecx
je 0x38c1a40d
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add eax, 0x20
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x38c1a432
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x38c27ec0]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x108], 0x123174bb
mov dword [ebp - 0x104], 0x86521ff8
mov dword [ebp - 0x100], 0x98d2438b
mov dword [ebp - 0xfc], 0x7966ce12
mov dword [ebp - 0xf8], 0xc5d92014
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a4b2
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0x108]
xor dword [ebp + ecx*4 - 0xb8], eax
inc ecx
cmp ecx, esi
jb 0x38c1a4b4
push 0x14
pop edx
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a4f1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xc]
and dword [ebp - 0xa4], 0
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x38c27ec4]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xe0], 0x123174bb
mov dword [ebp - 0xdc], 0x86521ff8
mov dword [ebp - 0xd8], 0x98d2438b
mov dword [ebp - 0xd4], 0x7966ce12
mov dword [ebp - 0xd0], 0xc5d92014
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a565
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xe0]
xor dword [ebp + ecx*4 - 0xa4], eax
inc ecx
cmp ecx, esi
jb 0x38c1a567
push 0x14
pop edx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a5a4
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
and dword [ebp - 0xcc], 0
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x38c27ec8]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0xc8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xf4], 0x123174bb
mov dword [ebp - 0xf0], 0x86521ff8
mov dword [ebp - 0xec], 0x98d2438b
mov dword [ebp - 0xe8], 0x7966ce12
mov dword [ebp - 0xe4], 0xc5d92014
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a618
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xf4]
xor dword [ebp + ecx*4 - 0xcc], eax
inc ecx
cmp ecx, esi
jb 0x38c1a61a
lea eax, [ebp - 0xcc]
mov dword [ebp - 8], 0x14
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a658
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x38c1a985
mov eax, dword [ebp + 8]
and dword [eax], 0
push eax
lea ecx, [eax + 0xc]
push 0xb4
mov dword [eax + 4], 0x157c
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], eax
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x38c1a69d
mov dword [ebp - 0x18], 0x80000002
jmp 0x38c1a985
add eax, 0x3c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
cmp eax, dword [ebp + 0xc]
push 0x14
mov dword [ebp - 0xc], eax
pop ebx
je 0x38c1a6c6
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a6c6
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a6e1
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a6e6
lea eax, [ebp - 0x90]
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
je 0x38c1a714
mov dword [ebp - 8], 0x50
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a714
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
push dword [ebp + 8]
mov eax, dword [eax + 0x30]
push ebx
mov dword [ebp - 0x1c], eax
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 4], eax
je 0x38c1a77e
lea eax, [ebp - 0x90]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a74d
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.38c20182
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a769
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.38c1a2ec
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0xc], eax
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 4], eax
je 0x38c1a7e2
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a7b1
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x28
push eax
push 5
push dword [ebp - 4]
call fcn.38c20182
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a7cd
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.38c1a2ec
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x68]
push ebx
mov dword [ebp - 0xc], eax
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 4], eax
je 0x38c1a842
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a815
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 5
push dword [ebp - 4]
call fcn.38c20182
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a82d
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.38c1a2ec
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x54]
push ebx
mov dword [ebp - 0xc], eax
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 4], eax
je 0x38c1a8a6
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a875
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.38c20182
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a891
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.38c1a2ec
mov esi, dword [ebp - 0x28]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push 0
push 0
add eax, 0x14
push esi
push eax
mov dword [ebp - 8], eax
call fcn.38c1d293
test eax, eax
jne 0x38c1a8cd
mov dword [ebp - 0x18], 0x800480d5
jmp 0x38c1a985
push dword [ebp + 8]
mov edi, dword [ebp - 0x20]
push esi
add edi, 0x28
push edi
push 5
push dword [ebp - 0x24]
push 0
push 4
push dword [ebp - 8]
call fcn.38c1f02f
test eax, eax
je 0x38c1a8c1
push dword [ebp + 8]
lea eax, [edi + 0x28]
push 0
push esi
push 0xffffffffffffffff
push eax
push edi
push dword [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.38c1d4c1
test eax, eax
je 0x38c1a8c1
push dword [ebp + 8]
push 0x28
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 0x20], eax
je 0x38c1a8c1
push dword [ebp + 8]
mov ecx, dword [esi]
push dword [ecx + 0x30]
add eax, 0x14
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.38c202b5
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a946
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 0x14], edx
je 0x38c1a967
mov dword [ebp - 8], 0x10
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1a967
rep movsb byte es:[edi], byte [esi]
push 0x28
pop ecx
mov eax, edx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a96c
push dword [ebp + 8]
push edx
call fcn.38c1a2ec
jmp 0x38c1a985
mov dword [ebp - 0x18], 0x80070057
mov edx, dword [ebp - 0x28]
test edx, edx
pop edi
pop esi
pop ebx
je 0x38c1a9c4
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a99a
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a9a7
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a9b4
push dword [ebp - 0x40]
push edx
call fcn.38c1a2ec
cmp dword [ebp + 8], 0
je 0x38c1a9ea
cmp dword [ebp - 0x24], 0
je 0x38c1a9df
mov eax, dword [ebp - 0x24]
mov ecx, 0xb4
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1a9d8
push dword [ebp - 0x40]
push dword [ebp - 0x24]
call fcn.38c1a2ec
mov eax, dword [ebp - 0x18]
leave
ret