Function at 0x1345d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb5769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov byte [ebp - 0x15], dl
mov ebx, ecx
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x14], 0xd1d1a9
mov byte [ebp - 0x10], 1
lea ebx, [ebx]
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x1345dc0
lea edx, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1345dd7
mov edi, dword [ebp + 0x34]
sub edx, ecx
lea ecx, [ebp + 0x20]
cmp edi, 0x10
jb 0x1345dee
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.01393fe0
add esp, 0xc
test eax, eax
je 0x1345e59
mov dword [ebp - 0x14], 0xd0d1a9
xor ecx, ecx
mov byte [ebp - 0x10], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x1345e11
lea esi, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1345e28
sub esi, ecx
lea ecx, [ebp + 0x20]
cmp edi, 0x10
jb 0x1345e3c
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push esi
push eax
push 0
call fcn.01393fe0
add esp, 0xc
test eax, eax
je 0x1345e59
xor bl, bl
jmp 0x1346389
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x3c], eax
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
cmp ecx, 5
jb 0x134640e
add ecx, 0xfffffffb
cmp ecx, 0xffffffff
jb 0x1345e84
or ecx, 0xffffffff
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
jb 0x1345e90
mov eax, dword [ebp + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x3c]
push eax
call fcn.013282e0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1345ed1
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1345ec7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push ecx
push edx
call fcn.01403731
add esp, 8
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], cl
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp eax, 0x10
jb 0x1345f1e
mov ecx, edx
push ecx
lea edx, [ebp - 0x3c]
call fcn.01345c60
add esp, 4
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
jb 0x1345f36
mov eax, dword [ebp - 0x3c]
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push eax
call fcn.0138e570
cmp byte [ebp - 0x15], 0
lea edx, [ebp + 8]
je 0x1346003
cmp dword [ebp + 0x1c], 0x10
jb 0x1345f58
mov edx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
mov edi, dword [ebp + 0x30]
jb 0x1345f67
mov esi, dword [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 0x18]
call fcn.01327a80
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, esi
push edi
call fcn.01327a80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.01345770
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1345fc3
lea ecx, [ebp - 0x54]
cmp ebx, ecx
je 0x1345fc1
cmp dword [ebp - 0x40], 0x10
jb 0x1345fb5
mov ecx, dword [ebp - 0x54]
push eax
push ecx
mov ecx, ebx
call fcn.0138e570
mov eax, dword [ebp - 0x44]
test eax, eax
mov ecx, dword [ebp - 0x40]
setne bl
cmp ecx, 0x10
jb 0x1346352
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1345ff4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346413
push ecx
push edx
call fcn.01403731
add esp, 8
jmp 0x1346352
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0x12], 0x2a
mov byte [ebp - 0x10], 0
jb 0x1346016
mov edx, dword [ebp + 8]
push dword [ebp + 0x18]
lea ecx, [ebp - 0xcc]
call fcn.01327a80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov word [ebp - 0x23], 0x5f
mov byte [ebp - 0x21], 0
jb 0x1346043
mov edx, dword [ebp + 0x20]
push dword [ebp + 0x30]
lea ecx, [ebp - 0xb4]
call fcn.01327a80
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1f], 0xdaa2ae9a
mov dword [ebp - 0x1b], 0xb9cfd7da
mov word [ebp - 0x17], 0x100
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 8
jb 0x1346070
push edx
lea edx, [ebp - 0x1f]
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x9c]
call fcn.01392660
add esp, 4
lea ecx, [ebp - 0x23]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.0138e6a0
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
push esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x13]
lea ecx, [ebp - 0x84]
call fcn.01396000
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x84]
call fcn.0138e6a0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x1346174
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x134616a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346418
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x13461c1
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13461b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346418
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x13461ff
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13461f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346418
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x10
jb 0x1346258
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x134624e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346418
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x13462b1
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13462a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1346418
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
test ecx, ecx
je 0x1346322
lea eax, [ebp - 0x54]
cmp ebx, eax
je 0x13462f0
cmp edi, 0x10
jb 0x13462e1
mov eax, esi
push ecx
push eax
mov ecx, ebx
call fcn.0138e570
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x54]
cmp edi, 0x10
jb 0x134631e
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1346314
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push edi
push esi
call fcn.01403731
add esp, 8
mov bl, 1
jmp 0x1346352
cmp edi, 0x10
jb 0x1346350
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1346346
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push edi
push esi
call fcn.01403731
add esp, 8
xor bl, bl
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x1346386
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x134637c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push ecx
push edx
call fcn.01403731
add esp, 8
mov edi, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x13463bc
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13463af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push ecx
push edx
call fcn.01403731
mov edi, dword [ebp + 0x34]
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edi, 0x10
jb 0x13463fb
mov ecx, dword [ebp + 0x20]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x13463f1
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x134641d
push edi
push ecx
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
call fcn.01391e80
call fcn.014089d0
call fcn.014089d0
call fcn.014089d0
int3