Function at 0x10004dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d700
mov eax, dword fs:[0]
push eax
sub esp, 0x78c
mov eax, dword [0x10027004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10028664]
mov dword [ebp - 0x784], eax
mov edi, dword [eax + 0xc]
mov eax, dword [0x100283d8]
mov dword [ebp - 0x620], edi
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028520]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ecx
push edi
call eax
mov dword [ebp - 4], 0
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028510]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ecx
call eax
mov edi, eax
lea eax, [ebp - 0x614]
push 0x3fc
push 0
push eax
mov dword [ebp - 0x780], edi
call fcn.10013280
mov eax, dword [0x100283d8]
add esp, 0xc
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028514]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ecx
lea ecx, [ebp - 0x61c]
push ecx
push 0x3fc
lea ecx, [ebp - 0x614]
push ecx
push edi
call eax
xor ecx, ecx
test dword [ebp - 0x61c], 0xfffffffc
mov dword [ebp - 0x77c], ecx
jbe 0x10005467
nop dword [eax]
nop word [eax + eax]
mov edi, dword [ebp + ecx*4 - 0x614]
test edi, edi
je 0x10005467
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028518]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0xc
add eax, ecx
lea ecx, [ebp - 0x764]
push ecx
push edi
push dword [ebp - 0x780]
call eax
test eax, eax
je 0x10005449
mov eax, dword [0x100283d8]
mov edi, dword [ebp - 0x77c]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x100284ec]
mov edi, dword [ebp + edi*4 - 0x614]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0x104
add eax, ecx
lea ecx, [ebp - 0x114]
push ecx
push edi
push dword [ebp - 0x780]
call eax
test eax, eax
je 0x10005449
xor eax, eax
lea ecx, [ebp - 0x114]
cmp byte [ebp - 0x114], al
je 0x10004fee
nop dword [eax]
inc eax
cmp eax, 0x104
jae 0x10004fee
inc ecx
cmp byte [ecx], 0
jne 0x10004fe0
cmp byte [ebp + eax - 0x118], 0x2e
jne 0x10005002
cmp byte [ebp + eax - 0x117], 0x64
je 0x10005038
cmp byte [ebp + eax - 0x117], 0x44
jne 0x10005016
cmp byte [ebp + eax - 0x116], 0x6c
je 0x10005038
cmp byte [ebp + eax - 0x116], 0x4c
jne 0x1000502a
cmp byte [ebp + eax - 0x115], 0x6c
je 0x10005038
cmp byte [ebp + eax - 0x115], 0x4c
jne 0x10005449
push 0x124
call fcn.10011c6d
mov ecx, dword [0x100283dc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x774], esi
add ecx, 0x100
mov dword [esi + 0x120], 0
call ecx
xor ecx, ecx
mov dword [esi], eax
cmp byte [ebp - 0x114], cl
je 0x1000507c
inc ecx
cmp byte [ebp + ecx - 0x114], 0
jne 0x10005071
lea edx, [esi + 4]
mov dword [ebp - 0x770], edx
mov esi, edx
cmp ecx, 0x104
jbe 0x10005098
mov ecx, 0x104
mov edi, ecx
jmp 0x1000509e
mov edi, ecx
test ecx, ecx
je 0x100050c4
lea eax, [ebp - 0x114]
sub eax, edx
mov dword [ebp - 0x778], eax
mov edx, eax
nop
mov al, byte [edx + esi]
lea esi, [esi + 1]
mov byte [esi - 1], al
sub edi, 1
jne 0x100050b0
mov edx, dword [ebp - 0x770]
mov esi, dword [ebp - 0x774]
mov dword [ebp - 0x768], 0
mov byte [ecx + esi + 4], 0
test ecx, ecx
jle 0x10005101
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
xor al, 0x8c
add al, byte [ebp - 0x768]
mov byte [edx - 1], al
mov eax, dword [ebp - 0x768]
inc eax
mov dword [ebp - 0x768], eax
cmp eax, ecx
jl 0x100050e0
mov word [esi + 0x10a], cx
mov eax, dword [ebp - 0x764]
mov dword [esi + 0x10c], eax
mov eax, dword [ebp - 0x760]
mov edi, dword [esi + 0x10c]
mov dword [esi + 0x110], eax
mov eax, dword [0x100283d8]
mov dword [esi + 0x11c], 0
mov dword [ebp - 0x768], edi
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ecx
lea ecx, [ebp - 0x618]
push ecx
push 0x40
push 0x40
push edi
call eax
movups xmm0, xmmword [edi]
mov eax, dword [0x100283d8]
movups xmmword [ebp - 0x660], xmm0
movups xmm0, xmmword [edi + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
movups xmmword [ebp - 0x650], xmm0
movups xmm0, xmmword [edi + 0x20]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
movups xmmword [ebp - 0x640], xmm0
add eax, 0x100
movups xmm0, xmmword [edi + 0x30]
mov edi, dword [ebp - 0x618]
movups xmmword [ebp - 0x798], xmm0
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
push 0
push edi
mov edi, dword [ebp - 0x768]
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0x40
add eax, ecx
push edi
call eax
movups xmm0, xmmword [ebp - 0x798]
psrldq xmm0, 0xc
movd eax, xmm0
add edi, eax
mov eax, dword [0x100283d8]
mov dword [ebp - 0x768], edi
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ecx
lea ecx, [ebp - 0x618]
push ecx
push 0x40
push 0x120
push edi
call eax
mov eax, dword [ebp - 0x768]
mov esi, edi
mov ecx, 0x3e
lea edi, [ebp - 0x758]
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0xf8]
mov edi, dword [ebp - 0x618]
movups xmmword [ebp - 0x798], xmm0
movups xmm0, xmmword [eax + 0x108]
movups xmmword [ebp - 0x638], xmm0
movq xmm0, qword [eax + 0x118]
mov eax, dword [0x100283d8]
movq qword [ebp - 0x628], xmm0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
push 0
push edi
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0x120
push dword [ebp - 0x768]
add eax, ecx
call eax
mov esi, dword [ebp - 0x774]
mov ecx, esi
movups xmm0, xmmword [ebp - 0x798]
movzx eax, word [ebp - 0x752]
psrldq xmm0, 0xc
mov dword [esi + 0x114], eax
movd dword [esi + 0x118], xmm0
call fcn.10005580
mov edx, dword [ebp - 0x784]
mov dword [esi + 0x11c], eax
xor eax, eax
mov dword [ebp - 0x778], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x768], ecx
test ecx, ecx
je 0x1000543c
mov edi, dword [edx + 8]
mov edx, dword [esi + 0x10c]
mov dword [ebp - 0x788], edi
mov dword [ebp - 0x770], edx
nop word [eax + eax]
mov edi, dword [edi + eax*4]
mov esi, 0x103
movzx eax, word [edi + 0x10a]
cmp eax, esi
jae 0x1000535a
mov esi, eax
cmp eax, 1
jb 0x1000539d
lea eax, [edi + 4]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100133e0
add esp, 0xc
mov byte [ebp + esi - 0x218], 0
lea ecx, [ebp - 0x218]
xor edx, edx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
sub al, dl
inc edx
xor al, 0x8c
mov byte [ecx - 1], al
cmp edx, esi
jl 0x10005380
mov ecx, dword [ebp - 0x768]
mov edx, dword [ebp - 0x770]
cmp dword [edi + 0x10c], edx
jne 0x100053fe
xor edi, edi
nop word [eax + eax]
mov cl, byte [ebp + edi - 0x218]
mov al, byte [ebp + edi - 0x114]
cmp cl, al
je 0x100053eb
movsx esi, cl
cmp cl, 0x61
jle 0x100053dd
movsx ecx, al
mov edx, esi
sub edx, ecx
cmp edx, 0x20
je 0x100053ef
mov cl, byte [ebp + edi - 0x218]
cmp al, 0x61
jle 0x100053f2
movsx eax, al
sub eax, esi
cmp eax, 0x20
jne 0x100053f2
test cl, cl
je 0x1000541a
inc edi
jmp 0x100053b0
mov edx, dword [ebp - 0x770]
mov ecx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x778]
inc eax
mov dword [ebp - 0x778], eax
cmp eax, ecx
jae 0x10005430
mov edi, dword [ebp - 0x788]
jmp 0x10005340
mov esi, dword [ebp - 0x774]
push 0x124
push esi
call fcn.10011c9d
add esp, 8
jmp 0x10005449
mov esi, dword [ebp - 0x774]
mov edx, dword [ebp - 0x784]
cmp ecx, dword [edx]
jae 0x10005449
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], esi
inc dword [edx + 4]
mov ecx, dword [ebp - 0x77c]
mov eax, dword [ebp - 0x61c]
inc ecx
shr eax, 2
mov dword [ebp - 0x77c], ecx
cmp ecx, eax
jb 0x10004f10
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x1002865c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esi + 8]
inc dword [ecx + eax - 0x678]
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x620]
test edi, edi
je 0x100054e0
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028524]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
mov eax, dword [esi + 8]
push edi
add eax, ecx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret