Function at 0x13a8de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdbbae5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x13a8e16
xor bl, bl
jmp 0x13a9172
xor eax, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x50], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x1d], 0x929594b7
mov dword [ebp - 0x19], 0xcacbd9
mov byte [ebp - 0x15], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 7
jb 0x13a8e62
lea edx, [ebp - 0x1d]
mov byte [ebp - 0x15], 0
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x13a8e80
mov edi, dword [ebp + 0x1c]
sub edx, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp + 8]
cmp edi, 0x10
jb 0x13a8e99
mov ecx, ebx
push edx
lea eax, [ebp - 0x1d]
mov edx, esi
push eax
push 0
call fcn.01393fe0
add esp, 0xc
cmp eax, 0xffffffff
je 0x13a8ee1
mov edx, esi
cmp esi, 7
jb 0x13a8ebb
mov edx, 7
lea ecx, [ebp + 8]
cmp edi, 0x10
jb 0x13a8ec5
mov ecx, ebx
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [edx + ecx]
push eax
push ecx
call fcn.01405190
mov ebx, dword [ebp + 8]
add esp, 0xc
mov edi, dword [ebp + 0x1c]
mov dword [ebp + 0x18], esi
mov dword [ebp - 0x1e], 0x929594b7
xor ecx, ecx
mov dword [ebp - 0x1a], 0xc9cade90
mov word [ebp - 0x16], 0x100
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x13a8ef7
lea edx, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
lea ecx, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x13a8f10
sub edx, ecx
lea ecx, [ebp + 8]
cmp edi, 0x10
jb 0x13a8f23
mov ecx, ebx
push edx
lea eax, [ebp - 0x1e]
mov edx, esi
push eax
push 0
call fcn.01393fe0
add esp, 0xc
cmp eax, 0xffffffff
je 0x13a8f6b
mov edx, esi
cmp esi, 8
jb 0x13a8f45
mov edx, 8
lea ecx, [ebp + 8]
cmp edi, 0x10
jb 0x13a8f4f
mov ecx, ebx
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [edx + ecx]
push eax
push ecx
call fcn.01405190
mov ebx, dword [ebp + 8]
add esp, 0xc
mov edi, dword [ebp + 0x1c]
mov dword [ebp + 0x18], esi
lea edx, [ebp - 0xf]
mov word [ebp - 0xf], 0x2f
mov byte [ebp - 0xd], 0
lea ecx, [edx + 1]
jmp 0x13a8f80
mov al, byte [edx]
inc edx
test al, al
jne 0x13a8f80
sub edx, ecx
lea ecx, [ebp + 8]
cmp edi, 0x10
jb 0x13a8f93
mov ecx, ebx
push edx
lea eax, [ebp - 0xf]
mov edx, esi
push eax
push 0
call fcn.01393fe0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x13a8fad
mov edi, esi
cmp esi, edi
jb 0x13a8fb3
mov esi, edi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
jb 0x13a8fbe
mov eax, ebx
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.0138e570
mov edx, dword [ebp + 0x18]
mov eax, edx
sub eax, edi
je 0x13a8ff8
mov eax, dword [ebp - 0x40]
mov ecx, edx
sub ecx, eax
cmp edx, eax
jb 0x13a91f9
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
jb 0x13a8fec
mov edx, dword [ebp + 8]
push ecx
add eax, edx
lea ecx, [ebp - 0x38]
push eax
call fcn.0138e570
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x30]
cmp dword [ebx + 0x2c], 0xa
jne 0x13a907a
test eax, eax
je 0x13a907a
lea eax, [ebp - 0xf]
mov word [ebp - 0xf], 0x3f
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 0xd], 0
call fcn.0138e6a0
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
mov esi, dword [ebp + 0x30]
jb 0x13a902d
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x24]
mov eax, edx
mov edi, dword [ebp - 0x28]
sub eax, edi
cmp esi, eax
ja 0x13a9066
lea eax, [esi + edi]
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x38]
cmp edx, 0x10
jb 0x13a904c
mov ebx, dword [ebp - 0x38]
push esi
push ecx
lea eax, [ebx + edi]
push eax
call fcn.01405190
lea eax, [ebx + esi]
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov byte [eax + edi], 0
jmp 0x13a9094
push esi
push ecx
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
push esi
call fcn.013947f0
jmp 0x13a9094
lea ecx, [ebx + 0x60]
lea edx, [ebp + 0x20]
cmp ecx, edx
je 0x13a9094
cmp dword [ebp + 0x34], 0x10
jb 0x13a908d
mov edx, dword [ebp + 0x20]
push eax
push edx
call fcn.0138e570
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x50]
cmp esi, 0x10
jb 0x13a90a4
mov ecx, edx
add ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x50]
cmp esi, 0x10
jb 0x13a90b1
mov eax, edx
push ecx
push eax
lea ecx, [ebx + 0x30]
call fcn.013a9210
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
cmp esi, 0x10
jb 0x13a90cb
mov ecx, edx
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x38]
add edi, ecx
cmp esi, 0x10
jb 0x13a90da
mov eax, edx
push edi
push eax
lea ecx, [ebx + 0x48]
call fcn.013a9210
mov ecx, dword [ebp - 0x24]
mov bl, 1
cmp ecx, 0x10
jb 0x13a911a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13a9110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x13a91fe
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x13a9160
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13a9156
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x13a91fe
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x13a91a2
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13a9198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x13a91fe
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x13a91e4
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13a91da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x13a91fe
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30
call fcn.01391e80
call fcn.014089d0
int3