Function at 0x49fde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov byte [ebp - 0x15], 0xd8
mov byte [ebp - 0x21], 0x48
mov dword [ebp - 0x3c], 0xcb1c
mov al, byte [ebp - 0x21]
mov byte [ebp - 0x48], al
cmp byte [ebp - 0x48], 0x3f
je 0x49fe03
jmp 0x49fe1a
push 0xf6
movzx ecx, byte [ebp - 0x21]
push ecx
call fcn.0049f890
add esp, 8
jmp 0x49ffc6
movsx edx, byte [ebp - 0x21]
shl edx, 6
mov byte [ebp - 0x21], dl
movsx eax, byte [ebp - 0x21]
sar eax, 1
mov byte [ebp - 0x21], al
mov dword [ebp - 0x30], 0x2c09
movsx ecx, byte [ebp - 0x21]
or ecx, 0x1f
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x30]
xor edx, 0x1f3f
mov dword [ebp - 0x30], edx
movsx eax, byte [ebp - 0x21]
sub eax, 0x75
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x18
mov dword [ebp - 0x3c], ecx
movsx edx, byte [ebp - 0x21]
add edx, 0x57
mov byte [ebp - 0x21], dl
movsx eax, byte [ebp - 0x21]
and eax, 0x6f
mov byte [ebp - 0x21], al
movsx ecx, byte [ebp - 0x21]
sub ecx, 0x46
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x30]
add edx, 0x7774
mov dword [ebp - 0x30], edx
movsx eax, byte [ebp - 0x21]
add eax, 0x5b
mov byte [ebp - 0x21], al
movsx ecx, byte [ebp - 0x21]
sub ecx, 0x68
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x30]
shl edx, 0x1c
mov dword [ebp - 0x30], edx
movsx eax, byte [ebp - 0x21]
sar eax, 1
mov byte [ebp - 0x21], al
movsx ecx, byte [ebp - 0x21]
or ecx, 0x11
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x30]
xor edx, 0x78f3
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
and eax, 0x584a
mov dword [ebp - 0x30], eax
movsx ecx, byte [ebp - 0x21]
add ecx, 0x56
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x30]
sub edx, 0x51be
mov dword [ebp - 0x30], edx
movsx eax, byte [ebp - 0x21]
sub eax, 0x78
mov byte [ebp - 0x21], al
movsx ecx, byte [ebp - 0x21]
add ecx, 0x43
mov byte [ebp - 0x21], cl
movsx edx, byte [ebp - 0x21]
and edx, 0x66
mov byte [ebp - 0x21], dl
cmp dword [ebp - 0x3c], 0xc9e4
ja 0x49fe1a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
imul ecx, ecx, 0x14
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x2c], 0x9d3b
lea edx, [ebp - 0x15]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x21]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx]
sub eax, 0x25
movzx ecx, byte [ebp - 0x15]
cmp eax, ecx
jge 0x49ff82
mov dword [ebp - 0x44], 0xde10
cmp dword [ebp - 0x2c], 0xaee7
ja 0x49ff82
mov edx, dword [ebp - 0x2c]
add edx, 0x34
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
or ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
movsx edx, byte [eax]
movsx ecx, byte [ebp - 0x21]
sar edx, cl
mov eax, dword [ebp - 4]
mov byte [eax], dl
jmp 0x49ff50
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 0x15]
add edx, eax
mov ecx, dword [ebp - 0x34]
mov byte [ecx], dl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx]
sub ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.COMCTL32.dll_MakeDragList]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, 0x5f
mov byte [ebp - 0x21], cl
movsx edx, byte [ebp - 0x21]
cmp edx, 0x43
jl 0x4a003b
push 0xce
push 0x5d
push 0x2e
push 0x74
push pe_nt_image_headers32
call fcn.0049fa50
movsx eax, byte [ebp - 0x21]
sub eax, 0x41
mov byte [ebp - 0x21], al
mov cl, byte [ebp - 0x21]
mov byte [ebp - 0x4c], cl
cmp byte [ebp - 0x4c], 0x1a
je 0x4a002c
cmp byte [ebp - 0x4c], 0x7a
je 0x4a0002
jmp 0x4a0039
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.COMCTL32.dll_LBItemFromPt]
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp - 0x21]
push edx
push 0xfa
push 0x49
call fcn.00401820
jmp 0x4a0039
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.COMCTL32.dll_MakeDragList]
mov dword [ebp - 0x20], eax
jmp 0x4a0051
movsx ecx, byte [ebp - 0x21]
add ecx, 0x69
cmp ecx, 0x11
jne 0x4a0051
movsx edx, byte [ebp - 0x21]
and edx, 0x47
mov byte [ebp - 0x21], dl
mov eax, 0xab
mov esp, ebp
pop ebp
ret