Function at 0x46c4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x484160
push 0x408890
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x486534]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ecx
mov edi, 7
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
cmp ecx, 0x30
jge 0x46c57c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x46c535
sub edi, 1
mov dword [ebp - 0x20], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c505
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
and esi, eax
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0x19
jl 0x46c585
test esi, esi
jge 0x46c5a5
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x1c], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x46c5ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov edi, 7
mov dword [ebp - 0x28], edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x11
jge 0x46c652
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x46c60b
sub edi, 1
mov dword [ebp - 0x28], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c5db
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 2
mov edi, 7
mov dword [ebp - 0x30], edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 4
jge 0x46c6e1
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x46c69a
sub edi, 1
mov dword [ebp - 0x30], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c66a
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 0xc
jge 0x46c73d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x46c70c
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x46c735
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46c738
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c6f1
mov dword [ebp - 4], 0xfffffffe
call fcn.0046c76c
xor edi, edi
jmp 0x46c750
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x46c776
and esi, edi
jmp 0x46c78c
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp - 0x1c], esi
add edi, 1
cmp edi, 4
jl 0x46c750
xor eax, eax
lea esp, [esp]
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 0xf
jl 0x46c7a0
cmp esi, 0xffff0001
jge 0x46c7bf
lea esi, [esi + esi*2]
mov dword [ebp - 0x1c], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46c7e9
mov esi, 0xb
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 4
mov edi, 7
mov dword [ebp - 0x3c], edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
cmp ecx, 0xb
jge 0x46c871
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x46c82a
sub edi, 1
mov dword [ebp - 0x3c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c7fa
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 5
mov edi, 7
mov dword [ebp - 0x44], edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 9
jge 0x46c900
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x46c8b9
sub edi, 1
mov dword [ebp - 0x44], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x1c], esi
add ecx, 1
jmp 0x46c889
mov dword [ebp - 4], 0xfffffffe
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp - 0x1c], esi
jge 0x46c91c
neg esi
mov dword [ebp - 0x1c], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46c943
xor esi, esi
mov dword [ebp - 0x1c], esi
add ecx, 1
cmp ecx, 4
jl 0x46c910
xor edi, edi
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x46c969
and esi, edi
jmp 0x46c97f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp - 0x1c], esi
add edi, 1
cmp edi, 7
jl 0x46c950
xor eax, eax
lea esp, [esp]
mov ecx, eax
imul esi, ecx
mov dword [ebp - 0x1c], esi
add eax, 1
cmp eax, 2
jl 0x46c990
test esi, esi
jle 0x46c9aa
lea esi, [esi + esi*4]
mov dword [ebp - 0x1c], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x46c9c9
mov esi, 0x11
mov dword [ebp - 0x1c], esi
nop
nop
nop
xor edi, edi
mov edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x46c9e9
and esi, edi
jmp 0x46c9ff
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp - 0x1c], esi
add edi, 1
cmp edi, 4
jl 0x46c9d0
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp ecx, esi
jge 0x46ca31
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
sub ecx, edx
jne 0x46ca54
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], esi
mov ecx, 0x11
mov dword [ebp - 0x1c], ecx
nop
nop
nop
xor eax, eax
and ecx, eax
mov dword [ebp - 0x1c], ecx
add eax, 1
cmp eax, 4
jl 0x46ca64
cmp ecx, esi
jge 0x46ca84
mov eax, ecx
neg eax
add eax, eax
add eax, eax
sub eax, ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov edx, ecx
sub edx, eax
jne 0x46caa9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 6
mov edi, 7
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
cmp esi, 2
jge 0x46cb2f
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x46cae8
sub edi, 1
mov dword [ebp - 0x4c], edi
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
add esi, 1
jmp 0x46cab8
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret