Function at 0x1359580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7334
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0xf], 0x28
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x33], 0xa3a4b29c
mov dword [ebp - 0x2f], 0xb2c5a1b7
mov dword [ebp - 0x2b], 0xafa5aaa6
mov word [ebp - 0x27], 0xcb
mov byte [ebp - 0x25], 1
nop
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xd
jb 0x13595e0
lea ecx, [ebp - 0x33]
mov byte [ebp - 0x25], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13595f7
mov esi, 0x7fffffff
sub ecx, edx
mov edx, dword [ebp + 0x30]
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x1359c65
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
jb 0x1359620
mov eax, dword [ebp + 0x20]
push edx
push eax
push ecx
lea eax, [ebp - 0x33]
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.01396210
mov dword [ebp - 0x14], 2
lea eax, [ebp - 0xf]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x84]
call fcn.0138e6a0
mov edx, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov ecx, dword [edx]
mov dword [edi], ecx
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x14], 7
cmp ecx, 0x10
jb 0x13596da
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13596d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c6a
push ecx
push edx
call fcn.01403731
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
jb 0x13596e6
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
call fcn.01339200
test eax, eax
jne 0x1359bb1
mov dword [ebp - 0x10], 0x100dbf6
xor ecx, ecx
nop
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x1359700
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x38], 0xa5a0b28f
mov dword [ebp - 0x34], 0x92c5a5ae
mov dword [ebp - 0x30], 0x8f858a86
mov dword [ebp - 0x2c], 0x888385b4
mov dword [ebp - 0x28], 0x100d880
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0x12
jb 0x1359736
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x25], 0
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1359750
sub ecx, edx
mov edx, dword [ebp + 0x30]
sub esi, edx
cmp esi, ecx
jb 0x1359c6f
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
jb 0x1359772
mov eax, dword [ebp + 0x20]
push edx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x6c]
call fcn.01396210
mov dword [ebp - 0x14], 0x17
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6c]
call fcn.0138e6a0
mov edx, eax
mov dword [ebp - 0x14], 0x1f
xor eax, eax
mov dword [ebp - 0x54], eax
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 ecx, dword [edx]
mov dword [ebp - 0x54], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x40], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x1359825
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x135981b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c74
push ecx
push edx
call fcn.01403731
add esp, 8
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
jb 0x1359843
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
call fcn.013e9750
mov esi, dword [ebp - 0x1c]
add esp, 0x14
test eax, eax
jne 0x1359af8
mov dword [ebp - 0x1c], 0
mov ecx, esi
call fcn.013c6dc0
cmp eax, 0x64
jne 0x1359af8
mov eax, 1
test esi, esi
je 0x13598d1
cmp dword [esi + 0x2c], 0
je 0x13598ac
cmp ax, word [esi + 0x30]
jae 0x13598ac
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x13598a4
push eax
call dword [0xde2f60]
add esp, 4
mov ecx, dword [esi + 0x2c]
add ecx, 0x28
jmp 0x13598d6
mov eax, dword [esi]
test eax, eax
je 0x13598d1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x13598c3
push eax
call dword [0xde2f60]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.013b65b0
add esp, 0xc
mov ecx, 0xdce308
mov dl, 1
call fcn.013c4030
mov ebx, eax
test esi, esi
je 0x1359939
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x1359919
cmp byte [edi + 0x1e], 0
jne 0x13598fc
mov edx, edi
cmp ecx, 0xc0a
jne 0x1359914
push 0
push 7
push edi
call fcn.013b65b0
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x1359920
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x1359936
push eax
call dword [0xde2f68]
add esp, 4
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0
jne 0x135994c
push ebx
mov ecx, edi
call fcn.0138e6a0
jmp 0x1359a3f
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1359965
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x3c]
call fcn.013282e0
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x10], 0x100c0f3
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x1359985
lea eax, [ebp - 0x3c]
mov byte [ebp - 0xd], 0
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.01392660
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0138e710
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x13599f2
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13599e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c6a
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x1359a3f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1359a35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c6a
push ecx
push edx
call fcn.01403731
add esp, 8
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1359a58
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x3c]
call fcn.013282e0
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
je 0x1359aac
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x14], eax
mov ecx, 0xf
add dword [ebx + 4], 0x18
mov byte [ebp - 0x3c], 0
jmp 0x1359abb
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, ebx
call fcn.0139b4f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x1359af0
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1359ae6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c79
push ecx
push edx
call fcn.01403731
add esp, 8
inc dword [ebp - 0x1c]
jmp 0x135986c
test esi, esi
je 0x1359b71
mov edi, dword [esi]
mov ebx, dword [edi + 0x44]
test ebx, ebx
je 0x1359b13
push ebx
call dword [0xde2f60]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x1c], 0
cmp eax, 0xbdf20da3
je 0x1359b2b
cmp eax, 0x519c2973
jne 0x1359b35
mov ecx, esi
call fcn.013c6000
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.013c61b0
test edi, edi
je 0x1359b60
cmp byte [edi + 0x1e], 0
jne 0x1359b4f
cmp dword [ebp - 0x1c], 0xc0a
jne 0x1359b60
push 0
push 7
push edi
call fcn.013b65b0
add esp, 0xc
mov byte [edi + 0x1e], 0
test ebx, ebx
je 0x1359b6e
push ebx
call dword [0xde2f68]
add esp, 4
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
call fcn.013396b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x1359bb1
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1359ba7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c79
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0x10], 0x100dbf6
xor ecx, ecx
lea ebx, [ebx]
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x1359bc0
lea eax, [ebp - 0x10]
mov byte [ebp - 0xd], 0
push eax
mov ecx, edi
call fcn.0138e6a0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1359c10
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1359c06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c7e
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 0x1359c52
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1359c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1359c7e
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.01327a70
call fcn.014089d0
call fcn.01327a70
call fcn.014089d0
call fcn.014089d0
call fcn.014089d0
int3