Function at 0x100bda04
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x1017e725
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [0x1027c0b4]
cmp dword [edx + 0x518], 0
je case.default.0x100bda3c
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100bd9d9
xor al, al
jmp 0x100bd9ed
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov al, byte [eax]
inc edi
movzx eax, al
mov dword [esi + 8], edi
cmp eax, 5
ja case.default.0x100bda3c
jmp dword [eax*4 + 0x100be254]
mov ecx, dword [esi + 0x18]
lea eax, [edi + 1]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100bda15
xor al, al
jmp 0x100bda29
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov al, byte [eax]
movzx eax, al
inc edi
add eax, 0xfffffffa
mov dword [esi + 8], edi
cmp eax, 3
ja case.default.0x100bda3c
jmp dword [eax*4 + 0x100be26c]
mov ecx, dword [esi + 0x18]
lea eax, [edi + 1]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100bda5a
lea eax, [edi + 1]
xor cl, cl
mov dword [esi + 8], eax
jmp 0x100bda77
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov cl, byte [eax]
inc dword [esi + 8]
cmp cl, 4
ja case.default.0x100bda3c
mov edx, dword [0x1027c0b4]
mov eax, dword [edx + 0x518]
movaps xmm0, xmmword [0x101c2e50]
movups xmmword [ebp + 0x1c], xmm0
mov dword [ebp + 0x3c], 0x78617267
movaps xmm0, xmmword [0x101c2b70]
mov byte [eax + 0x21], cl
xor ecx, ecx
mov dword [eax + 0x18], 0x5a
mov dword [eax + 0x1c], 0
movups xmmword [ebp + 0x2c], xmm0
mov dword [ebp + 0x40], 0x3a6d78
mov al, byte [ebp + 0x1c]
xor byte [ebp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x26
jb 0x100bdab4
push 0xffff4059
lea eax, [ebp + 0x1d]
mov byte [ebp + 0x43], 0
push eax
call fcn.100d7310
jmp case.default.0x100bda3c
mov ecx, dword [esi + 0x18]
lea eax, [edi + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100bdaf0
lea eax, [edi + 4]
mov dword [esi + 8], eax
jmp case.default.0x100bda3c
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov ecx, dword [eax]
add dword [esi + 8], 4
test ecx, ecx
je case.default.0x100bda3c
movaps xmm0, xmmword [0x101c1c30]
push 0xffff00ff
movups xmmword [ebp + 0x4c], xmm0
push ecx
movaps xmm0, xmmword [0x101c1f20]
xor ecx, ecx
movups xmmword [ebp + 0x5c], xmm0
mov dword [ebp + 0x6c], 0x11175602
mov dword [ebp + 0x70], 0x181f17
mov al, byte [ebp + 0x4c]
xor byte [ebp + ecx + 0x4d], al
inc ecx
cmp ecx, 0x26
jb 0x100bdb33
sub esp, 0x1c
mov byte [ebp + 0x73], 0
lea eax, [ebp + 0x4d]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp + 0x28]
push eax
call fcn.10049e30
add esp, 0x24
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100bdb70
mov ecx, dword [ecx]
push ecx
call fcn.100d7310
lea ecx, [ebp + 0x28]
call fcn.10043e40
mov eax, dword [ebp + 0x40]
cmp eax, 0x10
jb 0x100bdb93
inc eax
push eax
push dword [ebp + 0x2c]
call fcn.10048530
add esp, 8
mov eax, dword [ebp + 0x28]
push 8
push eax
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0xf
mov byte [ebp + 0x2c], 0
mov dword [ebp + 0x28], 0
call fcn.10048530
add esp, 8
jmp case.default.0x100bda3c
movaps xmm0, xmmword [0x101c2990]
xor ecx, ecx
movups xmmword [ebp + 0x44], xmm0
mov word [ebp + 0x74], 0x134e
movaps xmm0, xmmword [0x101c2630]
movups xmmword [ebp + 0x54], xmm0
mov byte [ebp + 0x76], 0
movaps xmm0, xmmword [0x101c2780]
movups xmmword [ebp + 0x64], xmm0
nop dword [eax]
mov al, byte [ebp + 0x44]
xor byte [ebp + ecx + 0x45], al
inc ecx
cmp ecx, 0x31
jb 0x100bdbf0
push 0xffff00ff
lea eax, [ebp + 0x45]
mov byte [ebp + 0x76], 0
push eax
call fcn.100d7310
jmp case.default.0x100bda3c
movaps xmm0, xmmword [0x101c2730]
xor ecx, ecx
movups xmmword [ebp + 0x48], xmm0
mov dword [ebp + 0x68], 0x5e554255
movaps xmm0, xmmword [0x101c2840]
movups xmmword [ebp + 0x58], xmm0
mov dword [ebp + 0x6c], 0x5c531044
mov dword [ebp + 0x70], 0x1e434351
mov byte [ebp + 0x74], 0
mov al, byte [ebp + 0x48]
xor byte [ebp + ecx + 0x49], al
inc ecx
cmp ecx, 0x2b
jb 0x100bdc45
push 0xffff00ff
lea eax, [ebp + 0x49]
mov byte [ebp + 0x74], 0
push eax
call fcn.100d7310
jmp case.default.0x100bda3c
mov ecx, dword [esi + 0x18]
lea eax, [edi + 1]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100bdc7a
xor al, al
jmp 0x100bdc88
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov al, byte [eax]
inc edi
movzx eax, al
mov dword [esi + 8], edi
sub eax, 6
je 0x100bdde4
sub eax, 1
je 0x100bdd04
sub eax, 3
jne case.default.0x100bda3c
movaps xmm0, xmmword [0x101c2170]
xor ecx, ecx
movups xmmword [ebp + 0x48], xmm0
mov dword [ebp + 0x68], 0x30273033
movaps xmm0, xmmword [0x101c2220]
movups xmmword [ebp + 0x58], xmm0
mov dword [ebp + 0x6c], 0x3b75213b
mov dword [ebp + 0x70], 0x3a3c2134
mov word [ebp + 0x74], 0x7b3b
mov byte [ebp + 0x76], al
nop dword [eax]
mov al, byte [ebp + 0x48]
xor byte [ebp + ecx + 0x49], al
inc ecx
cmp ecx, 0x2d
jb 0x100bdce0
push 0xffff00ff
lea eax, [ebp + 0x49]
mov byte [ebp + 0x76], 0
push eax
call fcn.100d7310
jmp case.default.0x100bda3c
mov ecx, dword [esi + 0x18]
lea eax, [edi + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
ja 0x100bdae5
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov ecx, dword [eax]
add dword [esi + 8], 4
test ecx, ecx
je case.default.0x100bda3c
movaps xmm0, xmmword [0x101c2110]
push 0xffff00ff
movups xmmword [ebp + 0x4c], xmm0
push ecx
movaps xmm0, xmmword [0x101c1fa0]
xor ecx, ecx
movups xmmword [ebp + 0x5c], xmm0
mov dword [ebp + 0x6c], 0x2a2c6d39
mov dword [ebp + 0x70], 0x23242c
mov al, byte [ebp + 0x4c]
xor byte [ebp + ecx + 0x4d], al
inc ecx
cmp ecx, 0x26
jb 0x100bdd58
sub esp, 0x1c
mov byte [ebp + 0x73], 0
lea eax, [ebp + 0x4d]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp]
push eax
call fcn.10049e30
add esp, 0x24
mov dword [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100bdd95
mov ecx, dword [ecx]
push ecx
call fcn.100d7310
lea ecx, [ebp]
call fcn.10043e40
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x100bddb8
inc eax
push eax
push dword [ebp + 4]
call fcn.10048530
add esp, 8
mov eax, dword [ebp]
push 8
push eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov dword [ebp], 0
call fcn.10048530
add esp, 8
jmp case.default.0x100bda3c
movaps xmm0, xmmword [0x101c1b20]
xor ecx, ecx
movups xmmword [ebp + 0x4c], xmm0
mov dword [ebp + 0x6c], 0x15061313
movaps xmm0, xmmword [0x101c18d0]
movups xmmword [ebp + 0x5c], xmm0
mov dword [ebp + 0x70], 0x4e190c0c
mov byte [ebp + 0x74], 0
nop
mov al, byte [ebp + 0x4c]
xor byte [ebp + ecx + 0x4d], al
inc ecx
cmp ecx, 0x27
jb 0x100bde10
push 0xffff4059
lea eax, [ebp + 0x4d]
mov byte [ebp + 0x74], 0
push eax
call fcn.100d7310
jmp case.default.0x100bda3c
mov ecx, dword [esi + 0x18]
lea eax, [edi + 1]
sub ecx, dword [esi + 0x14]
lea ebx, [edx + 0x538]
cmp eax, ecx
jbe 0x100bde4b
xor cl, cl
jmp 0x100bde5f
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov cl, byte [eax]
lea eax, [edi + 1]
test cl, cl
mov dword [esi + 8], eax
setg al
mov byte [ebx], al
lea ebx, [edx + 0x539]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100bde86
xor cl, cl
jmp 0x100bde9a
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov cl, byte [eax]
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov byte [ebx], cl
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x18]
mov ecx, edi
mov eax, dword [esi + 0x14]
sub ecx, eax
mov dword [ebp - 0x10], eax
lea eax, [ebx + 4]
cmp eax, ecx
jbe 0x100bdec5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
jmp 0x100bdee2
push ebx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x18]
mov edx, dword [0x1027c0b4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 4]
sub edi, eax
lea eax, [ecx + 2]
mov dword [esi + 8], ecx
lea ebx, [edx + 0x53a]
cmp eax, edi
jbe 0x100bdefb
xor edi, edi
jmp 0x100bdf10
push ecx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov ecx, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx edi, word [eax]
lea eax, [ecx + 2]
mov dword [esi + 8], eax
mov word [ebx], di
lea ebx, [edx + 0x53c]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x100bdf33
xor ecx, ecx
jmp 0x100bdf48
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
mov word [ebx], cx
lea ebx, [edx + 0x540]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x100bdf6b
xor ecx, ecx
jmp 0x100bdf80
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
mov word [ebx], cx
lea ebx, [edx + 0x53e]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x100bdfa3
xor ecx, ecx
jmp 0x100bdfb8
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
mov word [ebx], cx
mov eax, dword [edx + 0x518]
mov byte [eax + 0xa], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x518]
mov dword [edx + 0x548], eax
mov dword [edx + 0x54c], 0
call fcn.10051650
mov ecx, dword [0x1027c0b4]
cmp byte [ecx + 0x538], 0
jne case.default.0x100bda3c
mov ecx, dword [ecx + 0x518]
call fcn.100511e0
jmp case.default.0x100bda3c
mov ecx, dword [esi + 0x18]
lea eax, [edi + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100be01d
xor ebx, ebx
jmp 0x100be031
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov ebx, dword [eax]
lea eax, [edi + 4]
mov dword [esi + 8], eax
mov ecx, dword [edx + 0x518]
cmp byte [ecx + 0xa], 0
jne 0x100be04d
mov byte [ecx + 0xa], 1
mov ecx, dword [edx + 0x518]
mov dword [edx + 0x548], ebx
mov dword [edx + 0x54c], 0
call fcn.100511e0
mov eax, dword [0x1027c0b4]
mov esi, dword [eax + 0x518]
push dword [esi + 4]
call fcn.100d34d0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100be084
push 1
call dword [0x101ba7a0]
mov byte [esi + 0x20], 0
jmp case.default.0x100bda3c
mov eax, dword [edx + 0x518]
xor ecx, ecx
mov dword [edx + 0x538], 0xff00
mov dword [edx + 0x53e], ecx
mov word [edx + 0x53c], cx
mov dword [edx + 0x550], ecx
mov dword [edx + 0x554], ecx
mov dword [edx + 0x548], ecx
mov dword [edx + 0x54c], ecx
mov word [eax + 8], cx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov esi, dword [edx + 0x518]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100be0e9
push 0
call dword [0x101ba7a0]
mov edx, dword [0x1027c0b4]
mov byte [esi + 0x20], 1
mov ecx, dword [edx + 0x4e0]
test ecx, ecx
je case.default.0x100bda3c
mov ecx, dword [ecx + 0x68]
test ecx, ecx
je case.default.0x100bda3c
cmp byte [ecx + 0x10d], 0
je case.default.0x100bda3c
push 0
call dword [0x101ba7a0]
jmp case.default.0x100bda3c
mov ebx, dword [esi + 0x18]
lea eax, [edi + 1]
mov ecx, ebx
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100be138
inc edi
mov dword [esi + 8], edi
mov ecx, dword [esi + 0x14]
jmp 0x100be15a
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x18]
inc edi
mov ecx, dword [esi + 0x14]
mov al, byte [eax]
mov edx, dword [0x1027c0b4]
mov dword [esi + 8], edi
test al, al
jne 0x100be1ab
lea eax, [edx + 0x53a]
sub ebx, ecx
mov dword [ebp - 0x10], eax
lea eax, [edi + 2]
cmp eax, ebx
jbe 0x100be170
xor ecx, ecx
jmp 0x100be185
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
lea ebx, [edx + 0x53c]
mov eax, dword [ebp - 0x10]
mov word [eax], cx
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x100be1fc
xor ecx, ecx
jmp 0x100be211
lea eax, [edx + 0x53e]
sub ebx, ecx
mov dword [ebp - 0x10], eax
lea eax, [edi + 2]
cmp eax, ebx
jbe 0x100be1c1
xor ecx, ecx
jmp 0x100be1d6
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
lea ebx, [edx + 0x540]
mov eax, dword [ebp - 0x10]
mov word [eax], cx
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x100be1fc
xor ecx, ecx
jmp 0x100be211
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [0x1027c0b4]
mov edi, dword [esi + 8]
movzx ecx, word [eax]
lea eax, [edi + 2]
mov dword [esi + 8], eax
mov word [ebx], cx
mov ecx, dword [edx + 0x518]
test ecx, ecx
je case.default.0x100bda3c
cmp byte [ecx + 8], 0
je case.default.0x100bda3c
cmp byte [ecx + 9], 0
jne case.default.0x100bda3c
call fcn.10051340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.1011f880
lea esp, [ebp + 0x7c]
pop ebp
ret