Function at 0x10048e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006367e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x68], ebx
movzx eax, word [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.10007f60
add esp, 4
test eax, eax
je 0x10048eef
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x10048eb3
mov edx, dword [edx]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp byte [edx], 0
jne 0x10048ece
xor ecx, ecx
jmp 0x10048edc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048ed3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.10002800
mov byte [ebp - 4], 1
jmp 0x10048f8d
mov bh, 0x2a
mov byte [ebp - 0x29], 0x28
mov byte [ebp - 0x2f], bh
mov al, 0x61
mov bh, byte [ebp - 0x29]
mov cl, 0x7a
mov byte [ebp - 0x40], 0x14
mov bl, cl
xor bh, byte [ebp - 0x40]
mov dh, bl
xor al, byte [ebp - 0x40]
mov dl, 0x7f
mov byte [ebp - 0x29], bh
mov ah, 0x7b
mov byte [ebp - 0x3f], bh
mov ch, 0x63
mov bh, byte [ebp - 0x2f]
mov byte [ebp - 0x3e], al
mov al, byte [ebp - 0x40]
xor cl, al
mov byte [ebp - 0x36], 0
xor dl, al
mov byte [ebp - 0x3d], cl
xor bl, al
mov byte [ebp - 0x3c], dl
xor ah, al
mov byte [ebp - 0x3b], bl
xor ch, al
mov byte [ebp - 0x3a], ah
xor dh, al
mov byte [ebp - 0x39], ch
xor bh, al
mov byte [ebp - 0x38], dh
cmp byte [ebp - 0x29], 0
mov byte [ebp - 0x37], bh
mov byte [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x10048f69
xor ecx, ecx
jmp 0x10048f79
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048f70
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x24]
call fcn.10013630
mov eax, dword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10048fb7
push 1
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov byte [ebp - 0x29], 0
cmp esi, edi
je 0x100493f6
nop dword [eax]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], ecx
test eax, eax
je 0x100493e8
test cx, cx
je 0x100493e8
push eax
call fcn.10007eb0
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10049195
push 0
lea eax, [ebp - 0x2f]
mov word [ebp - 0x30], 0x44
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002800
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x44]
mov byte [ebp - 4], 3
movzx eax, byte [eax + 4]
push eax
call fcn.10007ef0
add esp, 8
mov dword [ebp - 0x48], eax
test eax, eax
je 0x10049073
cmp dword [eax + 0x48], 0
je 0x10049073
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10009560
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10007d70
lea ecx, [ebp - 0x80]
call fcn.10001840
jmp 0x100490e0
push dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push 0
push dword [ebp - 0x34]
push eax
call fcn.10009560
add esp, 0x10
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x100490c5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100490a8
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x100490e0
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
movzx eax, byte [ebp - 0x29]
lea eax, [eax + eax*2]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + eax*8 + 0x3c]
test eax, eax
je 0x10049171
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000d800
mov ecx, dword [ebp - 0x44]
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x50], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x54], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x58], 0
mov eax, edx
mov edx, dword [ebp - 0x34]
test eax, eax
je 0x1004913f
movsx eax, word [eax + 0x56]
mov dword [ebp - 0x48], eax
movsx eax, word [edx + 0x66]
mov edx, dword [ebp - 0x48]
add edx, eax
jmp 0x10049143
movsx edx, word [edx + 0x66]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x10049171
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.100131b0
mov eax, dword [ebp - 0x44]
push 1
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.10012b10
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100492b6
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
jmp 0x100492b6
mov ecx, dword [ebp - 0x44]
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x100492b6
movzx eax, byte [ebp - 0x29]
lea eax, [eax + eax*2]
cmp dword [ebx + eax*8 + 0x3c], 0
mov dword [ebp - 0x34], eax
mov dword [ebx + eax*8 + 0x28], ecx
je 0x100492a8
movaps xmm0, xmmword [0x1006ba00]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x316b7a6d
mov dword [ebp - 0x4c], 0x6b677b
nop word [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x16
jb 0x100491e0
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x49], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
add eax, 4
push eax
call fcn.1000d800
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10001840
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
cmp dword [eax], 0
je 0x100492a5
movaps xmm0, xmmword [0x1006b9f0]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x673d2c3b
mov dword [ebp - 0x4c], 0x3d312d
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x16
jb 0x10049250
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x49], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.100131b0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10001840
mov eax, dword [ebp - 0x34]
push 0
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.10012b10
add esp, 8
mov eax, dword [ebp - 0x34]
push 2
push dword [ebx + eax*8 + 0x38]
call fcn.10012a70
add esp, 8
mov eax, dword [ebp - 0x64]
mov bh, 0x22
movss xmm1, dword [0x1006b968]
mov dl, 0x10
movzx eax, ax
xor dl, bh
sub esp, 0x20
mov byte [ebp - 0x3d], dl
mov cl, 0xc
mov byte [ebp - 0x38], 0
mov bl, 0x4e
mov byte [ebp - 0x40], bh
movd xmm0, eax
xor cl, bh
cvtdq2ps xmm0, xmm0
mov al, 7
mov byte [ebp - 0x3e], cl
mov ch, al
mov byte [ebp - 0x38], 0
mov dh, ch
mov ah, 0x44
xor dh, bh
xor al, bh
mov byte [ebp - 0x39], dh
xor bl, bh
divss xmm0, xmm1
mov edx, esp
mov byte [ebp - 0x3f], al
xor ah, bh
mov byte [ebp - 0x3c], bl
xor ch, bh
mov byte [ebp - 0x3b], ah
mov byte [ebp - 0x3a], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x64], xmm1
movsd qword [esp + 0x18], xmm0
jb 0x1004933c
mov eax, dword [edx]
jmp 0x1004933e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x1004934b
xor ecx, ecx
jmp 0x1004935a
lea ecx, [ebp - 0x3f]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049351
sub ecx, ebx
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x80]
push eax
call fcn.10031980
movzx ecx, byte [ebp - 0x29]
mov ebx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x48], ecx
push dword [ebx + eax*8 + 0x30]
call fcn.10013630
mov eax, dword [ebp - 0x6c]
add esp, 0x2c
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100493a8
push 1
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x48]
sub esp, 0xc
movss xmm0, dword [ebp - 0x64]
mov dword [esp + 8], 0
lea eax, [eax + eax*2]
mov dword [esp + 4], 0
movss dword [esp], xmm0
push dword [ebx + eax*8 + 0x34]
call fcn.100132d0
mov eax, dword [ebp - 0x48]
push 1
push dword [ebx + eax*4 + 0xc]
call fcn.10012b10
add esp, 0x18
inc byte [ebp - 0x29]
add esi, 8
cmp esi, edi
jne 0x10048fd0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1004940e
mov eax, dword [ebp + 0x14]
sub eax, esi
push 8
sar eax, 3
push eax
push esi
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0x10