Function at 0x4e389a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c17e0
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0xc4]
mov esi, dword [ebp + 8]
push edx
mov dword [ebp - 0xac], esi
mov eax, dword [ecx]
mov dword [ebp - 0xa4], ecx
mov eax, dword [eax + 0x38]
call eax
mov ecx, esi
xor edi, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0xa8], eax
call fcn.004b4bc0
cmp eax, 0xb
jne 0x4e369c
mov ecx, esi
call fcn.00522090
test al, al
je 0x4e369c
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2310
mov ecx, eax
mov dword [ebp - 0xa0], eax
call fcn.004b23f0
test al, al
je 0x4e369c
push esi
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x60]
call fcn.004bec60
push esi
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], edi
call fcn.004bec60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005222e0
mov ecx, esi
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xa8], eax
call fcn.005222e0
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax + 0x20]
add eax, 0x38
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x60]
push eax
call fcn.004b2450
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
push eax
call fcn.004b24c0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004b0620
test al, al
jne 0x4e3674
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xa8]
call fcn.004e63b0
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xa4]
call fcn.004e65e0
add esp, 0x10
mov dword [ebp - 0xac], 0
lea ecx, [eax + 2]
add ecx, esi
mov eax, ecx
or eax, 1
bsr eax, eax
je 0x4e3645
lea eax, [eax + eax*8]
add eax, 0x49
jmp 0x4e364a
mov eax, 0x40
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x54]
add edi, eax
lea eax, [ebp - 0x60]
push eax
call fcn.004b2330
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004b0620
test al, al
je 0x4e3601
cmp dword [ebp - 0x70], 9
jne 0x4e3685
lea ecx, [ebp - 0x88]
call fcn.00407ac0
cmp dword [ebp - 0x38], 9
jne case.default.0x4e3702
lea ecx, [ebp - 0x50]
call fcn.00407ac0
jmp case.default.0x4e3702
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e36b9
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c1530
jmp 0x4e36ef
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x33], 0
je 0x4e36d1
mov dword [ebp - 0x9c], 1
jmp 0x4e36f5
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c3bc0
test al, al
mov ecx, 1
mov eax, edi
cmovne eax, ecx
mov dword [ebp - 0x9c], eax
mov ecx, esi
call fcn.004b4bc0
dec eax
cmp eax, 0x11
ja case.default.0x4e3702
jmp dword [eax*4 + 0x4e3d8c]
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3759
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2ba0
cdq
push edx
push eax
call fcn.004e7670
add edi, eax
add esp, 8
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3722
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2120
cdq
push edx
push eax
call fcn.004e7670
add esp, 8
mov edi, eax
mov eax, edi
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.004830fa
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e37e6
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
nop
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2c30
push edx
push eax
call fcn.004e7670
add edi, eax
add esp, 8
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e37b0
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2230
jmp 0x4e376c
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e387a
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
nop word [eax + eax]
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2ba0
mov ecx, eax
mov dword [ebp - 0xac], 0
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
je 0x4e3856
lea eax, [eax + eax*8]
add eax, 0x49
jmp 0x4e385b
mov eax, 0x40
shr eax, 6
add edi, eax
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3820
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2120
push eax
call fcn.004e6a80
add esp, 4
jmp 0x4e3776
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e390a
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2c30
mov esi, edx
mov ecx, edx
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
sar esi, 0x1f
xor ecx, edx
xor esi, eax
push ecx
push esi
call fcn.004e7670
mov esi, dword [ebp - 0xac]
add edi, eax
mov eax, dword [ebp - 0xa0]
add esp, 8
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e38b7
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2230
push edx
push eax
call fcn.004e6ad0
jmp 0x4e3773
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3996
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2f10
or eax, 1
mov dword [ebp - 0xac], 0
bsr eax, eax
je 0x4e3972
lea eax, [eax + eax*8]
add eax, 0x49
jmp 0x4e3977
mov eax, 0x40
shr eax, 6
add edi, eax
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3945
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c33b0
push eax
call fcn.00433c30
add esp, 4
jmp 0x4e3776
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3a0c
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2ff0
push edx
push eax
call fcn.004e7670
add edi, eax
add esp, 8
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e39d3
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c3470
jmp 0x4e376c
mov eax, dword [ebp - 0x9c]
lea edi, [eax*4]
jmp case.default.0x4e3702
mov eax, dword [ebp - 0x9c]
lea edi, [eax*8]
jmp case.default.0x4e3702
mov edi, dword [ebp - 0x9c]
jmp case.default.0x4e3702
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3aa8
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
nop
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2d00
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
add edi, eax
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3a70
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push 0
push esi
push dword [ebp - 0xa4]
call fcn.004c2380
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
jmp 0x4e3776
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3b4a
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2d00
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov edx, eax
mov dword [ebp - 0xac], 0
mov ecx, edx
or ecx, 1
bsr ecx, ecx
je 0x4e3b24
lea eax, [ecx*8 + 0x49]
add eax, ecx
jmp 0x4e3b29
mov eax, 0x40
shr eax, 6
add eax, edx
add edi, eax
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3ae7
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push 0
push esi
push dword [ebp - 0xa4]
call fcn.004c2380
push eax
call fcn.004decd0
add esp, 4
jmp 0x4e3776
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4e3bcd
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], eax
jbe case.default.0x4e3702
nop dword [eax]
mov ecx, dword [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call fcn.004c2990
mov eax, dword [eax + 4]
cdq
push edx
push eax
call fcn.004e7670
add edi, eax
add esp, 8
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0x9c]
jb 0x4e3b90
jmp case.default.0x4e3702
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c1ce0
mov eax, dword [eax + 4]
jmp 0x4e376b
push esi
call fcn.004bcd60
add esp, 4
cmp eax, 1
jne 0x4e3c9c
cmp dword [ebp - 0x9c], edi
jbe case.default.0x4e3702
nop word [eax + eax]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xbc]
push esi
push dword [ebp - 0xa4]
push eax
call fcn.004c1910
mov al, byte [ebp - 0xbc]
mov dl, al
and dl, 1
je 0x4e3c40
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
jmp 0x4e3c45
movsx ecx, al
shr ecx, 1
mov eax, ecx
mov dword [ebp - 0xac], 0
or eax, 1
bsr eax, eax
je 0x4e3c61
lea eax, [eax + eax*8]
add eax, 0x49
jmp 0x4e3c66
mov eax, 0x40
shr eax, 6
add eax, ecx
add edi, eax
mov dword [ebp - 4], 2
test dl, dl
je 0x4e3c83
lea ecx, [ebp - 0xbc]
call fcn.00579050
sub dword [ebp - 0x9c], 1
mov dword [ebp - 4], 0xffffffff
jne 0x4e3c10
jmp case.default.0x4e3702
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0x9c], ecx
jbe case.default.0x4e3702
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov al, byte [esi + 1]
and al, 0x60
mov dword [ebp - 4], 3
cmp al, 0x60
lea eax, [ebp - 0x28]
push eax
jne 0x4e3cf2
push ecx
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c2e80
jmp 0x4e3d04
mov ecx, dword [ebp - 0xa8]
push esi
push dword [ebp - 0xa4]
call fcn.004c3260
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov dword [ebp - 0xac], 0
bsr eax, eax
je 0x4e3d23
lea eax, [eax + eax*8]
add eax, 0x49
jmp 0x4e3d28
mov eax, 0x40
shr eax, 6
add eax, ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add edi, eax
cmp ecx, 0xf
jbe 0x4e3d66
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e3d5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e3d84
push ecx
push edx
call fcn.0048335e
add esp, 8
mov ecx, dword [ebp - 0xa0]
inc ecx
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [ebp - 0x9c]
jb 0x4e3cb0
jmp case.default.0x4e3702
call fcn.0059539e
nop dword [eax]
xor eax, 0x23004e3a
cmp cl, byte [esi]
xchg ebp, eax
aaa
dec esi
add byte [esi + 0x9004e39], dh
aaa
dec esi
add byte [0x23004e3a], dh
cmp cl, byte [esi]
inc edi
cmp cl, byte [esi]
out 0x3b, eax
dec esi
add byte [edx + 0x3a], dl
dec esi
add dl, cl
cmp cl, byte [esi]
out 0x3b, eax
dec esi
add byte [eax], ch
cmp dword [esi], ecx
insb byte es:[edi], dx
cmp ecx, dword [esi]
and edi, dword [edx]
dec esi
add byte [0xfd004e3a], dh
aaa
dec esi
add byte [edx - 0x33ffb1c8], bl
int3