Function at 0x460246
Capabilities:
Encode data using xor

Disassembly:
push 0x1d4
mov eax, 0x5e4815
call fcn.0046d2ba
mov dword [ebp - 0x1d4], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], edi
call fcn.004917d0
pop ecx
push 2
pop ebx
push ebx
mov dword [ebp - 0x1cc], eax
mov ecx, esi
push edi
lea eax, [ebp - 0x1bc]
push eax
call fcn.0043db70
push 0x10
pop edi
cmp dword [ebp - 0x1a8], edi
lea eax, [ebp - 0x1bc]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x1bc]
push eax
call fcn.00486932
pop ecx
push ebx
mov dword [ebp - 0x1d8], eax
mov ecx, esi
push ebx
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043db70
cmp dword [ebp - 0x190], edi
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], bl
cmovae eax, dword [ebp - 0x1a4]
push eax
call fcn.00486932
pop ecx
push ebx
mov dword [ebp - 0x1c8], eax
mov ecx, esi
push 4
lea eax, [ebp - 0x18c]
push eax
call fcn.0043db70
cmp dword [ebp - 0x178], edi
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x18c]
push eax
call fcn.00486932
pop ecx
push ebx
mov dword [ebp - 0x1c4], eax
mov ecx, esi
push 6
lea eax, [ebp - 0x174]
push eax
call fcn.0043db70
cmp dword [ebp - 0x160], edi
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x174]
push eax
call fcn.00486932
mov esi, eax
pop ecx
mov dword [ebp - 0x1c0], esi
call fcn.00473925
test al, al
je 0x460389
lea ecx, [ebx + ebp*4]
cmp eax, 0xbcc92220
outsb dx, byte [esi]
or dh, byte [0x4b04ee36]
fadd dword [edx]
lahf
les ecx, [eax + 0x7b]
xchg ecx, eax
arpl word [ecx], ax
push esi
mov esi, dword [ebp - 0x1c0]
call fcn.004736fd
test al, al
je 0x4603ab
int1
mov ch, 0x98
lodsd eax, dword [esi]
cli
xor eax, 0x96d3b1ce
cmpsb byte [esi], byte es:[edi]
push ebp
jmp 0x460414
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004830b0
push esi
push dword [ebp - 0x1c4]
lea eax, [ebp - 0x114]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1d8]
push str._02d_02d_02d_02d
push eax
call fcn.00408a60
mov ecx, dword [ebp - 0x1d0]
add esp, 0x24
mov ebx, 0x5e8959
push ebx
call fcn.00406390
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x1dc], 1
call fcn.00406390
push ebx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 5
call fcn.00406390
mov byte [ebp - 4], 6
call fcn.0047337c
test al, al
je 0x460448
movsb byte es:[edi], byte [esi]
invalid
ror ebx, 1
wait
movsd dword es:[edi], dword [esi]
adc dh, byte [edx + 0x39]
xchg edi, eax
imul byte [edi + 0x66]
inc eax
retf
outsd dx, dword [esi]
inc ax
push eax
out 0x89, eax
ja 0x4603e2
arpl word [eax], bp
sub ah, byte [ecx]
out dx, eax
lds esi, [esi + ebx*2 - 0x56]
call fcn.0047355f
test al, al
je 0x460467
lea edi, [edx - 0x6e888022]
jbe 0x4604c2
xor al, 0x85
mov bh, 0x1e
shl ah, 1
jle 0x460459
jg 0x46042f
pushfd
fsub qword ss:[esi + 0x13069e8]
add byte [eax + eax*8 + 0x2c861874], al
cli
call fcn.004734d5
test al, al
je 0x460488
xchg byte [edx + edi*8], ch
retf
call fcn.00473925
test al, al
je 0x4604ab
sbb al, 0xa6
test byte [ebp + 0x55], bh
fstp xword [edi - 0x14]
or cl, byte [eax + 0x9d552e5]
dec edx
call 0xf0f42a07
sbb esp, dword [ebx + 0x60]
dec esi
js 0x460437
mov eax, dword [ebp - 0x1cc]
xor esi, esi
test eax, eax
jle 0x4605fb
test dword [esi + edi*8], esi
invalid
push esi
dec eax
lea ecx, [ebp - 0x15c]
push 0x5e8959
mov dword [ebp - 0x1cc], eax
call fcn.00406060
cmp dword [ebp - 0x11c], 0
mov eax, esi
mov ebx, dword [ebp - 0x1c0]
mov edi, esi
mov dword [ebp - 0x1c4], eax
jbe 0x46059e
jmp [eax + 0x59]
cmp esi, dword [ebp - 0x1c8]
je 0x460549
test eax, eax
je 0x460505
mov eax, edi
cdq
idiv ebx
test edx, edx
je 0x460549
push 1
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0043db70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 8
call fcn.00405d00
push 0
push 1
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 6
call fcn.0040ca30
mov eax, dword [ebp - 0x1c4]
jmp 0x460590
push 1
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0043db70
mov ecx, dword [ebp - 0x1d0]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 7
call fcn.00405d00
push 0
push 1
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 6
call fcn.0040ca30
xor eax, eax
inc eax
xor edi, edi
mov dword [ebp - 0x1c4], eax
inc edi
inc esi
cmp esi, dword [ebp - 0x11c]
jb 0x4604f0
mov ecx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004609b9
push eax
lea ecx, [ebp - 0x12c]
call fcn.00407f40
xor esi, esi
lea ecx, [ebp - 0x144]
xor edi, edi
push esi
inc edi
push edi
call fcn.0040ca30
lea eax, [ebx - 1]
mov dword [ebp - 0x1c8], esi
cmp eax, edi
mov ecx, edi
cmovg ecx, eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c0], ecx
test eax, eax
jg 0x4604bb
jmp 0x4605fe
xor edi, edi
inc edi
push esi
push edi
lea ecx, [ebp - 0x15c]
call fcn.0040ca30
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.0040ca30
push esi
push edi
lea ecx, [ebp - 0x174]
call fcn.0040ca30
push esi
push edi
lea ecx, [ebp - 0x18c]
call fcn.0040ca30
push esi
push edi
lea ecx, [ebp - 0x1a4]
call fcn.0040ca30
push esi
push edi
lea ecx, [ebp - 0x1bc]
call fcn.0040ca30
mov eax, dword [ebp - 0x1d0]
call fcn.0046d264
ret 8