Function at 0x12d9204
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push 0x104
lea eax, [ebp - 0x28c]
push eax
push dword [ebp + 8]
call dword [fcn.012dc91c]
mov eax, 0x32
mov word [ebp - 0x7e], ax
mov eax, 0x65
mov word [ebp - 0x7c], ax
mov eax, 0x74
mov word [ebp - 0x7a], ax
mov word [ebp - 0x78], ax
mov eax, 0x77
mov word [ebp - 0x76], ax
mov eax, 0x6d
mov word [ebp - 0x74], ax
mov eax, 0x6b
mov word [ebp - 0x72], ax
mov eax, 0x72
mov word [ebp - 0x70], ax
xor eax, eax
mov word [ebp - 0x6e], ax
xor ecx, ecx
mov ax, word [ebp - 0x7e]
nop dword [eax]
mov ax, word [ebp + ecx*2 - 0x7e]
movzx eax, ax
add eax, 0xfffffffc
mov word [ebp + ecx*2 - 0x7e], ax
inc ecx
cmp ecx, 8
jb 0x12d9274
lea eax, [ebp - 0x7e]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.012d9e74
add esp, 8
mov dword [0x12dca00], 0xffffffff
lea eax, [ebp - 0x28c]
push eax
call dword [fcn.012dc9f0]
cmp eax, 0xffffffff
je 0x12d973e
mov dword [ebp - 0x2c], 0x76
mov eax, dword [ebp - 0x2c]
xor eax, 0x7b
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x2c]
inc al
xor eax, 0x43
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x2c]
add al, 2
xor eax, 0x37
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x2c]
add al, 3
xor eax, 0x38
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x2c]
add al, 4
xor eax, 0x37
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x2c]
add al, 5
xor eax, 0x38
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x2c]
add al, 6
xor eax, 0x46
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x2c]
add al, 7
xor eax, 0x41
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x2c]
add al, 8
xor eax, 0x36
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x2c]
add al, 9
xor eax, 0x2d
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x2c]
add al, 0xa
xor eax, 0x35
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x2c]
add al, 0xb
xor eax, 0x44
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x2c]
add al, 0xc
xor eax, 0x43
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x2c]
add al, 0xd
xor eax, 0x36
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x2c]
add al, 0xe
xor eax, 0x2d
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x2c]
add al, 0xf
xor eax, 0x34
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x2c]
add al, 0x10
xor eax, 0x33
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x2c]
add al, 0x11
xor eax, 0x41
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x2c]
add al, 0x12
xor eax, 0x43
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x2c]
add al, 0x13
xor eax, 0x2d
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x2c]
add al, 0x14
xor eax, 0x42
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x2c]
add al, 0x15
xor eax, 0x34
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x2c]
add al, 0x16
xor eax, 0x37
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x2c]
add al, 0x17
xor eax, 0x33
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x2c]
add al, 0x18
xor eax, 0x2d
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x2c]
add al, 0x19
xor eax, 0x45
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x2c]
add al, 0x1a
xor eax, 0x45
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x2c]
add al, 0x1b
xor eax, 0x33
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x2c]
add al, 0x1c
xor eax, 0x43
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x2c]
add al, 0x1d
xor eax, 0x35
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x2c]
add al, 0x1e
xor eax, 0x43
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x2c]
add al, 0x1f
xor eax, 0x37
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x2c]
add al, 0x20
xor eax, 0x42
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x2c]
add al, 0x21
xor eax, 0x46
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x2c]
add al, 0x22
xor eax, 0x33
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x2c]
add al, 0x23
xor eax, 0x38
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x2c]
add al, 0x24
xor eax, 0x30
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
add al, 0x25
mov byte [ebp - 2], 0
xor eax, 0x7d
xor edx, edx
mov byte [ebp - 3], al
mov al, byte [ebp - 0x28]
nop dword [eax]
mov al, byte [ebp + edx - 0x28]
mov ecx, dword [ebp - 0x2c]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x28], cl
inc edx
cmp edx, 0x26
jb 0x12d9474
mov byte [ebp - 2], 0
mov dword [ebp - 0x58], 0x69
mov eax, dword [ebp - 0x58]
xor eax, 0x7b
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x58]
inc al
xor eax, 0x34
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x58]
add al, 2
xor eax, 0x31
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x58]
add al, 3
xor eax, 0x31
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x58]
add al, 4
xor eax, 0x44
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x58]
add al, 5
xor eax, 0x43
mov byte [ebp - 0x4f], al
mov eax, dword [ebp - 0x58]
add al, 6
xor eax, 0x39
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 0x58]
add al, 7
xor eax, 0x35
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x58]
add al, 8
xor eax, 0x39
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x58]
add al, 9
xor eax, 0x2d
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x58]
add al, 0xa
xor eax, 0x39
mov byte [ebp - 0x4a], al
mov eax, dword [ebp - 0x58]
add al, 0xb
xor eax, 0x30
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x58]
add al, 0xc
xor eax, 0x39
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x58]
add al, 0xd
xor eax, 0x39
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x58]
add al, 0xe
xor eax, 0x2d
mov byte [ebp - 0x46], al
mov eax, dword [ebp - 0x58]
add al, 0xf
xor eax, 0x34
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x58]
add al, 0x10
xor eax, 0x37
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x58]
add al, 0x11
xor eax, 0x38
mov byte [ebp - 0x43], al
mov eax, dword [ebp - 0x58]
add al, 0x12
xor eax, 0x43
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x58]
add al, 0x13
xor eax, 0x2d
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x58]
add al, 0x14
xor eax, 0x39
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x58]
add al, 0x15
xor eax, 0x45
mov byte [ebp - 0x3f], al
mov eax, dword [ebp - 0x58]
add al, 0x16
xor eax, 0x41
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x58]
add al, 0x17
xor eax, 0x35
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x58]
add al, 0x18
xor eax, 0x2d
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x58]
add al, 0x19
xor eax, 0x45
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0x58]
add al, 0x1a
xor eax, 0x37
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x58]
add al, 0x1b
xor eax, 0x38
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x58]
add al, 0x1c
xor eax, 0x38
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x58]
add al, 0x1d
xor eax, 0x44
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x58]
add al, 0x1e
xor eax, 0x31
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x58]
add al, 0x1f
xor eax, 0x36
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x58]
add al, 0x20
xor eax, 0x35
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x58]
add al, 0x21
xor eax, 0x30
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x58]
add al, 0x22
xor eax, 0x30
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x58]
add al, 0x23
xor eax, 0x36
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x58]
add al, 0x24
xor eax, 0x37
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x58]
add al, 0x25
mov byte [ebp - 0x2e], 0
xor eax, 0x7d
xor edx, edx
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x54]
nop dword [eax]
mov al, byte [ebp + edx - 0x54]
mov ecx, dword [ebp - 0x58]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x54], cl
inc edx
cmp edx, 0x26
jb 0x12d9644
lea eax, [ebp - 0x28]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x54]
push eax
call dword [fcn.012dc9e8]
test eax, eax
je 0x12d973e
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [fcn.012dc9ec]
call dword [fcn.012dc958]
push dword [ebp - 0x84]
call dword [fcn.012dc954]
mov dword [ebp - 0x6c], 0xcc67
mov eax, dword [ebp - 0x6c]
xor eax, 0x43
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
inc eax
xor eax, 0x4f
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x6c]
add eax, 2
xor eax, 0x4e
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x6c]
add eax, 3
xor eax, 0x4f
mov word [ebp - 0x62], ax
mov eax, dword [ebp - 0x6c]
add eax, 4
xor eax, 0x55
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x6c]
add eax, 5
xor eax, 0x54
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x6c]
add eax, 6
xor eax, 0x24
mov word [ebp - 0x5c], ax
xor eax, eax
mov word [ebp - 0x5a], ax
xor edx, edx
mov ax, word [ebp - 0x68]
nop dword [eax + eax]
mov ax, word [ebp + edx*2 - 0x68]
mov ecx, dword [ebp - 0x6c]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x68], cx
inc edx
cmp edx, 7
jb 0x12d9704
xor eax, eax
push eax
push eax
push 3
push eax
push eax
mov word [ebp - 0x5a], ax
lea eax, [ebp - 0x68]
push 0x40000000
push eax
call dword [fcn.012dc928]
mov dword [0x12dca00], eax
mov esp, ebp
pop ebp
ret