Function at 0x38c23d70
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], ecx
cmp esi, 8
jne 0x38c23ecf
test al, 7
je 0x38c23dc5
cmp eax, ebx
je 0x38c23dc5
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x30], eax
test bl, 7
je 0x38c23dee
mov esi, dword [ebx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x44], esi
cmp ebx, eax
jne 0x38c23ddf
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x40], 0
jmp 0x38c23df5
mov dword [ebp - 0x40], 1
test cl, 7
je 0x38c23e17
mov esi, dword [ecx]
mov dword [ebp - 0x60], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], 0
jmp 0x38c23e1e
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x1c], 1
jne 0x38c23e49
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor esi, dword [ecx]
xor eax, dword [ecx + 4]
push 1
push edx
push ebx
push ebx
mov dword [ebx], esi
mov dword [ebx + 4], eax
call edi
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
jmp 0x38c23e92
push 0
push edx
push eax
push ebx
cmp ebx, eax
je 0x38c23e70
call edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
xor dword [ebx], ecx
mov edx, dword [eax + 4]
xor dword [ebx + 4], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x38c23e8f
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x30], ecx
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x40], 0
jne 0x38c23ea5
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x3c], 0
jne 0x38c24175
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
pop edi
mov dword [ecx], edx
mov eax, dword [eax + 4]
pop esi
mov dword [ecx + 4], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.38c02c4c
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x10
jne 0x38c24099
test al, 7
je 0x38c23efd
cmp eax, ebx
je 0x38c23efd
mov esi, dword [eax]
mov dword [ebp - 0x78], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x74], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x30], eax
test bl, 7
je 0x38c23f32
mov esi, dword [ebx]
mov dword [ebp - 0x68], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x64], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x60], esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x5c], esi
cmp ebx, eax
jne 0x38c23f23
lea eax, [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], ebx
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x38], 0
jmp 0x38c23f39
mov dword [ebp - 0x38], 1
test cl, 7
je 0x38c23f69
mov esi, dword [ecx]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 8], esi
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], 0
jmp 0x38c23f73
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 1
cmp dword [ebp + 0x1c], 1
jne 0x38c23fc2
mov edx, dword [eax]
mov esi, dword [eax + 4]
xor edx, dword [ecx]
xor esi, dword [ecx + 4]
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edx, dword [ecx + 8]
xor eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x40]
push 1
push ecx
push ebx
push ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call edi
mov edx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x38c24044
push 0
push edx
push eax
push ebx
cmp ebx, eax
je 0x38c24001
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor dword [ebx + 8], edx
mov ecx, dword [eax + 0xc]
xor dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x38c24047
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x4c], ecx
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor dword [ebx + 8], edx
mov ecx, dword [eax + 0xc]
xor dword [ebx + 0xc], ecx
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x44]
jne 0x38c24066
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
cmp dword [ebp - 0x2c], 0
jne 0x38c24175
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.38c02c4c
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], 1
jne 0x38c240f0
test esi, esi
jbe 0x38c240be
mov edi, eax
sub ecx, eax
mov dword [ebp - 0x2c], esi
lea ebx, [ebx]
mov dl, byte [ecx + edi]
xor byte [edi], dl
inc edi
sub dword [ebp - 0x2c], 1
jne 0x38c240ac
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
push 1
push edx
push eax
push ebx
call edi
test esi, esi
jbe 0x38c24175
mov eax, dword [ebp - 0x28]
sub ebx, eax
mov cl, byte [ebx + eax]
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x38c240d2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.38c02c4c
mov esp, ebp
pop ebp
ret 0x1c
cmp eax, ebx
je 0x38c24132
push 0
push edx
push eax
push ebx
call edi
test esi, esi
jbe 0x38c24175
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
sub edi, ebx
mov eax, ebx
sub ecx, ebx
nop
movzx edx, byte [ecx + eax]
xor byte [eax], dl
movzx edx, byte [edi + eax]
mov byte [ecx + eax], dl
inc eax
sub esi, 1
jne 0x38c2410c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.38c02c4c
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x20
ja 0x38c24175
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
add esp, 0xc
push 0
push ecx
push edx
push ebx
call edi
test esi, esi
jbe 0x38c24175
mov ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x24]
sub edi, ebx
mov eax, ebx
sub ecx, ebx
movzx edx, byte [ecx + eax]
xor byte [eax], dl
movzx edx, byte [edi + eax]
mov byte [ecx + eax], dl
inc eax
sub esi, 1
jne 0x38c24162
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
mov esp, ebp
pop ebp
ret 0x1c