Function at 0x10062090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c068
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x100624dd
test cx, cx
je 0x100624dd
cmp dword [esi + 0x34], 0
jg 0x100624dd
mov ecx, dword [esi + 8]
lea edx, [ebp + 0x1c]
call fcn.100170e0
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 0x34]
call fcn.100170e0
mov ebx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1006213b
push 4
push ebx
call edi
test eax, eax
jne 0x1006213b
push eax
mov ecx, ebx
call dword [0x100b0df0]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10062154
push 4
push ebx
call edi
test eax, eax
jne 0x10062154
push eax
mov ecx, ebx
call dword [0x100b0df0]
cmp word [ebp - 0x64], 0xffff
je 0x10062485
cmp word [ebp - 0x68], 0xffff
je 0x10062485
mov bh, 0x3f
mov byte [ebp - 0x50], 0
mov al, 0x4c
mov byte [ebp - 0x58], bh
mov ah, 0x50
mov byte [ebp - 0x50], 0
xor al, bh
xor ah, bh
mov cl, 0x46
mov byte [ebp - 0x57], al
mov dl, 0x52
mov byte [ebp - 0x53], ah
mov ch, 0x53
lea eax, [ebp - 0x57]
mov dh, 0x63
xor cl, bh
xor dl, bh
mov byte [ebp - 0x56], cl
xor ch, bh
mov byte [ebp - 0x55], dl
xor dh, bh
mov byte [ebp - 0x52], ch
mov bl, 0x5d
mov byte [ebp - 0x51], dh
xor bl, bh
lea ecx, [ebp - 0x2c]
push eax
mov edx, 0x100c1f0c
mov byte [ebp - 0x54], bl
call fcn.1000db40
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
test ax, ax
jne 0x10062220
movaps xmm0, xmmword [0x100b1760]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x165c1900
mov word [ebp - 0x70], 0x60a
mov byte [ebp - 0x6e], al
nop dword [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x15
jb 0x100621f0
lea eax, [ebp - 0x83]
mov byte [ebp - 0x6e], 0
push eax
lea ecx, [ebp - 0xe0]
call fcn.10002980
mov ebx, 1
jmp 0x1006228f
cmp dword [ebp - 0x18], 0x10
movaps xmm0, xmmword [0x100b1a40]
cwde
push eax
mov eax, dword [ebp - 0x64]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0xa0], 0x2d
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0xb0], xmm0
nop
mov al, byte [ebp - 0xb0]
xor byte [ebp + ecx - 0xaf], al
inc ecx
cmp ecx, 0x10
jb 0x10062250
sub esp, 0x18
mov byte [ebp - 0x9f], 0
lea eax, [ebp - 0xaf]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0xc8]
push eax
call fcn.10009ac0
add esp, 0x2c
mov ebx, 2
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], ebx
call fcn.10006200
mov dword [ebp - 4], 4
test bl, 2
je 0x100622b8
and ebx, 0xfffffffd
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x48], ebx
call fcn.10002340
mov byte [ebp - 4], 5
test bl, 1
je 0x100622d2
and ebx, 0xfffffffe
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], ebx
call fcn.10002340
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x44]
call fcn.10016df0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10062323
push 4
push eax
call edi
test eax, eax
jne 0x10062323
mov ecx, dword [ebp - 0x4c]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100b0dd0]
mov eax, dword [ebp - 0x6c]
test ax, ax
jne 0x10062391
movaps xmm0, xmmword [0x100b1570]
xor ecx, ecx
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0xd47021b
mov word [ebp - 0x88], 0x1d11
mov byte [ebp - 0x86], al
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x9c]
xor byte [ebp + ecx - 0x9b], al
inc ecx
cmp ecx, 0x15
jb 0x10062360
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x86], 0
push eax
lea ecx, [ebp - 0x110]
call fcn.10002980
or ebx, 4
jmp 0x100623f1
cmp dword [ebp - 0x18], 0x10
movaps xmm0, xmmword [0x100b2140]
cwde
push eax
mov eax, dword [ebp - 0x68]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0x50], 0x66
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x60], xmm0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x100623c0
sub esp, 0x18
mov byte [ebp - 0x4f], 0
lea eax, [ebp - 0x5f]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0xf8]
push eax
call fcn.10009ac0
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x44]
call fcn.1000f1d0
test bl, 8
je 0x1006240d
lea ecx, [ebp - 0xf8]
and ebx, 0xfffffff7
call fcn.10002340
mov dword [ebp - 4], 5
test bl, 4
je 0x10062424
lea ecx, [ebp - 0x110]
call fcn.10002340
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x44]
call fcn.10016df0
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x10062471
push 4
push ebx
call edi
test eax, eax
jne 0x10062471
sub esp, 0x20
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100b0dd0]
lea ecx, [ebp - 0x44]
call fcn.10002340
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10002340
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1006249e
push 4
push ebx
call edi
test eax, eax
jne 0x1006249e
push eax
mov ecx, ebx
call dword [0x100b0d90]
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100624b7
push 4
push ebx
call edi
test eax, eax
jne 0x100624b7
push eax
mov ecx, ebx
call dword [0x100b0d90]
mov al, byte [ebp + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.1004ccf0
mov esi, dword [esi]
test esi, esi
je 0x100624dd
push 4
push esi
call edi
test eax, eax
jne 0x100624dd
push 1
mov ecx, esi
call dword [0x100b0d90]
mov eax, dword [ebp + 0x30]
cmp eax, 0x10
jb 0x100624f2
inc eax
lea ecx, [ebp + 0x1c]
push eax
push dword [ebp + 0x1c]
call fcn.10002760
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
cmp eax, 0x10
jb 0x10062519
inc eax
lea ecx, [ebp + 0x34]
push eax
push dword [ebp + 0x34]
call fcn.10002760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0x44