Function at 0x78b00e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x78b2ea
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
not eax
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x78b05c
test bl, 3
je 0x78b069
mov edx, dword [ebp + 0x10]
jmp 0x78b047
test bl, 3
je 0x78b066
mov cl, byte [ebx]
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
inc ebx
dec edx
jne 0x78b042
not eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret
mov dword [ebp + 0x10], edx
mov edi, ebx
cmp dword [ebp + 0x10], 0x1f
jbe 0x78b25a
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, edx
lea esi, [esi]
xor eax, dword [ecx]
movzx edi, ah
mov edx, eax
shr edx, 0x10
and edx, 0xff
movzx esi, al
shr eax, 0x18
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [ecx + 4]
xor esi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [ecx + 8]
xor edi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [ecx + 0xc]
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [ecx + 0x10]
xor edi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [ecx + 0x14]
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [ecx + 0x18]
xor edi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edi, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
mov edx, edi
movzx esi, dh
mov eax, edi
shr eax, 0x10
and eax, 0xff
and edx, 0xff
shr edi, 0x18
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edx, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor edx, dword [ecx + 0x1c]
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor edx, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
add ecx, 0x20
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov eax, edx
shr eax, 0x18
movzx edi, dl
mov eax, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
xor eax, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
movzx edx, dh
xor eax, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor eax, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
sub ebx, 0x20
cmp ebx, 0x1f
ja 0x78b082
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x10]
sub edx, 0x20
mov ecx, edx
and ecx, 0xffffffe0
lea edi, [ebx + ecx + 0x20]
and edx, 0x1f
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 3
jbe 0x78b2bb
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp - 0x24], edx
shr edx, 2
inc edx
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov edx, dword [edi + ecx*4]
xor edx, eax
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
mov eax, edx
shr eax, 0x18
movzx esi, dl
mov eax, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
xor eax, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
movzx edx, dh
xor eax, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor eax, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
inc ecx
cmp ecx, dword [ebp - 0x20]
jne 0x78b272
lea edi, [edi + ecx*4]
mov edx, dword [ebp - 0x24]
and edx, 3
mov dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x78b05c
xor edx, edx
mov ebx, dword [ebp + 0x10]
lea esi, [esi]
mov cl, byte [edi + edx]
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
inc edx
cmp ebx, edx
jne 0x78b2ce
jmp 0x78b05c
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret